View Single Post
  #1  
Old 16th March 2011, 13:24
ncoc.nl ncoc.nl is offline
Member
 
Join Date: Feb 2011
Posts: 36
Thanks: 3
Thanked 17 Times in 11 Posts
Post Another FTP backup solution

Hello everyone,

Because of not finding a backup solution that fit my needs i've take some pieces from other scripts added some of my own and rewrite it to this one.

How it works:
The script makes a backup of the MySQL database in separate files (each DB has it own file) every 4 hours by using a cronjob, these files are stored in a local directory.

When finished the DB backup and the ISPconfig (Website) backup are copied to a FTP server, to prevent unneccessary load and bandwidth use the backup of the websites is copied once a day during the night (ISPconfig makes 1 backup at 0:30 so extra copies are not needed)

For this script the backup option in ISPconfig must be set.

Do NOT forget to change the < > values to fit your needs

A little manual is in top of the script.

Ronald
Attached Files
File Type: zip wdbackup.zip (1.6 KB, 295 views)
File Type: zip wdbackup2ftp.zip (3.2 KB, 242 views)
File Type: zip wdbackup2ftp-int.zip (3.1 KB, 223 views)

Last edited by ncoc.nl; 23rd June 2011 at 15:52. Reason: Rewritten wdbackup.sh
Reply With Quote
Sponsored Links