mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-28 10:49:16 +00:00
increase checkpoint-interval default from 300 to 1800s, fixes #896
doing a checkpoint can be expensive, if the repo connection is slow and/or accessed via a network filesystem and/or the repo is large. thus: don't do it too often.
This commit is contained in:
parent
323894d195
commit
c201654f45
1 changed files with 2 additions and 2 deletions
|
@ -1487,8 +1487,8 @@ def build_parser(self, prog=None):
|
|||
help='manually specify the archive creation date/time (UTC). '
|
||||
'alternatively, give a reference file/directory.')
|
||||
archive_group.add_argument('-c', '--checkpoint-interval', dest='checkpoint_interval',
|
||||
type=int, default=300, metavar='SECONDS',
|
||||
help='write checkpoint every SECONDS seconds (Default: 300)')
|
||||
type=int, default=1800, metavar='SECONDS',
|
||||
help='write checkpoint every SECONDS seconds (Default: 1800)')
|
||||
archive_group.add_argument('--chunker-params', dest='chunker_params',
|
||||
type=ChunkerParams, default=CHUNKER_PARAMS,
|
||||
metavar='CHUNK_MIN_EXP,CHUNK_MAX_EXP,HASH_MASK_BITS,HASH_WINDOW_SIZE',
|
||||
|
|
Loading…
Reference in a new issue