On Tue, Oct 13, 2009 at 12:28 PM, dan <[email protected]> wrote: > 1)boot on bios power-on schedule > 2)let backuppc process all backups. should automatically happen due to the > wakeup schedule though I would shorten that period. > 3)run a script to determine if backuppc is doing a backup, if so then sleep > for your wakeup schedule + 1 minute, if not then execute backuppc nightly > 4)trigger a shutdown when backuppc nightly completes.
I built a surprisingly simple proof of concept around the above flow, and it looks like the idea is valid. There are still bugs to track down and race conditions to examine, but I don't think it's too early to call the idea of "BackupPC Green" a success. Some followup questions: Does "activeJob" still equal 1 during the link stage? I'm having trouble catching a backup when it's doing so. Speaking of "activeJob", I haven't found a way to answer the question "Are any hosts active?" Using BackupPC_serverMesg status hosts doesn't work because trashClean always reports itself as active. Is there any other criterion I could use to examine all possible jobs to see if any are active? My proof of concept only examined a single host. ------------------------------------------------------------------------------ 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 [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
