mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-19 10:25:49 +00:00
borg prune only knows "--keep-within" and not "--within".
This commit is contained in:
parent
83c5321f53
commit
1f1ff61375
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ class Archiver:
|
|||
cache = Cache(repository, key, manifest, do_files=args.cache_files, lock_wait=self.lock_wait)
|
||||
archives = manifest.list_archive_infos(sort_by='ts', reverse=True) # just a ArchiveInfo list
|
||||
if args.hourly + args.daily + args.weekly + args.monthly + args.yearly == 0 and args.within is None:
|
||||
self.print_error('At least one of the "within", "keep-hourly", "keep-daily", "keep-weekly", '
|
||||
self.print_error('At least one of the "keep-within", "keep-hourly", "keep-daily", "keep-weekly", '
|
||||
'"keep-monthly" or "keep-yearly" settings must be specified')
|
||||
return self.exit_code
|
||||
if args.prefix:
|
||||
|
|
Loading…
Add table
Reference in a new issue