During my tests with BackupPC_tarCreate I noticed that some files could not be correctly restored from BackupPC. (Shrug!).
Running "BackupPC_tarCreate -h host1 -n 887 -s /usr . | tar xf -" I get the following Error: Error: padding /var/lib/backuppc/pc/host1/887/f%2fusr/fshare/fwebapps/fgallery/f2.3.1/fhtdocs/fmodules/fnewitems/fpo/fru.mo to 4154 bytes from bytes In XferLOG.887 I see this for the file (and its neighbors) same 644 0/0 3574 share/webapps/gallery/2.3.1/htdocs/modules/newitems/po/ro.po pool 644 0/0 4154 share/webapps/gallery/2.3.1/htdocs/modules/newitems/po/ru.mo same 644 0/0 5177 share/webapps/gallery/2.3.1/htdocs/modules/newitems/po/ru.po For the other files in this directory the first word is "same"! When I try to restore the file it gets interesting. If I select "Download Tar archive" I get a tar archive (restore.tar) containing the ru.mo file which then contains 4154 bytes of 0's: $ ll restore.tar -rw-r--r-- 1 dan users 10240 Feb 19 15:33 restore.tar $ tar xvf restore.tar ./ru.mo $ ll ru.mo -rw-r--r-- 1 dan users 4154 Jan 8 2011 ru.mo $ hexdump -C ru.mo 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00001030 00 00 00 00 00 00 00 00 00 00 |..........| 0000103a Selecting "Download Zip archive" on the other hand works OK: $ ll restore.zip -rw-r--r-- 1 dan users 1768 Feb 19 15:32 restore.zip $ unzip -v restore.zip Archive: restore.zip Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 4154 Defl:N 1644 60% 01-08-2011 17:52 c11e0302 ru.mo -------- ------- --- ------- 4154 1644 60% 1 file $ unzip restore.zip Archive: restore.zip inflating: ru.mo $ ll ru.mo -rw-r--r-- 1 dan users 4154 Jan 8 2011 ru.mo $ hexdump -C ru.mo | head 00000000 de 12 04 95 00 00 00 00 15 00 00 00 1c 00 00 00 |................| 00000010 c4 00 00 00 1d 00 00 00 6c 01 00 00 00 00 00 00 |........l.......| 00000020 e0 01 00 00 1e 00 00 00 e1 01 00 00 07 00 00 00 |................| 00000030 00 02 00 00 5b 00 00 00 08 02 00 00 23 00 00 00 |....[.......#...| ... Have I stumbled upon a bug in BackupPC_tarCreate? -- Dan Johansson, <http://www.dmj.nu> *************************************************** This message is printed on 100% recycled electrons! *************************************************** ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/