Welcome! » Log In » Create A New Profile

New to Rdiff - need help with some error messages

Posted by Anonymous 
New to Rdiff - need help with some error messages
January 28, 2004 03:52PM
I am new to Rdiff-backup. I looked at the last error log and this is
what I found:

UpdateError
home/httpd/vhosts/hammockspecials.com/statistics/logs/access_log Updated
mirror temp file
/home/backup/ns1.synergydns.net/backup/home/httpd/vhosts/hammockspecials
.com/statistics/logs/rdiff-backup.tmp.412 does not match source
UpdateError
home/httpd/vhosts/miva3.synergydns.net/mivadata/Merchant2/00000002/baskl
ist.dbf Updated mirror temp file
/home/backup/ns1.synergydns.net/backup/home/httpd/vhosts/miva3.synergydn
s.net/mivadata/Merchant2/00000002/rdiff-backup.tmp.549 does not match
source
UpdateError
home/httpd/vhosts/packardwoodworks.com/statistics/logs/access_log
Updated mirror temp file
/home/backup/ns1.synergydns.net/backup/home/httpd/vhosts/packardwoodwork
s.com/statistics/logs/rdiff-backup.tmp.728 does not match source
UpdateError usr/local/psa/var/log/maillog Updated mirror temp file
/home/backup/ns1.synergydns.net/backup/usr/local/psa/var/log/rdiff-backu
p.tmp.1636 does not match source
UpdateError var/log/messages Updated mirror temp file
/home/backup/ns1.synergydns.net/backup/var/log/rdiff-backup.tmp.1725
does not match source
SpecialFileError var/run/fpcgisock Socket error: AF_UNIX path too long

Are the UpdateError messages where file does not match source likely
just from files that were changing during the backup? I notice that most
if not all are log files.

Also what is the SpecialFileError that mentions path too long?

I guess I don't want to worry about log files but I do want to back them
up.

I would like to eventually have critical errors emailed to me so I don't
have to dig through the error logs. Are there any specific error
messages I should watch out for?

Thanks.

Chris Young

Synergy Point
Toll Free: (877) 859-6370
Local: (828) 859-2444
Fax: (877) 633-5373
Web: http://www.synergypoint.net
New to Rdiff - need help with some error messages
January 29, 2004 06:57AM
"Chris Young" <ChrisYoung < at > SynergyPoint.net> writes:
[quote]Are the UpdateError messages where file does not match source likely
just from files that were changing during the backup?
[/quote]
yes.

[quote]Also what is the SpecialFileError that mentions path too long?
[/quote]
This error occurs sometimes with socket files.
Since it's a socket file created in /var/run by running a cgi,
I'm pretty sure you don't really need to worry about it.

On my systems, such errors recur once per socket file,
so I get them after a reboot or if the app has been
stopped and started for some other reason.

[quote]I guess I don't want to worry about log files but I do want to back them
up.
[/quote]
In general I've found that I do not get the same logfile updateerrors
every day, indicating that sooner or later each file is done; I consider
the possibility of losing one or two days worth of a log file to be
an acceptable risk for the envinronment I use rdiff-backup in; you may not.

Various workarounds are possible, such as copying the logfiles.
If you make a copy of the open logfile before the backup starts,
then while the logfile may not be backed up because it is changing,
the copy will not be changing and will get backed up.

[quote]I would like to eventually have critical errors emailed to me so I don't
have to dig through the error logs. Are there any specific error
messages I should watch out for?
[/quote]
Since this is the second time I've seen this in a week or two,
I guess I'll add the following to the wiki...

For my backups, I redirect output of rdiff-backup to a file,
and then run the file thru the following script and mail
myself the output. The invocations are:
/some/path/backup-script2 >/var/logs/backups/backup-`date +%Y-%m-%d` 2>&1
/some/path/backup-report2 /var/logs/backups/backup-`date +%Y-%m-%d` |
mail -s "`hostname` Backup Report `date +%Y-%m-%d`" |
someaddress < at > mydomain.foo
bzip2 /var/logsbackups/backup-`date +%Y-%m-%d`

#!/bin/sh
# backup-report2
# a crude backup report munger
# akb 05-jun-2003
# most recent mods 19-jan-04.

grep -v "^Executing ssh -C" $1 |

## rdiff-backup 0.13.x...
grep -v "^ Access control lists.*Off" |
grep -v "^ Characters needing quoting.*''" |
grep -v "^ Directory inc permissions.*On" |
grep -v "^ Extended attributes.*Off" |
grep -v "^ Hard linking.*On" |
grep -v "^ Mac OS X Finder information.*Off" |
grep -v "^ Mac OS X style resource forks.*Off" |
grep -v "^ Ownership changing.*On" |
grep -v "^ fsync() directories.*On" |
grep -v "^########## /" |
grep -v "^-----------------------------------------------------------------" |
grep -v "^ACLs not supported on filesystem at /" |
grep -v "^Detected abilities for destination (read/write) file system:" |
grep -v "^Detected abilities for source (read only) file system:" |
grep -v "^Removing directory .*" |
grep -v "^Starting increment operation .* to .*" |
grep -v "^Unable to import module posix1e from pylibacl package." |
grep -v "^Unable to import module xattr. EAs not supported on filesystem at /.*" |
grep -v "^Hard linking .* to .*" |
## rdiff-backup 0.12.x and 0.13.x
grep -v "^Cleaning up" |
grep -v "^Incrementing mirror file" |
grep -v "^Making directory .*" |
grep -v "^Processing changed file .*" |
grep -v "^Regular copying" |
grep -v "^Touching mirror marker" |
Sorry, only registered users may post in this forum.

Click here to login