mirror of
https://github.com/borgbackup/borg.git
synced 2024-09-11 12:36:12 +03:00
document that passphrase(-only) mode is deprecated
This commit is contained in:
parent
e74c87d5b5
commit
74e5860508
@ -16,6 +16,11 @@ Incompatible changes (compared to 0.23):
|
||||
you accidentially give access permissions for group and/or others to files
|
||||
created by borg (e.g. the repository).
|
||||
|
||||
Deprecations:
|
||||
|
||||
- "--encryption passphrase" mode is deprecated, see #85 and #97.
|
||||
See the new "--encryption repokey" mode for a replacement.
|
||||
|
||||
New features:
|
||||
|
||||
- borg create --chunker-params ... to configure the chunker, fixes #16
|
||||
@ -28,7 +33,7 @@ New features:
|
||||
- borg create --compression 0..9 to select zlib compression level, fixes #66
|
||||
(attic #295).
|
||||
- borg init --encryption repokey (to store the encryption key into the repo),
|
||||
deprecate --encryption passphrase, fixes #85
|
||||
fixes #85
|
||||
- improve at-end error logging, always log exceptions and set exit_code=1
|
||||
- LoggedIO: better error checks / exceptions / exception handling
|
||||
- implement --remote-path to allow non-default-path borg locations, #125
|
||||
|
@ -537,6 +537,8 @@ def run(self, args=None):
|
||||
This command initializes an empty repository. A repository is a filesystem
|
||||
directory containing the deduplicated data from zero or more archives.
|
||||
Encryption can be enabled at repository init time.
|
||||
Please note that the 'passphrase' encryption mode is DEPRECATED (instead of it,
|
||||
consider using 'repokey').
|
||||
""")
|
||||
subparser = subparsers.add_parser('init', parents=[common_parser],
|
||||
description=self.do_init.__doc__, epilog=init_epilog,
|
||||
@ -546,8 +548,8 @@ def run(self, args=None):
|
||||
type=location_validator(archive=False),
|
||||
help='repository to create')
|
||||
subparser.add_argument('-e', '--encryption', dest='encryption',
|
||||
choices=('none', 'passphrase', 'keyfile', 'repokey'), default='none',
|
||||
help='select encryption method')
|
||||
choices=('none', 'keyfile', 'repokey', 'passphrase'), default='none',
|
||||
help='select encryption key mode')
|
||||
|
||||
check_epilog = textwrap.dedent("""
|
||||
The check command verifies the consistency of a repository and the corresponding archives.
|
||||
|
Loading…
Reference in New Issue
Block a user