SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
SOME ONE PLEASE HELP ME!! WHAT SHOULD I DO!?!
Author Message
Post SOME ONE PLEASE HELP ME!! WHAT SHOULD I DO!?! 
Robert Yoon <robertyoon < at > yahoo.com>
wrote the following on Mon, 19 Apr 2004 17:14:11 -0700 (PDT)

In regards to the failures of backups. If the backups
fail, is there any way to recover, so that crond jobs
succeed every time, vs me having to monitor if the
backups succeed everyday?

Yes, in theory the next backup event will see that the previous backup
failed, check the destination for errors and fix them, and then
successfully complete the new backup.

(Although judging from mailing lists posts, this procedure doesn't
always work.)

If the backups fail, does it error out in bash to 1, so that it
knows that the backup failed?

Yes, or at least non-zero exit code.

I wanted to script it so that if it errors out, to remove the
rdiff-data-backup directory from that directory, and retry the
backup. Any one out there run into these types of issues?

Also I have another question, If it errors out and I
remove the rdiff-backup-directory, I think I would
have to use the --force option to write into the same
directory again correct?

Yes.

If i do this, does rdiff essentially run incrementals against the
destination directory? Or does it overwrite everything again?

You mean rdiff-backup? Yes, it shouldn't need to transfer all the
information, and can tell that only some bits need to be changed.


--
Ben Escoto

Post SOME ONE PLEASE HELP ME!! WHAT SHOULD I DO!?! 
Robert Yoon <robertyoon < at > yahoo.com>
wrote the following on Tue, 20 Apr 2004 10:46:52 -0700 (PDT)

The only real issue with that is what if /home/dir1 no longer
exists, whenever I run an rdiff-backup --remove-older-than 2w
/home/dir1 does that remove all the files within that directory
(assuming all it contents are older than 2 weeks old?)

--remove-older-than only deletes increments, never the original mirror
files.


--
Ben Escoto

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB