HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Automated Backup (http://www.howtoforge.com/forums/showthread.php?t=12339)

Xtreem1986 26th April 2007 17:14

Automated Backup
 
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!

till 26th April 2007 17:37

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;

Xtreem1986 26th April 2007 17:47

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

FeraTechInc 15th May 2007 08:42

Does this automatic backup save all information including MSQL databases?

Also, how do you restore the backup?

till 15th May 2007 11:27

The backup contains the user databases as well.

Quote:

Also, how do you restore the backup?
The backup is just a .zip file. Unpack ist and upload the contents again.

jfruano 15th May 2007 14:09

Hi Till.

A question:

When the files and directories are restored, the permissions and assigned owners kept ?

Thanks.

falko 16th May 2007 15:34

Quote:

Originally Posted by jfruano
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. :)

DaRKNeSS666NL 20th June 2007 22:00

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

FeraTechInc 21st June 2007 02:47

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.

falko 21st June 2007 17:04

Quote:

Originally Posted by DaRKNeSS666NL
Is there also an opensource like ghost software were I can atomaticly do a disk dump?

Take a look here: http://www.howtoforge.com/back_up_re...th_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


All times are GMT +2. The time now is 11:08.

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