This is more of a quality of life suggestion -- and maybe not too helpful in the end, anyways, but a somewhat typical workflow for me is to
butter-backup open
restic --repo <input from the butter-backup open command>/ResticBackupRepository --password-command <the command I've stored in the config> <mount | snapshots | forget | ...> <further arguments>
butter-backup close
I would appreciate to have a butter-backup restic command, that would make this three-step process one command. I think you could possibly expose the full restic interface. Since we can now name our backups, it could be easy to only operate on one of the backups, if that would be preferred.
If I wanted to chain several restic commands, it could be cools to check if the device was opened already manually -- and if so, not to close it automatically, if this makes sense. This way you'd avoid several mounts and unmounts -- but obviously increase the complexity a little...
I don't know if that is too much for release 4.0., but I think all pieces are there and this would not require any breaking changes. What do you think?
This is more of a quality of life suggestion -- and maybe not too helpful in the end, anyways, but a somewhat typical workflow for me is to
butter-backup openrestic --repo <input from the butter-backup open command>/ResticBackupRepository --password-command <the command I've stored in the config> <mount | snapshots | forget | ...> <further arguments>butter-backup closeI would appreciate to have a
butter-backup resticcommand, that would make this three-step process one command. I think you could possibly expose the full restic interface. Since we can now name our backups, it could be easy to only operate on one of the backups, if that would be preferred.If I wanted to chain several restic commands, it could be cools to check if the device was opened already manually -- and if so, not to close it automatically, if this makes sense. This way you'd avoid several mounts and unmounts -- but obviously increase the complexity a little...
I don't know if that is too much for release 4.0., but I think all pieces are there and this would not require any breaking changes. What do you think?