[Borgbackup] setting default compression

Sitaram Chamarty sitaramc at gmail.com
Sun Mar 13 01:43:45 EST 2016


On 13/03/16 02:20, Thomas Waldmann wrote:
>> Are there any plans to add something like, say, BORG_COMPRESSION, to set
>> default compression?
> 
> Maybe, maybe not. A configuration file for the defaults might be
> another option. Having some defaults stored in the repo are another
> option.

that's fine too; a global one would be really nice, or a repo-local
config could be populated with the chosen algorithm at 'init' time.

>> I expect most of my use of borg will be scripted, but the command line
>> is so easy compared to duplicity, that I am luxuriating in the ability
>> to do ad hoc backups of "just this directory" whenever I want to, and it
>> would be nice not to have to remember to add '-C ...' each time.
> 
> Until there is another way, you can always write a little wrapper
> script that adds these options.

Sure, in the short term that's fine.

Thanks once again for an awesome tool!

regards
sitaram


More information about the Borgbackup mailing list