|
@@ -1649,17 +1649,17 @@ class Archiver:
|
|
borg create /path/to/repo::{hostname}-{now:%Y-%m-%d_%H:%M:%S} ...
|
|
borg create /path/to/repo::{hostname}-{now:%Y-%m-%d_%H:%M:%S} ...
|
|
borg prune --prefix '{hostname}-' ...\n\n''')
|
|
borg prune --prefix '{hostname}-' ...\n\n''')
|
|
helptext['compression'] = textwrap.dedent('''
|
|
helptext['compression'] = textwrap.dedent('''
|
|
- Compression is off by default, if you want some, you have to specify what you want.
|
|
|
|
|
|
+ Compression is lz4 by default. If you want something else, you have to specify what you want.
|
|
|
|
|
|
Valid compression specifiers are:
|
|
Valid compression specifiers are:
|
|
|
|
|
|
none
|
|
none
|
|
|
|
|
|
- Do not compress. (default)
|
|
|
|
|
|
+ Do not compress.
|
|
|
|
|
|
lz4
|
|
lz4
|
|
|
|
|
|
- Use lz4 compression. High speed, low compression.
|
|
|
|
|
|
+ Use lz4 compression. High speed, low compression. (default)
|
|
|
|
|
|
zlib[,L]
|
|
zlib[,L]
|
|
|
|
|
|
@@ -2299,7 +2299,7 @@ class Archiver:
|
|
help='specify the chunker parameters (CHUNK_MIN_EXP, CHUNK_MAX_EXP, '
|
|
help='specify the chunker parameters (CHUNK_MIN_EXP, CHUNK_MAX_EXP, '
|
|
'HASH_MASK_BITS, HASH_WINDOW_SIZE). default: %d,%d,%d,%d' % CHUNKER_PARAMS)
|
|
'HASH_MASK_BITS, HASH_WINDOW_SIZE). default: %d,%d,%d,%d' % CHUNKER_PARAMS)
|
|
archive_group.add_argument('-C', '--compression', dest='compression',
|
|
archive_group.add_argument('-C', '--compression', dest='compression',
|
|
- type=CompressionSpec, default=dict(name='none'), metavar='COMPRESSION',
|
|
|
|
|
|
+ type=CompressionSpec, default=dict(name='lz4'), metavar='COMPRESSION',
|
|
help='select compression algorithm, see the output of the '
|
|
help='select compression algorithm, see the output of the '
|
|
'"borg help compression" command for details.')
|
|
'"borg help compression" command for details.')
|
|
archive_group.add_argument('--compression-from', dest='compression_files',
|
|
archive_group.add_argument('--compression-from', dest='compression_files',
|