Backup error code 12800

v7
backup

(Roberto) #1

NethServer Version: 7.3.1611 (Final)
Module: Backup data

Hi everyone,
I’m using backup on a USB external drive. The first backup is OK, the second FULL has given me the following error:
Anyone know how to translate …
Thank you

===== Report for data backup =====

Backup started at 2017-06-18 21:30:13
Pre backup scripts status: SUCCESS
Backup script status: ERROR

Extract from log file /var/log/backup-data.log:

2017-06-18 21:30:13 - START - Backup data started
2017-06-18 21:30:19 - STEP - pre-backup-done done
2017-06-18 21:55:33 - ERROR - Backup failed, see /var/log/last-backup.log for details - 12800
2017-06-18 21:55:33 - ERROR - Action backup-data-duplicity failed - 1

Extract from log file /var/log/last-backup.log:

Reading globbing filelist /tmp/0J0LKAOR6m
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed Jun 14 21:30:19 2017
Attempt 1 failed. IOError: [Errno 30] Read-only file system
Attempt 2 failed. IOError: [Errno 30] Read-only file system: '/mnt/backup/neth/duplicity-full.20170618T193020Z.vol26.difftar.gz’
Attempt 3 failed. IOError: [Errno 30] Read-only file system: '/mnt/backup/neth/duplicity-full.20170618T193020Z.vol26.difftar.gz’
Attempt 4 failed. IOError: [Errno 30] Read-only file system: '/mnt/backup/neth/duplicity-full.20170618T193020Z.vol26.difftar.gz’
Giving up after 5 attempts. IOError: [Errno 30] Read-only file system: ‘/mnt/backup/neth/duplicity-full.20170618T193020Z.vol26.difftar.gz’


(Michael Träumner) #2

Hi Roberto,
looks like the backup task has not the right to write to the zip-file (Read-only)


(Roberto) #3

ok. And if so, where do I change the process rights? It seems strange I have to do it …The backup process should have read, write and delete rights on the USB disk, otherwise how do you delete old backups?


(Stefano Zamboni) #4

you don’t have to change the process, you’d check your USB disk filesystem :wink:


(Michael Träumner) #5

Found the following at https://askubuntu.com/questions/551899/errno-30-read-only-file-system:

If Linux detects a problem on the harddrive, it will switch the filesystem to read only to prevent damage to the filesystem.

You can try to reformat your disc (Which file-system did you use?) and give it a second try.
Also you can look for the permissions which are set.

ls -al /mnt/backup/neth


(Roberto) #6

I prepared the HD as a manual, and it is the second that does so.
I will be unlucky …


(Roberto) #7

good morning,
I did another test:
I set up backup to a folder on the network.

Configuration.

The result.

===== Report for data backup =====

Backup started at 2017-06-20 09:30:12
Pre backup scripts status: SUCCESS
Backup script status: ERROR

Extract from log file /var/log/backup-data.log:

2017-06-20 09:30:12 - START - Backup data started
2017-06-20 09:30:16 - STEP - pre-backup-done done
2017-06-20 09:32:16 - ERROR - Backup failed, see /var/log/last-backup.log for details - 12800
2017-06-20 09:32:16 - ERROR - Action backup-data-duplicity failed - 1

Extract from log file /var/log/last-backup.log:

Reading globbing filelist /tmp/UQlvIQ2McW
Attempt 1 failed. OSError: [Errno 5] Input/output error: '/mnt/backup/neth’
Attempt 2 failed. OSError: [Errno 5] Input/output error: '/mnt/backup/neth’
Attempt 3 failed. OSError: [Errno 5] Input/output error: '/mnt/backup/neth’
Attempt 4 failed. OSError: [Errno 5] Input/output error: '/mnt/backup/neth’
Giving up after 5 attempts. OSError: [Errno 5] Input/output error: ‘/mnt/backup/neth’


(Stefano Zamboni) #8

you’ve been asked to post here some info, please do, thank you


(Roberto) #9

For the last post, restarting the system, the backup started working properly.
Next, I’m testing again usb disk, and let me know.
Thank you