KenKundert / emborg

Interactive command line interface to Borg Backup
GNU General Public License v3.0
94 stars 8 forks source link

Add support for 'recreate' #64

Closed adhawkins closed 1 year ago

adhawkins commented 1 year ago

borg has a 'recreate' command, which allows for rewriting of existing archives. This command isn't present in emborg.

It could be a conscious decision, as recreate is a potentially dangerous action.

KenKundert commented 1 year ago

It was not a conscious decision. I simply never needed it. Shouldn't be difficult to add.

KenKundert commented 1 year ago

I am having second thoughts on adding support for this command. Seems like it would only be used in exceptional situations. I am thinking this it is best for people to use Emborg's borg command instead:

emborg borg recreate @repo::❬archive❭ --recompress --compression zlib,9                        
adhawkins commented 1 year ago

That's fair enough. I've only ever needed to use it once myself, just noticed that it wasn't present in emborg. No great loss if it's not available.