You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know restic is designed to handle interruptions, however in the interest of time and data quotas when dealing with cloud storage, I'd be interested to know what means there are to prevent suspend/sleep while backrest is running a restic command.
I have come across systemd-inhibit, which seems ideal, however there doesn't seem to be a way to customize how Backrest executes the restic commands.
Running restic with systemd-inhibit would prevent the computer suspending/sleeping during a long operation such as a remote check or large backup. I'm currently using hooks at the beginning and end of each operation to disable/enable suspend-on-idle (via dconf) which I feel is a bit of a kludge, being able to use systemd-inhibit would be a more elegant solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I know restic is designed to handle interruptions, however in the interest of time and data quotas when dealing with cloud storage, I'd be interested to know what means there are to prevent suspend/sleep while backrest is running a restic command.
I have come across systemd-inhibit, which seems ideal, however there doesn't seem to be a way to customize how Backrest executes the restic commands.
Running restic with systemd-inhibit would prevent the computer suspending/sleeping during a long operation such as a remote check or large backup. I'm currently using hooks at the beginning and end of each operation to disable/enable suspend-on-idle (via dconf) which I feel is a bit of a kludge, being able to use systemd-inhibit would be a more elegant solution.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions