TODO about using the new exclude_patterns.
This commit is contained in:
parent
8ef6c6fcbe
commit
41d202c2e7
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@ def parse_arguments(*arguments):
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--excludes',
|
'--excludes',
|
||||||
dest='excludes_filename',
|
dest='excludes_filename',
|
||||||
help='Excludes filename, deprecated in favor of excludes_patterns within configuration',
|
help='Excludes filename, deprecated in favor of exclude_patterns within configuration',
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-v', '--verbosity',
|
'-v', '--verbosity',
|
||||||
|
@ -48,6 +48,7 @@ def main(): # pragma: no cover
|
||||||
remote_path = config.location['remote_path']
|
remote_path = config.location['remote_path']
|
||||||
|
|
||||||
borg.initialize(config.storage)
|
borg.initialize(config.storage)
|
||||||
|
# TODO: Use the new exclude_patterns.
|
||||||
borg.create_archive(
|
borg.create_archive(
|
||||||
args.excludes_filename, args.verbosity, config.storage, **config.location
|
args.excludes_filename, args.verbosity, config.storage, **config.location
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue