rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] where is --change-source-perms ?


From: Ben Escoto
Subject: Re: [rdiff-backup-users] where is --change-source-perms ?
Date: Tue, 9 Sep 2003 11:11:05 -0700

On Tue, 9 Sep 2003 09:29:25 -0700 Alan <address@hidden> wrote:
> Not sure where I saw --change-source-perms, but I figured it was the
> right way to fix the problem that one of the dirs I'm backing up seems
> to have the perms set as 000 (no clue why) which of course causes no end
> of problems in the actual backup.  So I threw that in my backup script
> but it's not supported anymore!  I couldn't find what looked like an
> equivelant option, so I was wondering if this option had dissapeared,
> been replaced, made to "just work" in a version later than what I'm
> using (12.3)....

The backup should just skip any unreadable directories (so a 0
directory won't be backed up, but shouldn't mess anything else up
either).  The --change-source-perms option was removed because it
wasn't error-safe:  if an rdiff-backup session failed right after the
permissions on a source directory were changed, they could stay that
way permanently (after all, even if rdiff-backup tried to change them
back the next session, who's to say that the user or another process
had intentionally switched them in the meantime?).  So anyway, it
seemed to conflict with the idea that a backup program really
shouldn't be destroying the source data.  (High standards eh?)

> Also, are there any specific return codes for rdiff-backup?  I'm
> guessing that 0 == success and 1 == fail, but there were no mention of
> it in the man page.

Yes, 0 vs non-zero (usually, but not necessarily 1).  Adding to man
page now.


-- 
Ben Escoto

Attachment: pgpLrsV30I9PY.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]