yunohost/data/hooks/backup/23-system_mail

3 lines
57 B
Text

backup_dir="$1/mail"
sudo cp -a /var/mail/. $backup_dir