Skip to content

Commit 6f40259

Browse files
author
Marius Burkard
committed
Merge branch 'dsync-mail-backup' into 'develop'
Dsync backup: global options must be placed before the actual command Closes #6243 See merge request ispconfig/ispconfig3!1532
2 parents 99a3cb4 + b428474 commit 6f40259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/500-backup_mail.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function onRunJob() {
126126
if ($rec['maildir_format'] == 'mdbox') {
127127
if (empty($this->tmp_backup_dir)) $this->tmp_backup_dir = $rec['maildir'];
128128
// Create temporary backup-mailbox
129-
$app->system->exec_safe("su -c ?", 'dsync backup -o plugin/acl= -o plugin/quota= -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
129+
$app->system->exec_safe("su -c ?", 'dsync -o plugin/acl= -o plugin/quota= backup -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
130130

131131
if($backup_mode == 'userzip') {
132132
$mail_backup_file.='.zip';

0 commit comments

Comments
 (0)