I don't use hibernate, but have been struggling for a while to get backuppc working with windows clients that suspend the processor after a period of inactivity, which is pretty much the same issue. (For a full backup, the suspend was kicking in before the backup completed. )
I do currently have a working solution, though it requires a bit of customization on each windows client. Here's an outline of what I'm doing: First, on the server you need a script to wake up the client from suspend using the WakeOnLan capability. I replaced PingCmd with a script that uses etherwake to do this. Now, on each windows machine, create a new power scheme that is a copy of the current one, then turn off standby-timeout and hibernate for this. Get the guids for both the original and the copy. (You can use powercfg for all this) Now, create a cmd file that uses powercfg to switch to the copy that won't suspend/hibernate and another cmd file that switches to the original one. You need to have backuppc run these scripts before starting and after finishing the backup. Depending on your setup, you can use backuppc's dumppreusercmd and dumppostusercmd to run them via ssh. It should be possible to use scripts on the windows client to make the changes without having to pre-create the alternate power scheme (so it would continue to work even if a different scheme is selected by the windows user.) The main difficult I have with this is making sure it recovers even if the backup doesn't complete... with my current approach, if this happens the next successful run will restore things. -----Original Message----- From: DI Harald ARNOLD <harald.arn...@arnold.at> Sent: Friday, January 17, 2020 10:06 AM To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] Windows 10 fell into hibernation when "rsyncd" backup is done Hi to all, I am a newbee at this list. I found nothing about this thread in old archives. I installed backuppc on a linux openSuSE Tumbleweed box to backup two methods of a "Windows 10" box by "rsyncd". Everything is working fine, both "methods" are starting. But the Windows 10 box is going into hibernation mode. I would like that the windows box is using hibernation, but not when "rsync" (the backuppc job) is running. I switched of hibernation mode an everything was fine. Is there a configuration that windows uses hibernation and will wake up or do not go into hibernation mode, when backup is starting/running. Till now I have no configuration for waking up windows and to ignore hibernation at backup time. Thanks Harald _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/