Skip to content

Commit c3c9c98

Browse files
author
Till Brehm
committed
Update 500-backup_mail.inc.php Disable quota and ACLS when doing a backup of mdbox mailboxes with dsnyc
1 parent 36cdb85 commit c3c9c98

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 -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
129+
$app->system->exec_safe("su -c ?", 'dsync backup -o plugin/acl= -o plugin/quota= -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)