On Apr 17, 2007, at 11:24 AM, Darien Hager wrote: > On Apr 17, 2007, at 10:25 AM, Carlos Cristóbal Sabroe Yde wrote: >> This is the scenario: >> I needed this because we had problems with file permissions >> on a file server (someone pressed the wrong combination of >> keys with a '-R' on it :- ( ) and I don't want to restore >> the whole directory tree, just see attributes of the stored >> files and work by hand from that. > > I'm guessing here... but perhaps you could try a Verify job with > Level=DiskToCatalog?
Update: Nah, it seems it errors out on the first difference. I may fiddle with pulling stuff from the DB, but another possibility is to just restore the files to a seperate temporary location. If space is tight, a script could and have a script periodically cat /dev/null over the ones that are done being written... For example: find /var/temprestore/ -type f -and -mmin +5 -and -size +1 Should list all normal files in the directory that were not modified within the last five minutes and take up more than one block on the disk as candidates for space-saving wiping during the restore process. After that it should be possible to have a script iterate over all the files in the temp directory, get their permission bits, and apply them to the corresponding file in the real directory if it exists. -- --Darien A. Hager [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users