Backup over VPN keeps failing :(

backup
openvpn

(Jan Jacobs) #1

So, i have created and connected 2 OpenVPN servers, this works like a charm, and i can access the network on either side.

However, backup keep failing :frowning:
it stops with volume 35, beeing 90,3MB big.
i have run 5 different backups now, and they all fail at volume 35, 90,3MB big.

I would think, if these where network problems, they would occur randomly, also, at the moment the backup fails, i can still access the share :frowning:

Does anybody know whats happening here?

also, free space is available triple the size of the backup, so this shouldn’t be a problem?

here’s the log:

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

2017-07-13 10:15:10 - START - Backup data started
2017-07-13 10:16:05 - STEP - pre-backup-done done
2017-07-13 10:49:08 - ERROR - Backup failed, see /var/log/last-backup.log for details - 12800
2017-07-13 10:49:08 - ERROR - Action backup-data-duplicity failed - 1

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

Reading globbing filelist /tmp/Gc7Gvu8_DJ
Synchronizing remote metadata to local cache…
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-full-signatures.20170620T053013Z.sigtar.gz (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-full.20170620T053013Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-inc.20170620T053013Z.to.20170621T053012Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-inc.20170621T053012Z.to.20170622T053011Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-inc.20170622T053011Z.to.20170623T053012Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-inc.20170623T053012Z.to.20170624T053012Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-inc.20170624T053012Z.to.20170625T053012Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-inc.20170625T053012Z.to.20170626T053013Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-inc.20170626T053013Z.to.20170627T053117Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-inc.20170627T053117Z.to.20170628T053013Z.manifest (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-new-signatures.20170620T053013Z.to.20170621T053012Z.sigtar.gz (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-new-signatures.20170621T053012Z.to.20170622T053011Z.sigtar.gz (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-new-signatures.20170622T053011Z.to.20170623T053012Z.sigtar.gz (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-new-signatures.20170623T053012Z.to.20170624T053012Z.sigtar.gz (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-new-signatures.20170624T053012Z.to.20170625T053012Z.sigtar.gz (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-new-signatures.20170625T053012Z.to.20170626T053013Z.sigtar.gz (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-new-signatures.20170626T053013Z.to.20170627T053117Z.sigtar.gz (not authoritative at backend).
Deleting local /var/lib/nethserver/backup/duplicity/0fc431df0fc957db07a72607a751208e/duplicity-new-signatures.20170627T053117Z.to.20170628T053013Z.sigtar.gz (not authoritative at backend).
Last full backup left a partial set, restarting.
Last full backup date: Thu Jun 29 07:30:26 2017
RESTART: The first volume failed to upload before termination.
Restart is impossible…starting backup from beginning.
Reading globbing filelist /tmp/Gc7Gvu8_DJ
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
Last full backup is too old, forcing full backup
Attempt 1 failed. IOError: [Errno 5] Input/output error
Attempt 2 failed. IOError: [Errno 5] Input/output error
Attempt 3 failed. IOError: [Errno 5] Input/output error
Attempt 4 failed. IOError: [Errno 5] Input/output error
Giving up after 5 attempts. IOError: [Errno 5] Input/output error


(Jan Jacobs) #2

forget it :frowning:
it was a space issue afterall :’(


(Jan Jacobs) #3

okay so… now i end up with this, i tried deleting the backup module, re-installed it, removed the var/lib/nethserver/backup/duplicity folder, etc etc, solutions i found on this community site, but to no avail :frowning:

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

Backup started at 2017-07-13 15:37:50
Pre backup scripts status: ERROR

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

2017-07-13 15:37:50 - START - Backup data started
2017-07-13 15:38:06 - ERROR - Event pre-backup-data failed - 1


(Michael Kicks) #4

First result looking for the latest row of your log.


(Alessio Fattorini) #5

Uhm looks like you have network problems. Can you try with a local backup? Like a shared folder on another server or a local NAS?

Attempt 1 failed. IOError: [Errno 5] Input/output error


Backup-Data not working