Critical folders in an ISPConfig remote server that need to be backed up for disaster prevention.

Discussion in 'ISPConfig 3 Priority Support' started by webguyz, Sep 3, 2018.

  1. webguyz

    webguyz Active Member HowtoForge Supporter

    I had a need to install a remote webserver in my multiserver network on a host service that does not offer backups or snapshots. My plan was get it up and working and then use rsync to copy over the critical folders to another server. In the event of total failure of this remote server my plan is to use the host service re-install base os Debian 9 and get the server up and running, and then rsync back all ISPConfig needed specific folders.

    Question is what specific folders need to be copied. This is going to be a remote webserver so I need ftp, apache, mysql, postfix, letsencrypt, and webstats services.

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    At least these folders are required on a standard ISPConfig system:

    /var/vmail
    /var/www
    /etc
    /usr/local/ispconfig
    /var/log/ispconfig

    and all MySQL databases (e.g. dump the databases with mysqldump and then backup the resulting .sql files).

    If you want to keep the backup history (website backups), then add /var/backup too.
     
  3. webguyz

    webguyz Active Member HowtoForge Supporter

    Thanks Till.
     

Share This Page