<!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.&nbsp; Some take lots of
setup.&nbsp; Myself, I've used tar and dump.&nbsp; Be aware that
compression makes the backup &quot;brittle&quot;, so that a single
error can ruin it.&nbsp; Tar and dump have options to set the tape
length; I use &quot;4590200&quot;.&nbsp; I do backups with two
windows.&nbsp; In the first:</div>
<div><br></div>
<div>&nbsp;&nbsp;&nbsp; tar -clf /tmp/dvd -ML 4590200 /boot /etc
/root /home /var/www</div>
<div><br></div>
<div>or:</div>
<div><br></div>
<div>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp; growisofs -dvd-compat -Z
/dev/dvd=/tmp/dvd</div>
<div><br></div>
<div>There may be slicker ways to do it.&nbsp; Note that for dump I
like to boot from CD and work on an unmounted filesystem.&nbsp; 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.:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;
&lt;mailto:tonynelson@georgeanelson.com&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;http://www.georgeanelson.com/&gt;</div>
</body>
</html>