ISPConfig backup

Discussion in 'Installation/Configuration' started by Frost, Oct 4, 2019.

  1. Frost

    Frost Member

    I am receiving the error below when running php /usr/local/ispconfig/server/cron_debug.php --cronjob=500-backup.inc.php. However the backup was created. but when I test the automatic backup by providing the backup time, cron.log doesn't show anything and backup doesn't run.
    This issue only happens when backup directory is a mount point. When I tried to use /var/backup directory the backup works perfectly.
    I have backup web files owned by web user as zip selected

    Error received:
    chattr: Inappropriate ioctl for device while reading flags on /var/www/clients/client3/web18
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check your mount script and ensure that it contains absolute paths to all commands used in there.
     
  3. Frost

    Frost Member

    What do you mean the mount script? I have this in my fstab.
    freenas.domain.example:/mnt/wd-pool/wd-data/backup/www1/autobackup /mnt/backup nfs _netdev,nolock,soft,intr,nfsvers=3,tcp,bg,rw 0 0
    freenas.domain.example:/mnt/wd-pool/wd-data/shared/www /var/www nfs _netdev,nolock,soft,intr,nfsvers=3,tcp,bg,rw, 0 0

    I put /mnt/backup as my backup directory.
     

Share This Page