filesystem backup (was: Resizing an LVM
Tony Nelson
tonynelson at georgeanelson.com
Mon Jun 4 02:22:49 UTC 2007
At 7:55 PM -0300 6/3/07, Sebastian Gurovich wrote:
>What is the best way to backup a file system like that with DVDs?
>Later will ask the list.
There are many backup solutions. Some take lots of setup. Myself, I've
used tar and dump. Be aware that compression makes the backup "brittle",
so that a single error can ruin it. Tar and dump have options to set the
tape length; I use "4590200". I do backups with two windows. In the first:
tar -clf /tmp/dvd -ML 4590200 /boot /etc /root /home /var/www
or:
dump -0u -L my15charlabel -b 32 -B 4590200 -f /tmp/dvd /mnt/filesystem
in the second, when the first pauses:
growisofs -dvd-compat -Z /dev/dvd=/tmp/dvd
There may be slicker ways to do it. Note that for dump I like to boot from
CD and work on an unmounted filesystem. For tar I do a selective backup.
Others like to use a USB disk drive, and just copy the files over, often
with rsync if they do it repeatedly.
--
____________________________________________________________________
TonyN.:' <mailto:tonynelson at georgeanelson.com>
' <http://www.georgeanelson.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20070603/e332cc9f/attachment-0002.html
More information about the users
mailing list