Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
The Following 4 Users Say Thank You to ncoc.nl For This Useful Post:
ByteMe Networking (19th April 2011), falko (17th March 2011), nokia80 (2nd July 2011), till (16th March 2011)
Sponsored Links
 

Bookmarks

Tags
backup script, backup software, cron, cronjob

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Online Backup : What do you use and how do you setup it ? XZed Technical 5 4th January 2010 18:02
Backup solution for VMware ESXi Hagforce Server Operation 4 9th October 2009 19:01
Looking for an automatic backup for ISPConfig unsichtbare Installation/Configuration 1 2nd May 2008 14:33
Backup Solution for Windows hoihtah Suggest HOWTO 1 5th February 2008 17:50
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07


All times are GMT +2. The time now is 20:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.