Hello again :)

I renamend the remaining nnn.old directories back to nnn and run 
BackupPC_migrateV3toV4 again.
Now all hosts are migrated, again with some error messages but no remaining 
nnn.old.

Only one host isn't migrated. I got the errors:
   BackupPC_migrateV3toV4: can't read attribute file ./f%2f/fvar/fstate/attrib
   bpc_attrib_dirRead: can't open ./f%2f/fvar/fstate/attrib
   bpc_poolRefFileWrite: can't open/create pool delta file name 
/var/lib/backuppc/pc/firewall/950.v4/refCnt/tpoolCntDelta_0_-1_0_2764886 (errno 
24)
   bpc_poolRefRequestFsck: can't open/create fsck request file 
/var/lib/backuppc/pc/firewall/950.v4/refCnt/needFsck2764886 (errno 24)
   firewall #950: 93.0%
   BackupPC_migrateV3toV4: converted backup in 
/var/lib/backuppc/pc/firewall/950; removing 
/var/lib/backuppc/pc/firewall/950.old
   /usr/bin/perl: error while loading shared libraries: libdl.so.2: cannot open 
shared object file: Error 24
   BackupPC_migrateV3toV4: BackupPC_refCountUpdate exited with errors
   BackupPC_migrateV3toV4: got 1041 errors

I'm interessted on hints to the following three errors:
 * bpc_poolRefFileWrite: can't open/create pool delta file name
 * bpc_poolRefRequestFsck: can't open/create fsck request file
 * /usr/bin/perl: error while loading shared libraries: libdl.so.2: cannot open 
shared object file:
   Error 24

Anyone have an idea for the reason of such errors?
Uhh:
 * I'm running debian having /lib/x86_64-linux-gnu/libdl.so.2 😁️
 * The not migrated host is the only one with "tar" backups from 2011
 * ls -R ..950.old | wc -l delivers 12774 and BackupPC_ls -R -h firewall -s / 
-n 950 / | wc -l
   delivers 9837. Means 3.000 files are lost ?

Thanks
Matthias

Am Freitag, dem 25.04.2025 um 07:50 +0200 schrieb Matthias--- via 
BackupPC-users:
> Hello :)
> 
> Some years ago I used compression (cpool). After switching to uncompressed 
> (pool) some files
> remained in cpool.
> So - most likely that are very old, unused, corrupt files :)
> 
> Thanks a lot
> Matthias
>  
> Am Freitag, dem 25.04.2025 um 05:08 +0000 schrieb backu...@kosowsky.org:
> > Perhaps the magic number is the one for zip compression.
> > Perhaps file is corrupt?
> > Matthias--- via BackupPC-users wrote at about 05:39:41 +0200 on Friday, 
> > April 25, 2025:
> >  >    1. the miscalculated progress occurs mostly on partial backups and a 
> > very few incremental
> >  >       backups. I assume it have no affect on the migration.
> >  >    2. 
> >  >        - can't read attribute file: After reviewing the source code of
> > BackupPC_migrateV3toV4,
> > I believe
> >  >          that it also have no impact on migration. 
> > BackupPC_migrateV3toV4 "Compute the
> > correct
> > size by
> >  >          reading the whole file" if it can't get it from the attribut 
> > file and continue
> > migration.
> >  >        - Unexpected magic number: I can't find this in source code and 
> > don't know what
> > happens
> > with this
> >  >    3. directory 145.old still exist:
> >  >        - 159837 files are calculated by "ls -R 
> > /var/lib/backuppc/pc/gerhardpc1/145.old | wc -
> > l"
> >  >        - 119 files are calculated by "BackupPC_ls -R -h gerhardpc1 -n 
> > 145 -s <sharename> /"
> >  >        - so the migration failed. I'll try to migrate it once again.
> >  >    4. can't create ./refCnt/needFsck.mig and ./refCnt/noPoolCnt:
> >  >        - It looks like a filesystem error and not be triggered by 
> > program logic. I'll try to
> > migrate it
> >  >          once again.
> >  > 
> >  > It would be great if someone could give feedback regarding this 
> > "Unexpected magic number".
> >  > 
> >  > Thanks in advance
> >  > Matthias
> >  > 
> >  > 
> >  > Am Dienstag, dem 22.04.2025 um 10:47 +0200 schrieb Matthias--- via 
> > BackupPC-users:
> >  > > Dear all,
> >  > > 
> >  > > Running BackupPC V4.4.0-3 on Debian 11 (Bullseye) and having some 
> > unexpected messages from
> >  > > BackupPC_migrateV3toV4 also if BackupPC_migrateV3toV4 -m don't report 
> > any issues at the
> > beginning:
> >  > > 
> >  > > 1) unexpected progress reported:
> >  > >    BackupPC_migrateV3toV4: migrating host fileserver backup #5115 to 
> > V4 (approx 31 files)
> >  > >    fileserver #5115: 45.2%
> >  > >    fileserver #5115: 71.0%
> >  > >    fileserver #5115: 1003.2%
> >  > >    :
> >  > >    fileserver #5115: 932422.6%
> >  > >    fileserver #5115: 932429.0%
> >  > >    BackupPC_migrateV3toV4: converted backup in 
> > /var/lib/backuppc/pc/fileserver/5115;
> > removing
> >  > > /var/lib/backuppc/pc/fileserver/5115.old
> >  > >    BackupPC_migrateV3toV4: migrating host fileserver backup #5116 to 
> > V4 (approx 516 files)
> >  > > Directory 5115 looks good, Having attrib_<md5> file as well as all 
> > expected directories.
> > Also
> > if
> >  > > fileserver #5115 reports an unexpected progress the 5115.old has been 
> > removed. Can I expect
> > that
> >  > > backup #5115 is successfull migrated?
> >  > > 
> >  > > 2) Progress not going till 100%
> >  > >    BackupPC_migrateV3toV4: migrating host gerhardpc1 backup #0 to V4 
> > (approx 254099 files)
> >  > >    gerhardpc1 #0: 0.0%
> >  > >    BackupPC_migrateV3toV4: can't read attribute file 
> > ./fC/fProgramme/attrib
> >  > >    Unexpected magic number 0x78da5550 read from ./fC/fProgramme/attrib
> >  > >    BackupPC_migrateV3toV4: migrating host gerhardpc1 backup #0 to V4 
> > (approx 254099 files)
> >  > >    BackupPC_migrateV3toV4: can't read attribute file 
> > ./fC/fProgramme/fAlwil Software/attrib
> >  > >    Unexpected magic number 0xd7da130f read from ./fC/fProgramme/fAlwil 
> > Software/attrib
> >  > >    :
> >  > >    gerhardpc1 #0: 0.6%
> >  > >    :
> >  > >    gerhardpc1 #0: 7.2%
> >  > >    BackupPC_migrateV3toV4: converted backup in 
> > /var/lib/backuppc/pc/gerhardpc1/0; removing
> >  > > /var/lib/backuppc/pc/gerhardpc1/0.old
> >  > >    BackupPC_migrateV3toV4: migrating host gerhardpc1 backup #145 to V4 
> > (approx 72412 files)
> >  > > Directory 0 looks good, Having attrib_<md5> file as well as all 
> > expected directories. Also
> > if
> >  > > there
> >  > > are this error messages and progress isn't going till 100%, 0.old has 
> > been removed. Can I
> > expect
> >  > > that backup #0 is successfull migrated?
> >  > > 
> >  > > 3) migration left the 145.old directory
> >  > >    BackupPC_migrateV3toV4: migrating host gerhardpc1 backup #145 to V4 
> > (approx 72412 files)
> >  > >    gerhardpc1 #145: 0.0%
> >  > >    :
> >  > >    gerhardpc1 #145: 17.0%
> >  > >    BackupPC_migrateV3toV4: can't read attribute file 
> > ./fC/fProgramme/attrib
> >  > >    Unexpected magic number 0x78da7d55 read from ./fC/fProgramme/attrib
> >  > >    :
> >  > >    gerhardpc1 #145: 21.6%
> >  > >    BackupPC_migrateV3toV4: converted backup in 
> > /var/lib/backuppc/pc/gerhardpc1/145;
> > removing
> >  > > /var/lib/backuppc/pc/gerhardpc1/145.old
> >  > >    BackupPC_migrateV3toV4: migrating host gerhardpc1 backup #146 to V4 
> > (approx 72407 files)
> >  > > Directory 145 looks good, Having attrib_<md5> file as well as all 
> > expected directories.
> >  > > sudo -u backuppc /usr/share/backuppc/bin/BackupPC_attribPrint
> >  > > /var/lib/backuppc/pc/gerhardpc1/145/fC/fProgramme/attrib
> >  > > as well as 
> >  > > sudo -u backuppc /usr/share/backuppc/bin/BackupPC_attribPrint
> >  > > /var/lib/backuppc/pc/gerhardpc1/145.old/fC/fProgramme/attrib
> >  > > list the attributes.
> >  > > Also if I got this errors , the attrib files are differents and 
> > 145.old is still available,
> > have I
> >  > > lost this backup or can I still repair the issues?
> >  > > 
> >  > > 4) 
> >  > >    BackupPC_migrateV3toV4: migrating host gerhardpc1 backup #146 to V4 
> > (approx 72407 files)
> >  > >    BackupPC_migrateV3toV4: can't create
> > /var/lib/backuppc/pc/gerhardpc1/146.v4/refCnt/needFsck.mig
> >  > > (0)
> >  > >    BackupPC_migrateV3toV4: can't create
> > /var/lib/backuppc/pc/gerhardpc1/146.v4/refCnt/noPoolCntOk
> >  > > (0)
> >  > >    BackupPC_migrateV3toV4: can't read attribute file ./attrib
> >  > >    bpc_attrib_dirRead: can't open ./attrib
> >  > >    gerhardpc1 #146: 0.0%
> >  > >    BackupPC_migrateV3toV4: converted backup in 
> > /var/lib/backuppc/pc/gerhardpc1/146;
> > removing
> >  > > /var/lib/backuppc/pc/gerhardpc1/146.old
> >  > >    BackupPC_migrateV3toV4: migrating host gerhardpc1 backup #154 to V4 
> > (approx 454550
> > files)
> >  > > 
> >  > >    
> >  > > The ./gerhardpc1/146/refCnt/noPoolCntOk has been created but is empty. 
> > backupInfo looks the
> > same
> >  > > as
> >  > > in 146.old, but reordered. No other files or directories are in 146 
> > and 146.old is still
> >  > > available.
> >  > > Have I lost this backup or can I still repair the issues?
> >  > > 
> >  > > Thanks in advance
> >  > > Matthias
> >  > > 
> >  > > 
> >  > > 
> >  > > 
> >  > > 
> >  > > _______________________________________________
> >  > > 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/
> > 
> > 
> > _______________________________________________
> > 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/




_______________________________________________
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