Re: [BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-25 Thread Gavin Henry
> > > > Hopefully, you have backuppc v4, which does not have the hard link > limitation issue so that you can just do a regular rsync. > Yeah, v4 at home in Fedora 32, but v3 in two datacentres (Edinburgh and London) backing up 102~ nodes at SureVoIP (my business). Each sites big BackupPC box

Re: [BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-24 Thread Gavin Henry
On Sat, 24 Jul 2021, 21:52 Kenneth Porter, wrote: > On 7/24/2021 1:34 PM, Gavin Henry wrote: > > Remind me, where is it inheriting the perms from? The folders under > > the mount are all correct. > > ext4 stores owner and group id numbers, so you need to do a "chown -

Re: [BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-24 Thread Gavin Henry
That's fixed it and all matches up now: sudo ls -lhd /var/lib/BackupPC/ drwxr-x---. 7 backuppc root 4.0K Jan 25 22:23 /var/lib/BackupPC/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:

Re: [BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-24 Thread Gavin Henry
Sorted. Permissions as always. Thanks for your second pair of eyes Kenneth! I'm re-running the rsync like so for selinux too (due to the dot at the end of the directory perms): rsync -av -X --delete --dry-run backuppc/ /var/lib/BackupPC/ ls -lhd /var/lib/BackupPC drwxr-x---. 7 backuppc root

Re: [BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-24 Thread Gavin Henry
> How are you mounting it? Unit file? /etc/fstab? /etc/fstab (just the usb devices have changed) /dev/sdd1 /var/lib/BackupPC ext4defaults0 0 #/dev/sde1 /var/lib/BackupPC ext4defaults0 0 > Permissions look ok on the drive and

[BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-24 Thread Gavin Henry
Hi all, On my home desktop my backups are going to a 2TB usb drive. All good. It's filling up, so I bought a 4TB usb one and have rsynced all data on the same type of filesystem too (rsync -av --delete) but when I mount it and restart BackupPC, nothing shows. Put the old drive back and

Re: [BackupPC-users] Copied config with old hostname and backing up myself by mistake

2021-04-20 Thread Gavin Henry
Hi all, Just a follow up after I engaged my brain. So because this config was copied from a backuppc server in another data centre and that server has now become "remote", i.e. not the local box, the RsyncClientCmd didn't have any SSH in it So it was: RsyncClientCmd: /usr/bin/sudo

Re: [BackupPC-users] Copied config with old hostname and backing up myself by mistake

2021-04-15 Thread Gavin Henry
> > DNS is correct in that gavin.suretec.net is in DC1, but even after > > changing all the BackupPC server details to henry.suretec.net, it's > > still treating henry.suretec.net as the other host > > (gavin.suretec.net), i.e. it's not connecting to gavin.suretec.net to > > rsync data back. It's

Re: [BackupPC-users] Copied config with old hostname and backing up myself by mistake

2021-04-14 Thread Gavin Henry
Hi all, Any pointers would be greatly appreciated. Does the project or anyone subscribers offer paid support? We're also looking for help to migrate to v4. Thanks, Gavin. ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:

[BackupPC-users] Copied config with old hostname and backing up myself by mistake

2021-04-12 Thread Gavin Henry
to the other node as the correct user and it connects as I'd expect. -- Kind Regards, Gavin Henry. ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https