Skip to content

Commit 80bcec2

Browse files
authored
Merge pull request hestiacp#586 from hestiacp/bugfix-backup
Minor fix in copying mail configuration files
2 parents 5bf2c9b + 3319d36 commit 80bcec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-backup-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL" != '*' ]; then
315315
# Backup exim config
316316
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
317317
cd $tmpdir/mail/$domain/
318-
cp $HOMEDIR/$user/conf/mail/$domain/* conf/
318+
cp -r $HOMEDIR/$user/conf/mail/$domain/* conf/
319319
fi
320320

321321
# Backup mail.conf

0 commit comments

Comments
 (0)