ADSM-L

[ADSM-L] File ownership not restored (Linux)

2008-05-06 05:28:11
Subject: [ADSM-L] File ownership not restored (Linux)
From: Aree Hagopian <areeha AT AU1.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 6 May 2008 19:24:14 +1000
Hi All,

I'm performing a restore and find that the file ownerships are not restored
correctly.
Someone chown'ed all the files recursively yesterday so I want to restore
to a new location and used the restored files to recover the correct
ownerships.

As root user I use the following command:
dsmc restore "/home/mckinnon/" -subdir=yes -inact -replace=all -date=3
-pitd=2008-05-03 -pitt=22:30:00 /tmp/recovery/

and the result is:
ls -la /tmp/recovery/mckinnon/
total 40
-rw-r--r-- 1 taitd taitd 7242 Jul 27 2007 passwd.20070727_11:20:59
-rw-r--r-- 1 taitd taitd 8318 Jul 27 2007 passwd.20070727_11:25:24
-rw-r--r-- 1 taitd taitd 8430 Jul 27 2007 passwd.20070727_11:25:25
drwx------ 2 mckinnon wheel 4096 Jun 12 2007 reval
drwxrwxr-x 2 mckinnon mckinnon 4096 Jun 7 2007 shared

The directories have been restored with the correct ownership but the files
are owned by the incorrect userid. The chown was issued on 2008-05-05 so a
recovery to Sat 2008-05-03 should bring them all back with the correct
owner but does not.

Any ideas?

Regards,
Aree Hagopian

SSO Managed Storage - Backup & Recovery
Email: areeha AT au1.ibm DOT com
Team Mailbox: storbur AT au1.ibm DOT com