Nov 13, 2002 #1 PADFOR Programmer Feb 5, 2001 25 GB How do you specify the volume, and owner/mode on the command line using the command ufsrestore? At the moment I have a script that use the following command: ufsrestore xf <servername>:/dev/rmt/1 << EOF 1 y EOF
How do you specify the volume, and owner/mode on the command line using the command ufsrestore? At the moment I have a script that use the following command: ufsrestore xf <servername>:/dev/rmt/1 << EOF 1 y EOF
Nov 13, 2002 #2 jad Programmer Apr 7, 1999 1,195 GB you could try using 'r' instead of 'x' ... maybe. Upvote 0 Downvote
Nov 13, 2002 #3 KenCunningham Technical User Mar 20, 2001 8,475 GB Have you tried piuttin your commands in a file and 'feeding' the command? ie filea consists of: 1 y Then: ufsrestore <servername>:/dev/rmt/1 < filea Don't know if this will work, but let us know. Cheers. Upvote 0 Downvote
Have you tried piuttin your commands in a file and 'feeding' the command? ie filea consists of: 1 y Then: ufsrestore <servername>:/dev/rmt/1 < filea Don't know if this will work, but let us know. Cheers.
Nov 13, 2002 Thread starter #4 PADFOR Programmer Feb 5, 2001 25 GB The "r" option restores everything on tape. I only want to restore certain file systems. Cheers for your suggestion. Upvote 0 Downvote
The "r" option restores everything on tape. I only want to restore certain file systems. Cheers for your suggestion.
Nov 13, 2002 #5 jad Programmer Apr 7, 1999 1,195 GB then if it works with passing in the commands for you, then thats probably the best way. Upvote 0 Downvote