On Tue, Jan 12, 2010 at 9:46 AM, Adam Glauser <span dir="ltr"><<a href="mailto:adamglauser@gmail.com">adamglauser@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Khalid Baheyeldin wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The fact that it works on the file system level also has advantages. You<br>
can restore a partition EXACTLY to what it was before. This means<br>
timestamps, ownerships, access times, ...etc.<br>
</blockquote>
<br></div>
Is the main advantage over using --archive with rsync that the backup can reside on a filesystem that does not support all the features of the source filesystem?</blockquote><div><br>Rsync as most people use it is not real backup. You have only one copy on another machine (which is good), but you don't have versions. You just have the latest sync point in there.<br>
<br>Rsync here is like RAID, it protects from one thing only (disk failure in case of RAID, and machine failure in case of rsync). What they do not protect against, is user error, e.g. someone deletes a file by mistake then realizes it a week after, or an application bug corrupts data and you realize that after 4 days.<br>
<br>With Rsync and RAID, you are out of luck. If you have real versioned backup you can go back and retrieve your file from the older backup.<br><br>I have had a few instances of "oops!" and had to go to backup and found what I deleted in it. Rsync and RAID do not provide that.<br>
<br>I am not saying that dump is the only such program. If you write a script to do tar or cpio archives to another machine, then you have versioned backups. But with dump you can do incremental and between the full and (say) a 6 incremental, you can go back and get anything from backup. If you leave a monthly or quarterly full then you are better too.<br>
<br>This is why I linked to the Tao of Backup because it explains what backups should be. RAID and rsync do not do everything proper backup does.<br>-- <br></div></div>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>