sys-backup-skel/scripts/backup_mail
2019-01-20 22:10:34 +01:00

5 lines
111 B
Bash

#!/bin/bash
ARCHIVE=/backup/mail/$(hostname -s)_$(date +%F)_vmail.tar.gz
tar -cz -C /var/vmail -f $ARCHIVE .