backups: Handle errors during backup and service start/stop

Copied from original issue #433 (closed).