Skip to content

Commit 16532b3

Browse files
author
Sam Kleinman
committed
DOCS-1296 correcting file extensions
1 parent 4d90306 commit 16532b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/tutorial/backup-databases-with-filesystem-snapshots.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ archives the data from the snapshot:
177177
.. code-block:: sh
178178

179179
umount /dev/vg0/mdb-snap01
180-
dd if=/dev/vg0/mdb-snap01 | gzip > mdb-snap01.tar.gz
180+
dd if=/dev/vg0/mdb-snap01 | gzip > mdb-snap01.gz
181181

182182
The above command sequence does the following:
183183

@@ -204,7 +204,7 @@ sequence of commands:
204204
.. code-block:: sh
205205

206206
lvcreate --size 1G --name mdb-new vg0
207-
gzip -d -c mdb-snap01.tar.gz | dd of=/dev/vg0/mdb-new
207+
gzip -d -c mdb-snap01.gz | dd of=/dev/vg0/mdb-new
208208
mount /dev/vg0/mdb-new /srv/mongodb
209209

210210
The above sequence does the following:
@@ -266,9 +266,9 @@ Consider the following procedure:
266266
.. code-block:: sh
267267

268268
umount /dev/vg0/mdb-snap01
269-
dd if=/dev/vg0/mdb-snap01 | ssh [email protected] gzip > /opt/backup/mdb-snap01.tar.gz
269+
dd if=/dev/vg0/mdb-snap01 | ssh [email protected] gzip > /opt/backup/mdb-snap01.gz
270270
lvcreate --size 1G --name mdb-new vg0
271-
ssh [email protected] gzip -d -c /opt/backup/mdb-snap01.tar.gz | dd of=/dev/vg0/mdb-new
271+
ssh [email protected] gzip -d -c /opt/backup/mdb-snap01.gz | dd of=/dev/vg0/mdb-new
272272
mount /dev/vg0/mdb-new /srv/mongodb
273273

274274
.. _backup-without-journaling:

0 commit comments

Comments
 (0)