I like it - thanks!

Ifan


Zola-3 wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/daily-autobackup-tp19993528p20150000.html
Sent from the efw-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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