Commit da90b498 authored by Igor Pečovnik's avatar Igor Pečovnik
Browse files

backup vmail

parent d5ae0f01
...@@ -66,6 +66,15 @@ service samba stop ...@@ -66,6 +66,15 @@ service samba stop
/etc/init.d/vpnserver stop /etc/init.d/vpnserver stop
# backup only minimum # backup only minimum
tar cvPfz $COPY_TO/$FILEBACKUPNAME-allfiles.tgz -T filelist.txt --exclude='*.sock' tar cvPfz $COPY_TO/$FILEBACKUPNAME-allfiles.tgz -T filelist.txt --exclude='*.sock'
echo "";
echo "************************************";
echo " MAIL BACKUP";
echo "************************************";
echo "";
#
tar cvPfz $COPY_TO/$FILEBACKUPNAME-mail.tgz /var/vmail
# #
service dovecot start service dovecot start
service cups start service cups start
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment