Update sync_data.sh
Browse files- sync_data.sh +1 -1
sync_data.sh
CHANGED
|
@@ -107,7 +107,7 @@ backups.sort()
|
|
| 107 |
if len(backups) > 5:
|
| 108 |
to_delete = len(backups) - 5
|
| 109 |
for file in backups[:to_delete]:
|
| 110 |
-
client.
|
| 111 |
print(f'Successfully deleted {file}.')
|
| 112 |
else:
|
| 113 |
print('Only {} backups found, no need to clean.'.format(len(backups)))
|
|
|
|
| 107 |
if len(backups) > 5:
|
| 108 |
to_delete = len(backups) - 5
|
| 109 |
for file in backups[:to_delete]:
|
| 110 |
+
client.clean(file)
|
| 111 |
print(f'Successfully deleted {file}.')
|
| 112 |
else:
|
| 113 |
print('Only {} backups found, no need to clean.'.format(len(backups)))
|