[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [rdiff-backup-users] rdiff-backup completes without errors, but t
From: |
listserv . traffic |
Subject: |
Re[2]: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive... |
Date: |
Tue, 31 Mar 2009 12:25:19 -0700 |
> address@hidden wrote:
>> I'm not sure if no 3 covers file errors like files being busy etc...
>> I'd guess that even if it did, I'd like a code that is "basically
>> everything went smoothly, but some files were locked, or otherwise
>> unavailable."
>>
>> This will tell us we got a "good" backup, but that it has some
>> missing files.
> I would not consider that a overall failure (with a non-zero exit code).
> It should print the error text to stderr (which I think it already does
> even on default verbosity), but still return 0 in such cases.
If it does this, how do you tell in a bash script that anything went
wrong. (Ok, yeah, I could grep the file for Errno...)
Having an error code is how I handle it currently, and it seems the
right way to do it.
Only a run without ANY exceptions should return zero, IMO.
-Greg
- [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., listserv . traffic, 2009/03/30
- [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., listserv . traffic, 2009/03/30
- Re: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., Andrew Ferguson, 2009/03/30
- Re[2]: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., listserv . traffic, 2009/03/30
- Re: Re[2]: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., Andrew Ferguson, 2009/03/30
- [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., listserv . traffic, 2009/03/31
- Re: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., Matthew Flaschen, 2009/03/31
- Re[2]: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive...,
listserv . traffic <=
- Re: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., Matthew Flaschen, 2009/03/31
- Re: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., Andrew Ferguson, 2009/03/31
- Re: [rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., Matthew Flaschen, 2009/03/31
[rdiff-backup-users] rdiff-backup completes without errors, but then have a corrupt archive..., listserv . traffic, 2009/03/30