mirror of https://github.com/borgbackup/borg.git
parent
19e25043b5
commit
61e5115d1d
|
@ -118,6 +118,7 @@ class CreateMixIn:
|
||||||
if status == "C":
|
if status == "C":
|
||||||
self.print_warning("%s: file changed while we backed it up", path)
|
self.print_warning("%s: file changed while we backed it up", path)
|
||||||
self.print_file_status(status, path)
|
self.print_file_status(status, path)
|
||||||
|
if not dry_run and status is not None:
|
||||||
fso.stats.files_stats[status] += 1
|
fso.stats.files_stats[status] += 1
|
||||||
if args.paths_from_command:
|
if args.paths_from_command:
|
||||||
rc = proc.wait()
|
rc = proc.wait()
|
||||||
|
@ -142,6 +143,7 @@ class CreateMixIn:
|
||||||
else:
|
else:
|
||||||
status = "-"
|
status = "-"
|
||||||
self.print_file_status(status, path)
|
self.print_file_status(status, path)
|
||||||
|
if not dry_run and status is not None:
|
||||||
fso.stats.files_stats[status] += 1
|
fso.stats.files_stats[status] += 1
|
||||||
continue
|
continue
|
||||||
path = os.path.normpath(path)
|
path = os.path.normpath(path)
|
||||||
|
@ -475,7 +477,7 @@ class CreateMixIn:
|
||||||
self.print_warning("%s: file changed while we backed it up", path)
|
self.print_warning("%s: file changed while we backed it up", path)
|
||||||
if not recurse_excluded_dir:
|
if not recurse_excluded_dir:
|
||||||
self.print_file_status(status, path)
|
self.print_file_status(status, path)
|
||||||
if status is not None:
|
if not dry_run and status is not None:
|
||||||
fso.stats.files_stats[status] += 1
|
fso.stats.files_stats[status] += 1
|
||||||
|
|
||||||
def build_parser_create(self, subparsers, common_parser, mid_common_parser):
|
def build_parser_create(self, subparsers, common_parser, mid_common_parser):
|
||||||
|
|
Loading…
Reference in New Issue