Skip to content
Snippets Groups Projects
Commit 6f40259d authored by Marius Burkard's avatar Marius Burkard
Browse files

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
parents 99a3cb48 b428474e
No related branches found
No related tags found
1 merge request!1532Dsync backup: global options must be placed before the actual command
Pipeline #10056 passed
......@@ -126,7 +126,7 @@ class cronjob_backup_mail extends cronjob {
if ($rec['maildir_format'] == 'mdbox') {
if (empty($this->tmp_backup_dir)) $this->tmp_backup_dir = $rec['maildir'];
// Create temporary backup-mailbox
$app->system->exec_safe("su -c ?", 'dsync backup -o plugin/acl= -o plugin/quota= -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
$app->system->exec_safe("su -c ?", 'dsync -o plugin/acl= -o plugin/quota= backup -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
if($backup_mode == 'userzip') {
$mail_backup_file.='.zip';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment