exarkun wrote at about 06:21:37 -0700 on Tuesday, May 24, 2011: > Can you give an example of how to run your BackupPC_copyPCPool.pl script? > No matter what I do, I get the error: >
> Backup './pc' does not contain a 'backupInfo' file > > I have tried (from /var/lib/BackupPC): > > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl -o original.tar ./ > Backup './trash' does not contain a 'backupInfo' file > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl -o original.tar ./pc/ > Backup './pc' does not contain a 'backupInfo' file > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl -o original.tar > ./pc/[computername]/ > To backup *all* hosts try: /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl -o original.tar To backup *selected* hosts try: /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl -o original.tar host1 host2 ... To backup *selected* shares or subdirectories of shares try: /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl -o original.tar host1/shareA/dir/dir host2/shareB/dir/dir ... I will try to make the usage more clear in a subsequent release version... > I also get all these warnings/errors (not sure if I can ignore them...) > You shouldn't be getting *any* warnings or errors. - What version are your running of BackupPC_copyPcPool? - Are you sure you have my library jLib.pm properly installed? Actually, the errors don't even make sense the whole BackupPC_copyPcPool.pl file has less than 1100 lines while you are showing errors on line 1234. (I assume you didn't do something silly like combining jLib.pm and BackupPC_copyPcPool.pl into a single file) > > "my" variable $bpc masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1234. > "my" variable $md5 masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1235. > "my" variable $attr masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1236. > "my" variable $MaxLinks masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1237. > "my" variable $CREATMASK masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1238. > "my" variable %IpoolCache masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1239. > "my" variable @nonpooled masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1240. > "my" variable @backups masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1241. > "my" variable @compresslvls masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1242. > "my" variable $directories masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1244. > "my" variable $totfiles masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1245. > "my" variable $zerolengthfiles masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1246. > "my" variable $existinglink_pcfiles masks earlier declaration in same scope > at /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1247. > "my" variable $fixedlink_pcfiles masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1248. > "my" variable $unlinkable_pcfiles masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1249. > "my" variable $unlinked_pcfiles masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1250. > "my" variable $unlinked_nonpcfiles masks earlier declaration in same scope > at /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1251. > "my" variable $unlinked_files masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1252. > "my" variable $IcacheSize masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1255. > "my" variable $IcacheSize_def masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1255. > "my" variable $cleanpool masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1256. > "my" variable $create masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1257. > "my" variable $fixlinks masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1259. > "my" variable $Force masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1260. > "my" variable $FORCE masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1261. > "my" variable $gzip masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1262. > "my" variable $ilevels masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1263. > "my" variable $ilevels_def masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1263. > "my" variable $mdsumflg masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1264. > "my" variable $outfile masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1265. > "my" variable $Overwrite masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1266. > "my" variable $paranoid masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1267. > "my" variable $pool masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1268. > "my" variable $pool_def masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1268. > "my" variable $restore masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1269. > "my" variable $skippc masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1270. > "my" variable $stdio masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1271. > "my" variable $TopDir masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1272. > "my" variable $TopDir_def masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1272. > "my" variable $IpoolDir masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1273. > "my" variable $IpoolDir_def masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1273. > "my" variable $verbose masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1274. > "my" variable $verbose_def masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1274. > "my" variable $noverbose masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1275. > "my" variable $pcdir masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1338. > "my" variable $sfx masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1358. > "my" variable $linksfile masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1359. > "my" variable $nopoolfile masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1360. > "my" variable $nolinksfile masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1361. > "my" variable $lastmachine masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1420. > "my" variable $compresslvl masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1421. > "my" variable $rsyncnopool masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1451. > "my" variable $rsyncnolinks masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1451. > Subroutine usage redefined at /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl > line 1490. > Subroutine initialize_backups redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1594. > Subroutine create_ipool redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1637. > Subroutine populate_ipool redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1653. > Subroutine create_ipool_file redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1715. > Subroutine InodePath redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1737. > Subroutine find_cpool_links redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1751. > Subroutine fix_link redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1841. > Subroutine print_hardlink_reference redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1870. > Subroutine print_file_reference redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1877. > Subroutine get_mdsum redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1888. > "my" variable $avglinks masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1892. > "my" variable $totentries masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1892. > "my" variable $totlinks masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1892. > "my" variable $cachesize masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1892. > Subroutine Add_Icache redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1894. > Subroutine Clear_Icache redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1919. > "my" variable %UIDcache masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1927. > "my" variable %GIDcache masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1927. > Subroutine UID redefined at /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl > line 1930. > Subroutine GID redefined at /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl > line 1937. > "my" variable %USERcache masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1942. > "my" variable %GROUPcache masks earlier declaration in same scope at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1942. > Subroutine USER redefined at /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl > line 1945. > Subroutine GROUP redefined at /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl > line 1952. > Subroutine do_restore redefined at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1959. > Use of uninitialized value $pcdir in concatenation (.) or string at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1601. > Use of uninitialized value $pcdir in quotemeta at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1604. > Use of uninitialized value $pcdir in quotemeta at > /usr/share/BackupPC/bin/BackupPC_copyPCPool.pl line 1622. ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
