This is picking up something that I didn't have time to sort out in
October.

I keep getting a problem from tar when backuppc goes to back up the
localhost, which includes a removable drive in the backup targets:

tarExtract: Done: 0 errors, 1 filesExist, 0 sizeExist, 0 sizeExistComp, 1 
filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 9243 inodeLast
Running: /usr/bin/sudo /bin/tar -c -v -f - -C /home/adam/.ssh --totals 
--newer=2023-01-19\ 03:00:00 .
incr backup started back to 2023-01-19 03:00:00 (backup #1392) for directory 
/home/adam/.ssh
Xfer PIDs are now 40706,40705
[ skipped 1 lines ]
readOutput: sysread returns 0 and got EOF
tarExtract: /usr/share/backuppc/bin/BackupPC_tarExtract: got Full = 
tarExtract: /usr/share/backuppc/bin/BackupPC_tarExtract starting... 
(XferLogLevel = 1)
[ skipped 1 lines ]
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 9244 inodeLast
Running: /usr/bin/sudo /bin/tar -c -v -f - -C /var/lib/backuppc/.ssh --totals 
--newer=2023-01-19\ 03:00:00 .
incr backup started back to 2023-01-19 03:00:00 (backup #1392) for directory 
/var/lib/backuppc/.ssh
Xfer PIDs are now 40709,40708
[ skipped 1 lines ]
readOutput: sysread returns 0 and got EOF
tarExtract: /usr/share/backuppc/bin/BackupPC_tarExtract: got Full = 
tarExtract: /usr/share/backuppc/bin/BackupPC_tarExtract starting... 
(XferLogLevel = 1)
[ skipped 1 lines ]
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 9245 inodeLast
Running: /usr/bin/sudo /bin/tar -c -v -f - -C /media/adam/Videos-2TB/Videos 
--totals --newer=2023-01-19\ 03:00:00 .
incr backup started back to 2023-01-19 03:00:00 (backup #1392) for directory 
/media/adam/Videos-2TB/Videos
Xfer PIDs are now 40712,40711
/bin/tar: /media/adam/Videos-2TB/Videos: Cannot open: No such file or directory
/bin/tar: Error is not recoverable: exiting now
readOutput: sysread returns 0 and got EOF
Tar exited with error 512 () status
tarExtract: /usr/share/backuppc/bin/BackupPC_tarExtract: got Full = 
tarExtract: /usr/share/backuppc/bin/BackupPC_tarExtract starting... 
(XferLogLevel = 1)
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 9246 inodeLast
Xfer PIDs are now 
Got fatal error during xfer (Tar exited with error 512 () status)
Backup aborted (Tar exited with error 512 () status)

50% of the time, the backup works. When I run the command above as the
backuppc user, it never fails. The removable drive is always
connected. 

Following advice from this mailing list in October, I searched all my
logs and found nothing related. 

I also added this to ArchivePreUserCmd: ls -la /media/adam/Videos-
2TB/Videos 

However the error has not been solved.

Here's the original email in the
archive: 
https://sourceforge.net/p/backuppc/mailman/backuppc-users/thread/ed9ae59-1421-90b0-a546-d5cd95f0facf%40jubileegroup.co.uk/

Have you got any more advice on this for me? 

Thanks & regards
Adam
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to