[Box Backup] ML Archive / blocking sync

Chris Wilson chris at qwirx.com
Wed Oct 14 20:01:45 BST 2009


Hi Volker,

On Wed, 14 Oct 2009, Volker Wegert wrote:

> This maintenance mode also includes the current backup (more a less a 
> variant of the hardlink-rsync-cow theme). Now it wouldn't be a problem 
> to replace the rsync command with a bbackupctl sync, but I need the 
> script to _wait_ until the backup is completed because the laptop is 
> shut down and powered off afterwards automatically (no use to keep it 
> running all night). Is there a way to either let "bbackupctl sync" block 
> until the backup is completed or query whether a backup is currently 
> running?

You can try bbackupctl sync-and-wait, or listen for backup-start and 
backup-finish events being sent to the NotifyScript.

> And one more issue - I've scripted a small nagios check plug-in that 
> checks the current rsync target and reminds the users to put their 
> laptops into maintenance mode if they haven't done so for a certain 
> period. To convert this, I'd need some way to find out when the last 
> sync for a certain client was performed on the server side. Is there 
> another way to do this than parsing the server log file?

Unfortunately not at the moment, sorry.

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <chris+sig at qwirx.com> Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\__/_/_/_//_/___/ | We are GNU : free your mind & your software |


More information about the boxbackup mailing list