enzingerm / snapborg

Synchronize snapper snapshots to a borg repository
GNU General Public License v3.0
31 stars 5 forks source link

Easy restore #16

Open jrabinow opened 2 years ago

jrabinow commented 2 years ago

Once the snapshot is safely backed up in borg, how does one restore it? Can we make it easier with something like snapborg restore $SNAPPER_CONFIG_NAME $BACKUP_NAME?

fat0troll commented 1 year ago

Until it is automated, you can use borgfs to mount remote borg repository, and inside it you will find all snapshots as directories, and your files inside them.

enzingerm commented 1 year ago

I think adding an automated restore functionality would be quite complicated and dangerous to implement. But maybe adding a wrapper around commands like borg mount or borg extract could be provided. However, I'm not sure what the benefits of that would be over doing something like

jrabinow commented 1 year ago

I opened this issue purely for the wrapper side of things.

Benefits of doing this are simply consistent UX: one single tool to manage backups and restores