this is just a note howto create autobackup.
every night create backup and copy to windows server(endianfirewall.tar.gz).

fstab:
//WINSERVERIP/backup /backup cifs username=USER,password=PASSWD 0 0


/etc/cron.d/dailybackup:

PATH=/sbin:/bin:/usr/sbin:/usr/bin

00 23     * * *     find /home/httpd/html/backup -name
'*-cron.tar.gz*' -exec rm -f {} ";" ; /usr/local/bin/backup-create.sh
--settings --dbdumps --logs --logarchives --cron --message=Daily
40 23     * * *     mount /backup ; find /home/httpd/html/backup -name
'*-cron.tar.gz' -exec cp -f {} /backup/endianfirewall.tar.gz ";" ;
umount /backup

Restart crond:
/etc/init.d/fcron restart


Z.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Efw-user mailing list
Efw-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to