sys-backup-skel/scripts/backup_mail

6 lines
111 B
Text
Raw Normal View History

2019-01-20 22:09:02 +01:00
#!/bin/bash
ARCHIVE=/backup/mail/$(hostname -s)_$(date +%F)_vmail.tar.gz
tar -cz -C /var/vmail -f $ARCHIVE .