Some of my target hosts go to sleep during a backup. These are laptops, and
the user closes the lid and goes home. When that happens, rsync (the backup
method I use) isn't killed. Therefore the BackupPC server never registers
this as a network interruption and I must wait for that backup process to time
out before it is marked as a failure.
Has anyone solved this? I can think of two solutions:
1. On the clients that might sleep, write a script that is added to the stuff
that is run prior to software suspend. Have it kill the running rsync. Thus
the server is warned that the connection was shut down.
2. Have the server ping the client every 60 seconds or so as a backup is
running. If the pings don't respond for 5 minutes in a row or something, stop
the backup.
The reason this is an issue is because I've set only one backup at a time, as
most laptop users are on wireless and I cannot have too many backup processes
run at once.
Regards,
Tyler
--
"I have never killed a man, but I have read many obituaries with great
pleasure."
-- Clarence Darrow
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|