On 7/24/2021 11:43 AM, Gavin Henry wrote:
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-mount/restart and they are all there.

How are you mounting it? Unit file? /etc/fstab?

Permissions look ok on the drive and the mount point? How about selinux?

I generally label my partitions on my removable drives and use /dev/disk/by-label in a mount script to mount drives I expect to swap often. (I haven't done that with BackupPC but I do it with another situation.)


My unit files:

----------------------------------------------------------------

# var-lib-BackupPC.mount
[Unit]
Description = External BackupPC media

[Mount]
What = LABEL=backuppc4
Where = /var/lib/BackupPC
Type = ext4

[Install]
WantedBy = multi-user.target

----------------------------------------------------------------

# var-lib-BackupPC.automount
[Unit]
Description = External BackupPC media automount

[Automount]
Where = /var/lib/BackupPC

[Install]
WantedBy = multi-user.target



_______________________________________________
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