Hi Backuppcers,

I have a friend on whos box I've installed backuppc (debian stable
2.1.1-2 version). It had ~backuppc on the same drive as the rest of the
data, everynight modified BackupPC_nightly was running rsync -aH to
another drive present in the system (40GB -- was enough to accommodate
~backuppc after it was compressed into cpool). At the other times that
drive was unmounted for added safety.

So, the main drive failed... I had to reinstall the system because I
didn't backup /usr /lib but only /home /etc and /var.
I've mounted my 40GB drive read-only (it is better to be paranoid a bit
at this stage), rsync -aH everything to the main drive and went to
restore.
The last backup in the system was full
backup and #28, previous #27 - incremental. backups were created via tar
method (with ssh part of the command line stripped out).

After I've "restored" from 28 (/home into /home and /etc and /var into 
/var/tmp) 
I've found a weird thing: restored /var/www was missing some files and
the owner on all files was set to backuppc.backuppc.
Next weird thing happens when I try to restore BOTH /var and etc:

[EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 
28 -s / -t  /var /etc > /var/tmp/28.tar  
Unable to write to output file (Bad file descriptor)

but when I extract /var and /etc separately - everything is fine :-/

[EMAIL PROTECTED]:/var/tmp/28$ /usr/share/backuppc/bin/BackupPC_tarCreate -h 
localhost -n 28 -s / -t  /var > /var/tmp/28var.tar
Done: 13526 files, 1409963940 bytes, 546 dirs, 248 specials, 0 errors

[EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 
28 -s / -t  /etc > /var/tmp/28etc.tar
Done: 2714 files, 27662964 bytes, 1102 dirs, 1052 specials, 0 errors

Also #27 seems to contain the files I'm missing in /var/www in #28.

So what could cause such problems and how can I debug it more to reveal
the source?

P.S. Please CC me in reply.

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07105
Student  Ph.D. @ CS Dept. NJIT


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to