problem with filesystem backup

5 posts / 0 new
Last post
#1 Sat, 08/15/2009 - 05:34
neorf

problem with filesystem backup

i've webmin under virtualmin. i scheduled filesystem backup 1 month ago. first time was ok, but today backup failed with these errors. what is wrong? thanks....

neorf ~~~~

Backup of / on myserver.com

tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
tar: /home/log/auth.log: file changed as we read it
tar: /dev/log: socket ignored
tar: /tmp: file changed as we read it
tar: /var/lib/mysql/server1 /jos_bsq_hit.MYD: file changed as we read it
tar: /var/run/proftpd/proftpd.sock: socket ignored
tar: /var/run/dovecot/auth-worker.9903: socket ignored
tar: /var/run/dovecot/dict-server: socket ignored
tar: /var/run/dovecot/login/default: socket ignored
tar: /var/run/clamav/clamd.ctl: socket ignored
tar: /var/run/postgresql/.s.PGSQL.5432: socket ignored
tar: /var/run/mysqld/mysqld.sock: socket ignored
tar: /var/run/dbus/system_bus_socket: socket ignored
tar: /var/spool/postfix/private/tlsmgr: socket ignored
tar: /var/spool/postfix/private/rewrite: socket ignored
tar: /var/spool/postfix/private/bounce: socket ignored
tar: /var/spool/postfix/private/defer: socket ignored
tar: /var/spool/postfix/private/trace: socket ignored
tar: /var/spool/postfix/private/verify: socket ignored
tar: /var/spool/postfix/private/proxymap: socket ignored
tar: /var/spool/postfix/private/proxywrite: socket ignored
tar: /var/spool/postfix/private/smtp: socket ignored
tar: /var/spool/postfix/private/relay: socket ignored
tar: /var/spool/postfix/private/error: socket ignored
tar: /var/spool/postfix/private/retry: socket ignored
tar: /var/spool/postfix/private/discard: socket ignored
tar: /var/spool/postfix/private/local: socket ignored
tar: /var/spool/postfix/private/virtual: socket ignored
tar: /var/spool/postfix/private/lmtp: socket ignored
tar: /var/spool/postfix/private/anvil: socket ignored
tar: /var/spool/postfix/private/scache: socket ignored
tar: /var/spool/postfix/private/maildrop: socket ignored
tar: /var/spool/postfix/private/uucp: socket ignored
tar: /var/spool/postfix/private/ifmail: socket ignored
tar: /var/spool/postfix/private/bsmtp: socket ignored
tar: /var/spool/postfix/private/scalemail-backend: socket ignored
tar: /var/spool/postfix/private/mailman: socket ignored
tar: /var/spool/postfix/public/cleanup: socket ignored
tar: /var/spool/postfix/public/flush: socket ignored
tar: /var/spool/postfix/public/showq: socket ignored
tar: /var/spool/postfix/var/run/saslauthd/mux: socket ignored

Backup failed!
Sat, 08/15/2009 - 08:46
andreychek

Hmm, my best guess is that it's concerned about the "file changed as we read it" messages above. Which is to be expected when reading the access log of a web server :-)

The "socket ignored" lines shouldn't be a problem.

However, nothing in the above indicates an incomplete or problematic backup.

I'd verify that your backups look complete on the backup server -- and if so, I think you're in good shape.

To get rid of those messages, you might consider:

  1. In the backup details, you might consider having it ignore directories such as /tmp. /var/spool/postfix/private/, and the like.

  2. You can rely on the Virtual Server backup (assuming you've set one up ;-) to get /home, as well as the MySQL databases. It's not really possible to get a good backup of mysql through a filesystem backup.

Have a good one!

-Eric

Mon, 08/17/2009 - 06:06
neorf

ok. so i've tried again, excluded postfix/private but the same error. now i'm going to exclude entire postfix dir, then what else could i exclude? i do regulary virtual server backup too. But what does make backup crush? for example after 10 socket ignored? Thanks...

neorf

Mon, 08/17/2009 - 08:41
andreychek

Well, again, I think it's concerned about the "file changed as we read it" messages.

So you'd want to tell it to stop backing up the MySQL databases in /var/lib/mysql (you can use the Virtualmin scheduled backups in "Backup and Restore" to get those).

You might also consider not using that to backup the log files (such as /home/log/auth.log), as log files change frequently.

But, if you want to make sure you have logs around, I'd verify that the Virtual Server backups store those.

-Eric

Wed, 08/19/2009 - 01:49
neorf

i've one everything, backup started but this time, after 1 day and half, still doing it, is it possible? last time, 1 month ago, filesystem backup was 1.1Gb in 5 hours. thanks

neorf

Topic locked