diff options
| author | jrwren@xmtp.net <> | 2016-07-20 17:40:34 -0400 |
|---|---|---|
| committer | jrwren@xmtp.net <> | 2016-07-20 17:40:34 -0400 |
| commit | f4329a97b94813ef9bcf465b0887974ce8ac8183 (patch) | |
| tree | 7a0f2a8b074ce4747557f14a06cc36f534982bae /hooks | |
| parent | 0b7b328a92c521d6115019b1ea02108cd7ca4ecb (diff) | |
fix backup from crash and fail
When files or dirs cannot be removed, warn and continue. Fix mongodbump typos.
Diffstat (limited to 'hooks')
| -rwxr-xr-x | hooks/hooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/hooks.py b/hooks/hooks.py index 4801dc8..d53df3a 100755 --- a/hooks/hooks.py +++ b/hooks/hooks.py @@ -862,7 +862,7 @@ def restart_mongod(wait_for=default_wait_for, max_tries=default_max_tries): def backup_cronjob(disable=False): - """Generate the cronjob to backup with mongodbump.""" + """Generate the cronjob to backup with mongodump.""" juju_log('Setting up cronjob') config_data = config() backupdir = config_data['backup_directory'] |
