[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] File missing from backup?
From: |
Kurt Yoder |
Subject: |
[rdiff-backup-users] File missing from backup? |
Date: |
Mon, 13 Nov 2006 10:59:13 -0500 |
Hello list
I recently found a file that should have been included in my rdiff
backup but was missing. The file is my /usr/local/nagios/libexec
directory.
Here is the source directory:
address@hidden:/usr/local/nagios/libexec# ls
check_apt-get check_ftp check_load
check_nwstat check_simap check_users
check_breeze check_game check_log
check_oracle check_smtp check_wave
check_by_ssh check_hpjd check_maillog_spam
check_overcr check_snmp Nagios
check_dhcp check_http check_mailq
check_pgsql check_spop negate
check_dig check_icmp check_mrtg
check_ping check_ssh urlize
check_disk check_ifoperstatus check_mrtgtraf
check_pop check_swap utils.pm
check_disk_smb check_ifstatus check_mysql
check_postfix_mailq check_tcp utils.sh
check_dns check_imap check_nagios
check_procs check_time
check_dummy check_ircd check_nntp
check_radius check_tw_cli
check_file_age check_jabber check_nntps
check_real check_udp
check_flexlm check_ldap check_nt
check_rpc check_udp2
check_fping check_ldaps check_ntp
check_sensors check_ups
Here is the target directory on the backup machine:
address@hidden:/backup/disk2/ns2/usr/local/nagios/libexec# ls
check-imap check_fping check_ldaps check_nt
check_sensors check_ups
check_breeze check_ftp check_load check_ntp
check_simap check_users
check_by_ssh check_game check_log check_nwstat
check_smtp check_wave
check_clamd check_hpjd check_mailq check_oracle
check_snmp eventhandlers
check_dhcp check_http check_mrtg check_overcr
check_spop negate
check_dig check_icmp check_mrtgtraf check_pgsql
check_ssh urlize
check_disk check_ifoperstatus check_mysql check_ping
check_ssmtp utils.pm
check_disk_smb check_ifstatus check_mysql_query check_pop
check_swap utils.sh
check_dns check_imap check_nagios check_procs
check_tcp
check_dummy check_ircd check_nagios_db check_radius
check_time
check_file_age check_jabber check_nntp check_real
check_udp
check_flexlm check_ldap check_nntps check_rpc
check_udp2
If you look closely, you will notice that these two do not match. At
first I thought I might be excluding the directory, but the rdiff-
backup command looks like it should be including the directory:
/usr/bin/rdiff-backup -v0 --preserve-numerical-ids --print-statistics \
--exclude "/dev/log" \
--exclude "/home/.old" \
--exclude "/home/joel/*" \
--exclude "/home/spamassassin/.spamassassin/auto-
whitelist.lock*" \
--exclude "/home/www/dragonwell.net/*" \
--exclude "/home/www/danielle.tgz" \
--exclude "/proc/*" \
--exclude "/sys/*" \
--exclude "/usr/local/pgsql/*.log*" \
--exclude "/usr/local/pgsql/data/base/*" \
--exclude "/usr/local/pgsql/data/pg_xlog/*" \
--exclude "/usr/local/src/*" \
--exclude "/var/lib/mysql/*/*" \
--exclude "/var/lib/postgres/data/base/*" \
--exclude "/var/lib/postgres/data/pg_xlog/*" \
--exclude "/var/lib/postgresql/8.1/main/data/base/*" \
--exclude "/var/lib/postgresql/8.1/main/data/pg_xlog/*" \
--exclude "/var/local/postfix/*/*/.Junk/*/*" \
--exclude "/var/local/postgresql.dump.gz" \
--exclude "/var/log/**.log" \
--exclude "/var/run/postgresql/*" \
--exclude "/var/spool/postfix/active/*" \
--exclude "/var/spool/postfix/bounce/*" \
--exclude "/var/spool/postfix/corrupt/*" \
--exclude "/var/spool/postfix/defer/*" \
--exclude "/var/spool/postfix/deferred/*" \
--exclude "/var/spool/postfix/incoming/*" \
--exclude "/var/spool/postfix/private/*" \
--exclude "/var/spool/postfix/public/*" \
ns2::/ /backup/disk2/ns2/
The error log for last night does not indicate any problems with this
directory:
address@hidden:/backup/disk2/ns2/rdiff-backup-data# zless error_log.
2006-11-13T04\:33\:22-05\:00.data.gz
UpdateError home/spamassassin/.spamassassin/bayes_journal Updated
mirror temp file /backup/disk2/ns2/home/spamassassin/.spamassassin/
rdiff-backup.tmp.10 does not match source
UpdateError var/log/atsar/atsa13 Updated mirror temp file /backup/
disk2/ns2/var/log/atsar/rdiff-backup.tmp.8174 does not match source
UpdateError var/log/mail.info Updated mirror temp file /backup/disk2/
ns2/var/log/rdiff-backup.tmp.8206 does not match source
UpdateError var/log/mail.warn Updated mirror temp file /backup/disk2/
ns2/var/log/rdiff-backup.tmp.8222 does not match source
UpdateError var/log/messages Updated mirror temp file /backup/disk2/
ns2/var/log/rdiff-backup.tmp.8230 does not match source
UpdateError var/log/ntpstats/loopstats Updated mirror temp file /
backup/disk2/ns2/var/log/ntpstats/rdiff-backup.tmp.8257 does not
match source
UpdateError var/log/ntpstats/loopstats.20061113 Updated mirror temp
file /backup/disk2/ns2/var/log/ntpstats/rdiff-backup.tmp.8262 does
not match source
UpdateError var/log/ntpstats/peerstats Updated mirror temp file /
backup/disk2/ns2/var/log/ntpstats/rdiff-backup.tmp.8263 does not
match source
UpdateError var/log/ntpstats/peerstats.20061113 Updated mirror temp
file /backup/disk2/ns2/var/log/ntpstats/rdiff-backup.tmp.8268 does
not match source
UpdateError var/log/syslog Updated mirror temp file /backup/disk2/ns2/
var/log/rdiff-backup.tmp.8279 does not match source
UpdateError var/mail/vmail Updated mirror temp file /backup/disk2/ns2/
var/mail/rdiff-backup.tmp.8288 does not match source
The backed-up directory hasn't been changed for many weeks. So why
don't the original and the backup match? Both machines are running
rdiff-backup 1.1.5.
Thanks for any info.
- [rdiff-backup-users] File missing from backup?,
Kurt Yoder <=