ISPConfig backups

Discussion in 'Installation/Configuration' started by ytn3rd, Apr 1, 2014.

  1. ytn3rd

    ytn3rd New Member

    Hey,
    I was looking into backup scripts for ISPConfig3 so I could backup all of my sites to Amazon S3. I found that it appears ISPConfig3 already does its own backup since 3.0.5 :D
    When I looked in the backup directroy the only backup folder is ispconfig_2013-09-04_00-14 which is fair out of date.
    Is there anyway to manually run a backup script? Should this be a cronjob by default?

    Cheers
    - Brad
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can enable the website backus on the backup tab of the website settings.
     
  3. ytn3rd

    ytn3rd New Member

    Ohh, I see. Is there any way to make that automatically on for new websites? or a way to mass enable it for all sites?

    I'll enable it now for a few sites and check again tomorrow if anything has updated.
    I assume this is part of the cron_daily cronjob? I'll look at integrating my S3 backup after that script has executed.

    EDIT:
    I ran /usr/local/ispconfig/server/cron_daily.sh just to test it out. Got a few warnings about webalizer not being installed (missing /etc/webalizer/webalizer.conf), and then a few mysqldump errors for missing root password. I think I updated it at some point, where can I manually go update this for ispconfig?
     
    Last edited: Apr 1, 2014
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    /usr/local/ispconfig/server/lib/mysql_clientdb.conf

    be carefully with running cron_daily manually, as your traffic statistics will be wrong when you start it more then once a day.
     
  5. ytn3rd

    ytn3rd New Member

    We don't use daily stats so that is fine :)

    That got my backups to happen, got web11, web13 and web26 in /var/backup which will be the three I enabled it for. They had the relevant website/db backups.

    Still have the ispconfig_2013-09-04_00-14, I assume this was from when I ran an update. Is there a way to get ispconfig to backup its settings as well?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, thats the update backup.

    No, not yet.
     
  7. ytn3rd

    ytn3rd New Member

    Cheers. Thanks for all the support and quick feedback :D
     

Share This Page