<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
--></style><title>Re:filesystem backup (was: Resizing an
LVM</title></head><body>
<div>At 7:55 PM -0300 6/3/07, Sebastian Gurovich wrote:</div>
<blockquote type="cite" cite>What is the best way to backup a file
system like that with DVDs?</blockquote>
<blockquote type="cite" cite>Later will ask the list.</blockquote>
<div><br></div>
<div>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:</div>
<div><br></div>
<div> tar -clf /tmp/dvd -ML 4590200 /boot /etc
/root /home /var/www</div>
<div><br></div>
<div>or:</div>
<div><br></div>
<div> dump -0u -L my15charlabel -b 32 -B 4590200 -f
/tmp/dvd /mnt/filesystem</div>
<div><br></div>
<div>in the second, when the first pauses:</div>
<div><br></div>
<div> growisofs -dvd-compat -Z
/dev/dvd=/tmp/dvd</div>
<div><br></div>
<div>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.</div>
<div><br></div>
<div>Others like to use a USB disk drive, and just copy the files
over, often with rsync if they do it repeatedly.</div>
<div>-- <br>
_________________________________________<span
></span>___________________________<br>
TonyN.:' <span
></span
> <span
></span>
<mailto:tonynelson@georgeanelson.com><br>
' <span
></span
> <span
></span>
<http://www.georgeanelson.com/></div>
</body>
</html>