Backup error

Discussion in 'ISPConfig 3 Priority Support' started by diablo666, May 3, 2019.

  1. diablo666

    diablo666 Active Member HowtoForge Supporter

    Hello,
    i've got a problem with backup, some days ago they stopped working, it seemes that database backups are working correctly, but file backup faisl.
    Errors are like this:
    Code:
    unlink(/var/backup/web11/web11_2019-05-03_09-41.zip): Input/output error in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup.inc.php on line 158
    The backup is a mount point in /var/backup, in ispconfig is server config there is the flag about the mount point.
    Any idea?
     
  2. diablo666

    diablo666 Active Member HowtoForge Supporter

    p.s.: i get also this errors
    Code:
    gzip: write error: Input/output error
    sh: /var/backup/web19/db_c0_XXX_2019-05-03_09-56.sql.gz: Errore di input/output
    
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Does the mount work? Check you can write to the backup directory.
    Is disk full? Check with
    Code:
    df -hT
    Is there anything in /var/log/syslog?
     
  4. diablo666

    diablo666 Active Member HowtoForge Supporter

    Hello,
    yes the mount seems to work, as root i can write and delete file regularly. Disk is not full
    Code:
    File system            Tipo       Dim. Usati Dispon. Uso% Montato su
    udev                   devtmpfs   2,0G     0    2,0G   0% /dev
    tmpfs                  tmpfs      396M  5,8M    390M   2% /run
    /dev/mapper/vg-lv_root ext4        37G   17G     19G  48% /
    tmpfs                  tmpfs      2,0G     0    2,0G   0% /dev/shm
    tmpfs                  tmpfs      5,0M     0    5,0M   0% /run/lock
    tmpfs                  tmpfs      2,0G     0    2,0G   0% /sys/fs/cgroup
    /dev/sda1              ext2       461M   59M    379M  14% /boot
    s3fs                   fuse.s3fs  256T     0    256T   0% /var/backup
    tmpfs                  tmpfs      396M     0    396M   0% /run/user/0
    
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is the size of backup directory real? That shows 256 Terabytes for /var/backup.
     
  6. diablo666

    diablo666 Active Member HowtoForge Supporter

    LOL!!! Yes mate, is real :)
     
  7. diablo666

    diablo666 Active Member HowtoForge Supporter

    I've done a reboot of the server and changed the s3fuse, using the one provided by distribution.
    Now the result is
    Code:
    PHP Warning:  chmod(): Input/output error in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup.inc.php on line 74
    PHP Warning:  unlink(/var/backup/web30/web30_2019-05-03_10-42.zip): Input/output error in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup.inc.php on line 158
    PHP Warning:  unlink(/var/backup/web22/web22_2019-05-03_10-44.zip): Input/output error in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup.inc.php on line 158
    PHP Warning:  chmod(): Input/output error in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup.inc.php on line 107
    PHP Warning:  chown(): Input/output error in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup.inc.php on line 109
    PHP Warning:  chgrp(): Input/output error in /usr/local/ispconfig/server/lib/classes/cron.d/500-backup.inc.php on line 110
    finished.
    
    Now on some websistes backup worked, and on others failed...
     

Share This Page