backup problem

H.S. hs.samix at gmail.com
Wed Mar 18 16:01:00 UTC 2009


Robert Parker wrote:
> On Wed, Mar 18, 2009 at 7:39 PM, Ray Leventhal <ubuntu at swhi.net> wrote:
>> For CLI, I've always preferred rsync as a snapshot backup util.  Using
>> the -av and --delete flags allows you to backup /source to /target.  The
>> first run is long if you've a lot of data to backup, but subsequent runs
>> only backup the changed files, deleting on the /target any files which
>> no longer exist on the source.
> 
> That is not a backup it's a mirror. As a direct consequence of doing
> what you advocate above any accidental removal of a file from your
> source will remove it from your backup. That's hardly what is needed
> of a backup.
> 
> Bob

Well, it depends on how you look at it and how you implement it. In my
case, I have two scripts. One does a backup every few hours in a day
using rsync and the "-delete" flag. Then each day, another script backs
up the most recent hourly backup using rsync. These are my rolling
backup. I do this for as many days as I want. For now, I think I have
for a few weeks.


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.





More information about the ubuntu-users mailing list