Fix rsync inplace backups
This commit is contained in:
parent
484a9593fc
commit
8539d69810
|
@ -76,7 +76,7 @@ def prepare_backup_dirs(backup_name, max_backups=5, rotate=True):
|
|||
# Should always return bkname/data/0/data/
|
||||
new_path = rotate_backups(backup_data_path, max_backups=max_backups)
|
||||
else:
|
||||
prepare_new_backup_dir(backup_data_path)
|
||||
new_path = prepare_new_backup_dir(backup_data_path)
|
||||
|
||||
return new_path
|
||||
|
||||
|
|
Loading…
Reference in New Issue