diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-05-02 13:55:55 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-05-02 13:55:55 -0300 |
commit | 09081682e45402b776aa9188cb2829d03ecdd157 (patch) | |
tree | ba50fd821e95cba1d4eaf64adaba289c9c27e90b /share/hydractl/backup-restore-mail | |
parent | 176efc9b17199d19aad129a651c1ef0cd3afa3c0 (diff) | |
download | hydra-09081682e45402b776aa9188cb2829d03ecdd157.tar.gz hydra-09081682e45402b776aa9188cb2829d03ecdd157.tar.bz2 |
Restoration fixes
Diffstat (limited to 'share/hydractl/backup-restore-mail')
-rwxr-xr-x | share/hydractl/backup-restore-mail | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/hydractl/backup-restore-mail b/share/hydractl/backup-restore-mail index 30cc42f..371cd3a 100755 --- a/share/hydractl/backup-restore-mail +++ b/share/hydractl/backup-restore-mail @@ -46,6 +46,7 @@ for folder in `ls $RESTOREDIR/$SERVICE_DIR`; do done # Restore database. +mkdir -p $DATABASE_DIR rsync -av $RESTOREDIR/$DATABASE_DIR/ $DATABASE_DIR/ # Fix permissions. |