POLALA.COM welcome to my space |
HOME Simple, Easy, Powerful daily backup script |
| Simple, Easy, Powerful daily backup script | | Published by: mike 2009-01-09 |
| Freeware dfg BackUp XP at DirFile - Utilities > Backup:: award winning and easy to use back up and restore program for nearly all backup We recommend a daily backup of all changed files triggered by the dfg ShutDown http://www.dirfile.com/dfg_backup_xp.htmHOME | After looking a while for a decent backup script, I thankfully found my old one saved on a local computer. I'm not really a fan of any of the ones listed, but I do remember getting this one from this web site.
I'm sorry I can't give credit to the original person who wrote it, but here it is for all to use:
#!/bin/sh
#make sure directory exists first
backup=/YOUR/DIRECTORY/HERE MySQL Auto Backup download from Back Up category:: Powerful task scheduler. Execute SQL script automatically. Run manager for a single task. Titan Backup is an easy-to-use and complete solution for home and http://www.sofotex.com/MySQL-Auto-Backup-download_L29759.htmlHOME | Hot Scripts Refer Listing # 69923 To A Friend:: SUGGEST Sshbak: easy-to-use remote backup over SSH TO A FRIEND Sshbak is very simple but powerful and secure remote backup utility. http://www.hotscripts.com/refer/69923.htmlHOME |
#this is your mysql root password
password=YOURPASS
#this is your db
db=YOURDATABASE
#get dates into variables
day=`date +%a`
month=`date +%m`
weeknumber=`date +%V`
/usr/local/mysql/bin/mysqldump -uroot -p${password} --opt ${db} gzip > ${backup}/forum${day}.sql.gz Projects tagged backup - Ohloh:: Net::Amazon::S3 is a simple, easy to use Ruby implementation of the Amazon S3 REST API. A fast, powerful backup system built upon Git and efficient, http://www.ohloh.net/tags/backupHOME |
/usr/local/mysql/bin/mysqldump -uroot -p${password} --opt mysql gzip > ${backup}/mysql${day}.sql.gz
if [ "$day" = "Fri" ]; then
#if you want 1 extra backup every month (12 a year), use this one
#cp ${backup}/forum${day}.sql.gz ${backup}/forum${day}.${month}.sql.gz
#if you want 1 backup every week (52 per year), use this one
#Ya, we're doing once a week
cp ${backup}/forum${day}.sql.gz ${backup}/forum${day}.${weeknumber}.sql.gz
ls -l ${backup}
exit 0
fi
ls -l ${backup}
exit
zX
thanks :)
there's one here http://www.vbulletin.com/forum/showthread.php?s=&threadid=4256 tried and proven to work for me and hundreds of other vB users
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|
#If you have any other info about this subject , Please add it free.# | |
|