Automated Backup

Discussion in 'Installation/Configuration' started by Xtreem1986, Apr 26, 2007.

  1. Xtreem1986

    Xtreem1986 New Member

    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!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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;
     
  3. Xtreem1986

    Xtreem1986 New Member

    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
     
  4. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Does this automatic backup save all information including MSQL databases?

    Also, how do you restore the backup?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The backup contains the user databases as well.

    The backup is just a .zip file. Unpack ist and upload the contents again.
     
  6. jfruano

    jfruano New Member

    Hi Till.

    A question:

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

    Thanks.
     
  7. falko

    falko Super Moderator Howtoforge Staff

    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. :)
     
  8. Appie Thrasher

    Appie Thrasher Member HowtoForge Supporter

    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
     
    Last edited: Jun 20, 2007
  9. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    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.
     
  10. falko

    falko Super Moderator Howtoforge Staff

  11. Appie Thrasher

    Appie Thrasher Member HowtoForge Supporter

    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
     

Share This Page