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