We are setting up a new server and before we get too far we want to test a backup and restore. I don't have the tape drive in yet, so I backed the system up to the hard drive in a tar file (uncompressed.)
Now I want to restore it to a temp directory I've created just to make sure we can do that and that everything is there.
I am attempting to do so with this command:
/rman/test_restore/full_backup_09-JUN-2011 is a directory I created to restore the tar into.
When I try to run this I get the error:
Then it gives up. Did I leave something out to tell it that yes that is a directory and that's where I want it to put the files? I don't want to randomly try things and overwrite the existing system so I need to get this right.
Now I want to restore it to a temp directory I've created just to make sure we can do that and that everything is there.
I am attempting to do so with this command:
Code:
sudo tar -xvf /rman/test_restore/full_backup_09-JUN-2011 /rman/backup_initial_full/full_backup.tar
/rman/test_restore/full_backup_09-JUN-2011 is a directory I created to restore the tar into.
When I try to run this I get the error:
Code:
tar: /rman/test_restore/full_backup_09-JUN-2011: Cannot read: Is a directory
Then it gives up. Did I leave something out to tell it that yes that is a directory and that's where I want it to put the files? I don't want to randomly try things and overwrite the existing system so I need to get this right.