emborg icon indicating copy to clipboard operation
emborg copied to clipboard

Add support for 'recreate'

Open adhawkins opened this issue 3 years ago • 1 comments

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.

adhawkins avatar Jul 27 '22 09:07 adhawkins

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

KenKundert avatar Jul 27 '22 18:07 KenKundert

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                        

KenKundert avatar Sep 01 '22 20:09 KenKundert

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.

adhawkins avatar Sep 02 '22 07:09 adhawkins