mirror of
https://github.com/borgbase/vorta
synced 2025-02-23 23:00:40 +00:00
Limit prunes to current hostname. Fixes #38
This commit is contained in:
parent
4afdf1427c
commit
1894558541
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
import platform
|
||||
from .borg_thread import BorgThread
|
||||
|
||||
|
||||
|
@ -30,7 +31,8 @@ def prepare(cls, profile):
|
|||
'--keep-daily', str(profile.prune_day),
|
||||
'--keep-weekly', str(profile.prune_week),
|
||||
'--keep-monthly', str(profile.prune_month),
|
||||
'--keep-yearly', str(profile.prune_year)
|
||||
'--keep-yearly', str(profile.prune_year),
|
||||
'--prefix', platform.node()
|
||||
]
|
||||
cmd += pruning_opts
|
||||
cmd.append(f'{profile.repo.url}')
|
||||
|
|
Loading…
Reference in a new issue