HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   ispconfig backup cron (http://www.howtoforge.com/forums/showthread.php?t=12063)

poisen 13th April 2007 09:38

ispconfig backup cron
 
Hello everybody,

I got a short question. I am running ISPConfig on my Server, now I want a backup generated every day of all the web, user and mysql data on the server, just like you can generate it by using tools - backup manager - backup in the ispconfig config menu. How can I do that?

What I know is that the backup is saved as a *.zip flle, which is okay for me. I just want to be able to backup all that and be able to save it to another location on the server.

I'd be thankful for some help.

Eddie

till 13th April 2007 09:41

Quote:

I got a short question. I am running ISPConfig on my Server, now I want a backup generated every day of all the web, user and mysql data on the server, just like you can generate it by using tools - backup manager - backup in the ispconfig config menu. How can I do that?
You can not do it with this tool as it requires that you are logged into the interface.

For such a automatic backup, you will either have to use the cron backup function which can be activated in /home/admispconfig/ispconfig/lib/config.inc.php, this function creates a backup of every site in the "backup" directory of the site every night. Or you will have to write your own backup script.

poisen 13th April 2007 09:45

Hi Till,

is it possible to import the backup file, that is saved in the backup directory of each website, in ispconfig again?

till 13th April 2007 09:50

That is just a .zip file, you sould be able to unpack it with every zip program on linux and windows.

poisen 13th April 2007 09:57

Quote:

Originally Posted by till
That is just a .zip file, you sould be able to unpack it with every zip program on linux and windows.

okay, now how about this. I have another server running ISPConfig, same version, same setup. The reason why I am asking is in case one of those 2 servers should die, I want to have all the data and websites running as soon as possible on the second server, that's why I had the question about the backup.

Do you have any idea how I can handle this the best? I don't want to setup all the ISPConfig Customers and Webs again on the second server and then upload every single website and database stuff, because that takes forever. So I thought there might be a possibility to create a backup of all the files on one server, save these to a archive and afterwards just unzip this archive and place it on the second server, but that probably doesn't work that way.

guardian 13th April 2007 16:11

Look at this post:
http://www.howtoforge.com/forums/sho...88&postcount=2

poisen 14th April 2007 12:06

Quote:

Originally Posted by guardian

Thanks for that first of all, but I need to make a backup while the system is running and there is no possibility to stop postfix and apache and all that during any time of the day.

till 14th April 2007 12:26

You dont have to stop apache and postfix, it is just more secure to stop them.


All times are GMT +2. The time now is 16:19.

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