Skip to content

restic subcommand #113

Description

@prataffel

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

  1. butter-backup open
  2. 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>
  3. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions