The BackupPC 3.x store has large numbers of hardlinks.  What commands are
you using to migrate the data?

You need to copy the file system in a manner that is aware of, and
reconstructs, the hardlinks (eg, rsync -aH, or a raw file system copy
provided they are compatible).  Copying all the hardlinks will be slow, but
will work.

Another reasonable option is to start over, since you can keep the old disk
around until you are comfortable you have sufficient history in the new
server.

Craig

On Tue, Oct 13, 2020 at 7:41 PM Bob McClure Jr <b...@bobcatos.com> wrote:

> I'm migrating my file server from CentOS 6 to CentOS 7.  Besides being
> our file server, it also does DHCP, caching DNS, and BackupPC.  I'm having
> a
> problem migrating the backups to the new disk, namely running out of
> space.  Both systems are running BackupPC-3.3.1-5.el[67].x86_64, but
> backuppc is turned off on CentOS 6 and things are not yet cut over to
> the C7 machine and its BPC is off too.
>
> It's a very simple setup backing up a single Win10 machine over our
> gigabit LAN.
>
> While trying to transfer the backups in /var/lib/BackupPC from the C6
> to the C7 machine, I run out of space.  On C6, the file system is a
> 175 GiB LV in ext4 holding about 137 GB.  On C7, I started with a 200
> GiB LV in ext4 and ran out of space.  Then I extended it to 300, then
> 500 and still ran out of space.  I ran "dumpe2fs" on both machines,
> and they have the same block size and extent size.
>
> I focused in on one backup, /var/lib/BackupPC/pc/nate/112/.  "du" on
> C6 reports it to be about 36 GB.  When copied over to C7, du reports
> it to be 42 GB.  So what is going on here?  Are the files on C6
> "sparse" files, and in the transfer getting blown up to normal?  Or is
> something else going on?
>
> Should I just not copy over the old backups and let the C7 system
> start over?
>
> Cheers,
> --
> Bob McClure, Jr.             Bobcat Open Systems, Inc.
> b...@bobcatos.com             https://www.bobcatos.com
> I am coming soon. Hold on to what you have, so that no one will take
> your crown.  Revelation 3:11
>
>
> _______________________________________________
> 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/
>
_______________________________________________
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