Backup doesnt work, no log

Discussion in 'General' started by HellMind, Sep 29, 2020.

  1. HellMind

    HellMind Member

    I tried debuging it with:
    php /usr/local/ispconfig/server/cron_debug.php --cronjob=500-backup.inc.php

    Code:
    [email protected]:/var/log/ispconfig# php /usr/local/ispconfig/server/cron_debug.php --cronjob=500-backup.inc.php
    finished.
    [email protected]:/var/log/ispconfig#
    But I see no lines are added to /var/log/ispconfig/cron.log nor /var/log/ispconfig/ispconfig.log
    How can I debug it?
    Why there is no error?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely, this plugin has no debug code then.
     
  3. HellMind

    HellMind Member

    What plugin Till"
    500-backup.inc.php ?
     
  4. HellMind

    HellMind Member

    After I edited, 500-backup.inc.php , to see what it does, I discover that I must set the backup interval to daily to force a backup using that command line

    Now I get:
    [email protected]:/var/backup/web2# php /usr/local/ispconfig/server/cron_debug.php --cronjob=500-backup.inc.php
    tar: ./dev/log: socket ignored

    It works, but why I get that tar error/warning?
     
    Last edited: Sep 29, 2020
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    That's ok as it is a socket which can not be backed up in a tar archive, as the tar output mentioned, it is just ignored and not an error.
     

Share This Page