diff options
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. |