I hope I’m not hijacking this thread. This is also a requirement for my use (as a person who has also come from Crashplan). So I’ve been looking into this and I have some questions that I’m hoping someone could comment on.
So one option is to use something like pssuspend. I’m not sure I see the advantage in this over pressing the pause button in duplicati? However, if there is a difference, pssuspend is great if you expect to resume before the computer reboots. However, if you don’t resume before the computer is next rebooted it will be the same as if you had shutdown your computer while duplicati was busy doing a backup. What is the implication of this? Would duplicati just start the backup from scratch when your computer restarts or will it realise it was in the middle of a backup and just continue with the files that it hadn’t finished backing up plus any new files that have been created/modified since then? Is it bad to reboot a computer while duplicati is in the middle of backing up or will it be happy? Also, if you are backing up to an external USB drive, will it close the connection to the drive at this point to allow it to be ejected safely?
Another option would be to press the pause button in the trayicon. If you reboot your computer before resuming it looks like it just starts again on the backup, which I guess is ok since in theory it won’t backup the things it has already done. I’m not yet sure if it would allow you to eject an external USB drive at this point, I have more testing to do.
Another option would be to press the X abort button in the GUI. This is my least favoured option as it involves the user having to open up the web gui just to stop the backup, so if pause works I think that is the one I’d be getting users to do if they are wanting to eject their USB harddrive.
If anyone has any insights to how duplicati behaves under these conditions and if any way is better I welcome thoughts.