Backup / Restore

Discussion in 'General' started by SamTzu, Apr 18, 2007.

  1. SamTzu

    SamTzu Active Member

    I have tried to look for how to restore the backups. There seems to be only the backup manager but no restore manager.

    Is there a was to easily restore those backups?
    What kind of backup systems are you using your self?
    Any experience in restoring those backups?

    Sam
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no special function to restore them in the interface, just unzip the backup file and upload it with FTP.

    tar


    What experince do you expect? The backup contains all files of the site, as long as they have been readable by the admispconfig user.
     
  3. SamTzu

    SamTzu Active Member

    Backups

    Actually I was thinking about the ISPConfig system backups.
    How do you take backups of the ISP Manager? Hostingplans? etc.
    And how do restore them?
    On Tools there is an Data Export option.
    How can I restore Reseller & Client Data?

    Any insight on these questions would help a lot. thx


    Sam
     
    Last edited: Apr 20, 2007
  4. falko

    falko Super Moderator Howtoforge Staff

    Just create backups of the /root/ispconfig and /home/admispconfig directories, e.g. with the tar command. To back up and restore the ISPConfig database, take a look here:
    http://www.howtoforge.com/faq/6_3_en.html
    http://www.howtoforge.com/faq/6_4_en.html
     
  5. SamTzu

    SamTzu Active Member

    BackUp

    Thx, those paths are just what I was looking for.

    Sam

    PS. These paths should be added to the Administrators help document.
     
  6. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

  7. till

    till Super Moderator Staff Member ISPConfig Developer

  8. mlz

    mlz Member

    One point, don't forget to backup the DB, which is stored in MySQL. It's great to have all the files back, but a missing DB will ruin your day... Frankly, I just include that in my tar statement
    Code:
    [~]# tar zxvf cpbackup.tar.gz /home/admispconfig/ /root/ispconfig/ /var/lib/mysql/db_ispconfig
    Actually, I do my own script that also ftps it to another server and renames it with the date. But that is a little more involved.
     
  9. SamTzu

    SamTzu Active Member

    BackUps

    I'd like to see that script :eek:

    Sam
     

Share This Page