Subject: strange restore issues
To: None <netbsd-users@netbsd.org>
From: Owen Becker <owen@safeasmilk.net>
List: netbsd-users
Date: 01/16/2005 00:22:01
I'm wondering if anyone has run into a similar issue. I am dumping my 
root filesystem over ssh like so:
dump -0uan -f - / | gzip -9 | ssh owen@kamala dd of=/home/owen/root.dmp.gz

I can restore to a tmp directory:
cd /tmp/restore/
ssh owen@kamala "zcat root.dmp.gz" | restore xvf -

I am then asked if I want to set owner/mode for '.' No matter how I answer
the result is the same. I get permission denied when I try and execute any 
binary that has been restored. Digging around in the extracted filesystem 
the restore looks good. Same sizes, permissions. Ran a diff between 
/bin/ls and /tmp/restore/bin/ls and it's the same. Any ideas what I'm doing
wrong? Is there a better way to verify remote dumps?
Thanks,
Owen