Backup problem

Discussion in 'ISPConfig 3 Priority Support' started by Christophe69, May 15, 2020.

  1. Christophe69

    Christophe69 Member

    Hi there,
    I am trying to make a backup today, but it looks like it doesn't work. Usually backups are scheduled weekly, but i need to do a backup as soon as possible.

    I tried this command, but it does not work.
    Code:
    php /usr/local/ispconfig/server/cron_debug.php --cronjob=500-backup.inc.php
    The command display "Finished" but no backups were created.

    I tried another method:
    1- I did change the "Backup time" in "Server Configuration"
    2- I did change the "Backup interval" of each site from "Weekly" to "Daily"
    3 - I restarted the cron service.

    But it doesn't work either...

    I found this article from Florian Schaal:
    https://schaal-it.com/backup-now-for-websites-and-database-with-ispconfig/

    But i don't have any "Backup Now" button in my interface.



    My questions are:
    What can I do to backup my sites immediatly?
    How can I know reliably if the backup system works without waiting for Sunday?

    ISPConfig check:
    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 9.11 (stretch)
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.1.15p2
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.0.33-14+0~20191218.25+debian9~1.gbpae1889
    
    ##### PORT CHECK #####
    
    [WARN] Port 22 (SSH server) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 26431)
    [INFO] I found the following mail server(s):
            Postfix (PID 1296)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 775)
    [INFO] I found the following imap server(s):
            Dovecot (PID 775)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 6348)
    
    ##### LISTENING PORTS #####
    (seulement              ()
    Adresse         (distante)
    [anywhere]:143          (775/dovecot)
    [anywhere]:465          (1296/master)
    [anywhere]:53618                (840/sshd)
    [anywhere]:21           (6348/pure-ftpd)
    ***.***.***.***:53              (741/named)
    [localhost]:53          (741/named)
    [anywhere]:25           (1296/master)
    [localhost]:953         (741/named)
    [anywhere]:993          (775/dovecot)
    [anywhere]:995          (775/dovecot)
    [localhost]:10023               (979/postgrey)
    [localhost]:10024               (22585/amavisd-new)
    [anywhere]:15080                (3039/./cron.php)
    [localhost]:10025               (1296/master)
    [localhost]:10026               (22585/amavisd-new)
    [localhost]:3306                (1293/mysqld)
    [localhost]:10027               (1296/master)
    [anywhere]:587          (1296/master)
    [localhost]:11211               (743/memcached)
    [localhost]:9100                (863/noderig)
    [anywhere]:110          (775/dovecot)
    [localhost]43           (775/dovecot)
    *:*:*:*::*:80           (26431/apache2)
    *:*:*:*::*:8080         (26431/apache2)
    *:*:*:*::*:465          (1296/master)
    *:*:*:*::*:8081         (26431/apache2)
    *:*:*:*::*:53618                (840/sshd)
    *:*:*:*::*:21           (6348/pure-ftpd)
    *:*:*:*::*:53           (741/named)
    *:*:*:*::*:25           (1296/master)
    *:*:*:*::*:953          (741/named)
    *:*:*:*::*:443          (26431/apache2)
    *:*:*:*::*:993          (775/dovecot)
    *:*:*:*::*:995          (775/dovecot)
    *:*:*:*::*:10023                (979/postgrey)
    *:*:*:*::*:10024                (22585/amavisd-new)
    *:*:*:*::*:10026                (22585/amavisd-new)
    *:*:*:*::*:587          (1296/master)
    [localhost]10           (775/dovecot)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    f2b-pureftpd  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 21
    f2b-dovecot-pop3imap  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 110,995,143,993
    f2b-postfix  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 25,465,587
    f2b-sshd   tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 22
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain f2b-dovecot-pop3imap (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-postfix (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-pureftpd (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This can not work as the change will take place after the next old interval. So when you had set it to weekly, then the new daily interval will start after the next weekly date.

    There is no such function yet, see pending feature request in our feature tracker.

    The timer is already set and will trigger on that date. You could try to manually change the date in sys_cron table in the database though, but I won't call this a reliable test.
     
  3. Christophe69

    Christophe69 Member

    Thank you,
    I will try to change the date in sys_cron.
     

Share This Page