website backup trouble

Discussion in 'ISPConfig 3 Priority Support' started by JOP, Dec 2, 2024.

  1. JOP

    JOP Member HowtoForge Supporter

    I have two problems with the isponfig website feature "backup"
    1. does not work for websites anymorem but
    2. one website is constantly backed up... (loop)

    How can I check;
    a) which backup jobs are sheduled
    b) can stop this backup loop
    c) delete backup jobs history in ispconfig
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can use the cron_debug.php script to find out why the cronjob fails:

    cd /usr/local/ispconfig/server/
    php cron_debug.php --cronjob=500-backup.inc.php
     
  3. JOP

    JOP Member HowtoForge Supporter

    PHP Deprecated: Comments starting with '#' are deprecated in /etc/php.ini on line 676 in Unknown on line 0
    PHP Fatal error: Call to undefined method app::running_on_slaveserver() in /usr/local/ispconfig/server/lib/classes/backup.inc.php on line 1284
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Is your ISPConfig 3.2.12p1? Did you change anything in the code or are you using any third-party modules?
     
  5. JOP

    JOP Member HowtoForge Supporter

    It's "ISPConfig Version: 3.2.9p1", did not change anything
     
  6. JOP

    JOP Member HowtoForge Supporter

    how can I stop this backup job because it fills up hard disk.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You should update your ISPConfig installation to the current version.
     
  8. JOP

    JOP Member HowtoForge Supporter

    that is not possible, CentOS 7.x (PHP 5.4 but required PHP7.x).
    I know I have to migrate, but till then I need stop this backup loop.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Make a backup of the file:

    /usr/local/ispconfig/server/lib/classes/cron.d/500-backup.inc.php

    and then delete it. This will stop all website backups in ISPConfig.
     
    JOP likes this.
  10. JOP

    JOP Member HowtoForge Supporter

    thank you, done and server rebooted, but did not stop creating backups...
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    So this backup has been started manually and it is not an automated scheduled backup?
     
  12. JOP

    JOP Member HowtoForge Supporter

    maybe, but it finishes and makes the next backup - look, endless.
    Where is the queue to empty it?
     
  13. JOP

    JOP Member HowtoForge Supporter

    manual-db_xxxxx_2024-12-03_18-13.sql.gz
    manual-db_xxxxx_2024-12-03_18-14.sql.gz
    manual-db_xxxxx_2024-12-03_18-15.sql.gz
    manual-db_xxxxx_2024-12-03_18-16.sql.gz
    ...
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to remove the symlink to the backup plugin in /usr/local/ispconfig/server/plugins-enabled/ folder.
     
    JOP likes this.
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    You should also run a repair and optimize using phpmyadmin on all tables of the dbispconfig database; maybe some tables are crashed, which prevents the backup status from being written into the database.
     
    JOP likes this.
  16. JOP

    JOP Member HowtoForge Supporter

    stopped it, thank you
     
  17. JOP

    JOP Member HowtoForge Supporter

    how to get username and password :-(
    didn't need it for years because ispconfig is very good :)
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    Which Username and password for what?
     
  19. JOP

    JOP Member HowtoForge Supporter

    phpMyAdmin, to repair and optimize using phpmyadmin on all tables of the dbispconfig database
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    User is root, password can be found in the file /usr/local/ispconfig/server/lib/mysql_clientdb.conf
     
    JOP likes this.

Share This Page