Fix rsync inplace backups

This commit is contained in:
dave 2017-05-27 12:04:55 -07:00
parent 484a9593fc
commit 8539d69810
1 changed files with 23 additions and 23 deletions

View File

@ -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