Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd June 2008, 16:15
hmfireball hmfireball is offline
Junior Member
 
Join Date: May 2008
Location: Nancy, France
Posts: 27
Thanks: 0
Thanked 4 Times in 3 Posts
Default Schedule backups with ISPConfig?

ISPConfig allow to manually backup sites to a FTP server.
But is there a way to automate/schedule the backups and have them sent to a FTP server automatically ?
Thanks.
Henri

Last edited by hmfireball; 3rd June 2008 at 16:29.
Reply With Quote
Sponsored Links
  #2  
Old 3rd June 2008, 20:53
gjcomputer gjcomputer is offline
Member
 
Join Date: Jan 2006
Location: missouri, USA
Posts: 91
Thanks: 15
Thanked 2 Times in 2 Posts
Default

i have been looking for this for a while now as well. i like the way the ispconfig web interface backs up everything into a zip file, and you can unzip everything and use what you need. good for migration, and moving servers. very interested in thsi as well
__________________
6r36.com
Reply With Quote
  #3  
Old 3rd June 2008, 22:00
hmfireball hmfireball is offline
Junior Member
 
Join Date: May 2008
Location: Nancy, France
Posts: 27
Thanks: 0
Thanked 4 Times in 3 Posts
Default

Yes I love the zip thing too!
There must be an easy way to automate the sending to a FTP server but I'm not enough expert in Linux to know about it.
Reply With Quote
  #4  
Old 4th June 2008, 19:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Take a look at this tutorial: http://www.howtoforge.com/ftp-backup...ty-debian-etch
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th June 2008, 08:55
hmfireball hmfireball is offline
Junior Member
 
Join Date: May 2008
Location: Nancy, France
Posts: 27
Thanks: 0
Thanked 4 Times in 3 Posts
Default

Thank you Falco but I would like to automate the sending of the backup files made by ISPConfig.
Reply With Quote
  #6  
Old 6th June 2008, 11:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

You can do this by creating a cron job.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 6th June 2008, 11:20
hmfireball hmfireball is offline
Junior Member
 
Join Date: May 2008
Location: Nancy, France
Posts: 27
Thanks: 0
Thanked 4 Times in 3 Posts
Default

I'm not sure that it can work as I need to be sure that ISPConfig has finished to write the backup files before trying to send them to the FTP server.

Wouldn't it be better to include some code after the PHP script of ISPConfig that creates sites backups?
Do you know the location of this script and where I could append some code? I don't want to break the script and the comments are in German

Thanks!

Henri
Reply With Quote
  #8  
Old 7th June 2008, 11:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

It's the /root/ispconfig/scripts/shell/backup.php script.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 10th June 2008, 06:31
gjcomputer gjcomputer is offline
Member
 
Join Date: Jan 2006
Location: missouri, USA
Posts: 91
Thanks: 15
Thanked 2 Times in 2 Posts
Default

hmm, gonna have to figure out how to add this as a cron job to run backup to an ftp server. thanks falko
__________________
6r36.com
Reply With Quote
  #10  
Old 10th June 2008, 11:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,763
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
 
Default

This script is not made to run backups on a FTP server. It might be easoier if you write a custom shell script that simply makes a tar.gz file of the /var/www directory (or the place were your webs are stored) and then copy the tar.gz file to the ftp server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
I love ISPConfig rafael-ec General 0 9th August 2007 18:09
Ispconfig update problems from 2.4 to 2.6 adrenalinic Installation/Configuration 23 7th September 2006 12:58
4 questions about ispconfig and domains, please help! dimas Installation/Configuration 7 1st August 2006 11:55
Migrating from Virtualmin to ISPConfig xare Installation/Configuration 3 16th July 2006 12:58
ISPConfig Backups SleeperZ Feature Requests 0 9th November 2005 09:36


All times are GMT +2. The time now is 05:07.


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