Commit c3c9c984 authored by Till Brehm's avatar Till Brehm
Browse files

Update 500-backup_mail.inc.php Disable quota and ACLS when doing a backup of...

Update 500-backup_mail.inc.php Disable quota and ACLS when doing a backup of mdbox mailboxes with dsnyc
parent 36cdb858
Pipeline #8940 passed with stage
in 9 minutes and 19 seconds
......@@ -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 -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
$app->system->exec_safe("su -c ?", 'dsync backup -o plugin/acl= -o plugin/quota= -u "'.$rec["email"].'" mdbox:' . $this->tmp_backup_dir . '/backup');
if($backup_mode == 'userzip') {
$mail_backup_file.='.zip';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment