orthographic error
This commit is contained in:
parent
65ddc45918
commit
49f042f792
|
@ -246,7 +246,7 @@ def clean_backups(BCK_BASE_PATH='/backups/sql', DAYS='30'):
|
||||||
"""
|
"""
|
||||||
This function clean old backups from backup base path
|
This function clean old backups from backup base path
|
||||||
"""
|
"""
|
||||||
print(white("\tCleanning oldest backups..."))
|
print(white("\tCleaning oldest backups..."))
|
||||||
with settings(hide('warnings', 'running', 'stdout', 'stderr')):
|
with settings(hide('warnings', 'running', 'stdout', 'stderr')):
|
||||||
local('find %s -mtime +%s -exec rm -rf {} \;' % (BCK_BASE_PATH, DAYS))
|
local('find %s -mtime +%s -exec rm -rf {} \;' % (BCK_BASE_PATH, DAYS))
|
||||||
|
|
||||||
|
|
Reference in New Issue