Dump is a very old utility, yet very useful.<br><br>It works at the filesystem level, so if you have multiple filesystems, <br>you have to backup each one separately. It is also filesystem type<br>specific (e.g. and ext2/3 backup is different from an XFS backup).<br>
<br>Here is how to use it, briefly:<br><br>Assume that /dev/sda1 is mounted as /, and it is the file system that<br>you want to backup. Also assume that /mnt/backup is /dev/sdb1 and <br>it is the backup drive.<br><br>Daily incremental backup<br>
<br>/sbin/dump -1 -u -f /mnt/backup/incremental.`date +%w` /<br>
<br>So, we end up with incremental.Mon, incremental.Tue, ...etc. for each <br>day of the week.<br><br>Full backup (say weekly, on a Sunday):<br>
<br>
/sbin/dump -0 -u -f /mnt/backup/full.1 /<br>
<br>
Next week, the daily incremental will overwrite the oldest daily incremental<br>automatically.<br><br>To restore, or read the content of the backup, use the "restore" command.<br><br>More on these links:<br><br>
<a href="http://www.nethamilton.net/docs/dump.html">http://www.nethamilton.net/docs/dump.html</a><br><br><a href="http://surf.st.seikei.ac.jp/~nakano/dump-restore/dump-restore-mini-HOWTO.en.html">http://surf.st.seikei.ac.jp/~nakano/dump-restore/dump-restore-mini-HOWTO.en.html</a><br>
-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>