CentOS 6.8, ISPConfig 3.1.1p1 website backup

Discussion in 'ISPConfig 3 Priority Support' started by inside83, Dec 17, 2016.

  1. inside83

    inside83 Member HowtoForge Supporter

    Hello!

    Backup option within ISPConfig is not working as expected.
    Actually, it doesn't delete old backups.
    I've set it up to backup daily and to keep the last two backups (screenshot below)
    2016-12-17 02_51_10-ISPConfig 3.1.1p1.png
    But '/var/backup/web7' has file backups for several other days (screenshot below).
    2016-12-17 02_51_58-web7 - My VPS_Afterburst_vps.goinfobl.com - WinSCP.png
    Two things bug me:
    1. it uses HDD space unnecessary and
    2. it stores only file backups for those other days, not DB backups.
    Is there any way to fix this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you change it to two days from a longer timespan recently, or was it set at days for several days now?
     
  3. inside83

    inside83 Member HowtoForge Supporter

    it was daily, set to 7 days...now it's daily, set to 2 days
     
  4. inside83

    inside83 Member HowtoForge Supporter

    And other site on the same server is set to backup daily and to keep 3 last backups.
    2016-12-19 00_41_50-ISPConfig 3.1.1p1.png
    And there is DB backup from last 3 days (Dec 17th, Dec 18th and Dec 19th), but file backup is from Dec 16th, Dec 18th and Dec 19th.
    2016-12-19 00_41_14-web4 - My VPS_Afterburst_vps.goinfobl.com - WinSCP.png
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    If I remember correctly, there was a problem that old backups were not deleted correctly when you chose a shorter backup period. If yu can not find a bugreport for the issue in the bugtracker, then feel free to add a new one so that we can check that for ispconfig 3.2.
     
  6. inside83

    inside83 Member HowtoForge Supporter

  7. inside83

    inside83 Member HowtoForge Supporter

    I've set it to backup once daily and it only backups data not the database.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Check that the correct mysql root password is set in the file /usr/local/ispconfig/server/lib/mysql_clientdb.conf and that the linux programs "zip" and "sudo" are installed.
     
  9. inside83

    inside83 Member HowtoForge Supporter

    MySQL password is correct and zip and sudo are installed

    Code:
    Package sudo-1.8.6p3-25.el6_8.i686 already installed and latest version
    Package zip-3.0-1.el6_7.1.i686 already installed and latest version
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the database details in ISPConfig and ensure that a website is selected there for this database.
     

Share This Page