Product SiteDocumentation Site

/root/JNOSmailBackup2

 
#!/bin/sh -x
SAVESET=`date -u "+JNOSmail-%y%m%d.tgz"`
echo $SAVESET
cd /backup
rm -f JNOSmail*.tgz
tar -czp --ignore-failed-read -f /backup/$SAVESET /jnos/spool/mail /jnos/spool/mqueue