mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-11-09 02:13:38 +00:00
- Scheduled, encrypted backups to S3, SFTP, REST or a local folder (new restic-mailcow container) - Restore of mailboxes and whole domains in the UI, also deleted ones, for admins and domain admins - Scope set by RESTIC_BACKUP_MODE in mailcow.conf (all, data, config) - Optional backup before updates (update.sh), helper-scripts/restic.sh for a full restore
20 lines
487 B
PHP
20 lines
487 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Mailcow\Backup\Legacy;
|
|
|
|
use Mailcow\MailboxGroup\Legacy\LegacyMailbox;
|
|
|
|
/**
|
|
* The group module's bridge to the mailbox code for restores: a membership restored from a backup never applies the
|
|
* group's mailbox template (the mailbox gets its settings from the backup).
|
|
*/
|
|
class NoTemplates extends LegacyMailbox
|
|
{
|
|
public function applyTemplate(string $username, string $name, string $template): ?string
|
|
{
|
|
return null;
|
|
}
|
|
}
|