1

how to create schedule for synced files to my remote ftp host

view story
linux-howto

http://serverfault.com – my crontab: 2 4 * * * DAY=`date '+\%d-\%b-\%Y'`; [ ! -d /Backup/WebFiles ] && mkdir -p /Backup/WebFiles; nice -n +19 tar -cjf /Backup/WebFiles/webfiles-Files-Backup-$DAY.tar.bz2 /websites 0 */2 * * * find /Backup/WebFiles/ -mtime +4 -exec rm {} \; 1 2 * * * DAY=`date '+\%d-\%b-\%Y'`; DATE=`date '+\%d-\%b-\%Y-\%H-\%M'`; [ ! -d /Backup/Database/$DAY ] && mkdir -p /Backup/Database/$DAY; nice -n +19 mysqldump -u root -pmypass --lock-tables=false --databases database1 database2 database3 database4 | bzip2 > /Backup/Database/$DAY/SBK-DB-Backup-$DATE.sql.bz2 0 */2 * (HowTos)