I upgraded my Debian the other day and ran the ISPConfig install to repair all the glitches with versions. It worked great, except now I'm not having my sites automatically backed up. Cronjobs are configured correctly (the rest run fine) I've attempted to run "php /root/ispconfig/scripts/shell/backup.php" from the command line and there was no joy. I took a look in the file and found "if($go_info["server"]["do_automated_backups"] != 1) die();" So I commented it out and it worked fine. I guess do_automated_backups is a variable I can set somewhere, but I torn myself apart looking for where I can turn this on properly. I figure someone is going to point out the obvious here and tell me its right under my nose, but I can't find it anywhere! In the mean time I'll keep that line commented!
You can enable the automated backups in /home/admispconfig/ispconfig/lib/config.inc.php by changing or adding the line: $go_info["server"]["do_automated_backups"] = 1;
Ah thanks a lot =). I had been thinking that was in the database so wasted a lot of time looking there. All is working great, thanks again
Does this automatic backup save all information including MSQL databases? Also, how do you restore the backup?
The backup contains the user databases as well. The backup is just a .zip file. Unpack ist and upload the contents again.
Hi Till. A question: When the files and directories are restored, the permissions and assigned owners kept ? Thanks.
No. As far as I know, this is possible with tar.gz files, but not with zip files. But if you upload the files through FTP, they should get the correct permissions and owner automatically.
One question from this site. How often is the backup running. I am looking just for a way to backup my server and web pages on it every night. Learned the hard way lost one of my site's yesterday without an backup. So i must start over again. Is there also an opensource like ghost software were I can atomaticly do a disk dump? I have just set it to run so chanced the 0 to 1 But were can I find the backup when it is created? TIA
I'm looking for the same exact thing. I will be looking into the available options and setting up something on my server soon. I will post in this thread my walkthrough.
Take a look here: http://www.howtoforge.com/back_up_restore_harddrives_partitions_with_ghost4linux http://www.howtoforge.com/howto_linux_systemimager The other tutorials in this category might also be interesting: http://www.howtoforge.com/taxonomy_menu/1/34
Falco Thanks again I already found the post about g4l and looking in to it. Also I have found a post concurning backupPC and so I have to do some more reading And ofcourse I will look into your links. Hope that one of the programs will fit my needs. Greetz