Hi there,

On Mon, 15 Apr 2024, Brad Alexander wrote:

I am having a bit of a problem with my backuppc install that just cropped
up recently.

Most of my network runs the latest version of FreeBSD 14.0-RELEASE, and it
has been running on FreeBSD for years.

Noted. [1]

So my backuppc server is in a FreeBSD jail on dedicated jails server
(i-5 7500, 32 GB RAM), with backing storage that is NFS mounted from
from my TrueNAS host.

Noted. [2]

I am backing up a total of 8 jails, 3 hardware servers, my desktop, my
laptop, all running FreeBSD 14.0. I am also backing up my wife's desktop,
which is running linux. I'm using rsync. Everything has been backing up
properly, then one day about 2 weeks ago, backups on my laptop quit
working. I started receiving the error message

backup failed (rsync error: error in rsync protocol data stream...)

R bpc_read: read past EOF; readSize = 1024, posn = 356352, fileSize = 0, 
bufferSize = 8388608
R bpc_read: read past EOF; readSize = 17408, posn = 0, fileSize = 0, bufferSize 
= 8388608
...
[ skipped some lines ]
...
R bpc_poolWrite_updateMatches: can't open candidate file
...
Since it is only occurring on these two hosts, but none of the other 14,
can someone explain what is going on here?

Are you running the server from UPS?  Because to me that looks like
filesystem damage.  If I'm right it could be a lost write at a power
failure or something, or maybe it could be that a storage medium is on
the way out.  I'd want to know ASAP.  To start with, can you run fsck
or something like that on the TrueNAS host?

[1] I note that this has been working for years, but all the same I
feel the need to say that in my experience NFS has been truly awful
for this kind of thing.  Performance, reliability, everything.

[2] NAS hosts have a habit of getting compromised, however from all
you've said I have to assume that you're on top of that.  But it might
be worth considering the possibility.  I wouldn't touch them with a
ten metre pole.  Putting TrueNAS and NFS in the same system seem to me
like asking for it but I guess I have to keep coming back to [1]. :/

Can't really fault you for putting BackupPC in a jail, but I'd be more
concerned about things attacking BackupPC than I would that the backup
server might attack the rest of the network.  My personal take on it
is to run separate hardware for the backup server.

--

73,
Ged.


_______________________________________________
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