HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
Showing results for 
Search instead for 
Did you mean: 

Using frecover overwrite entire directory.

Occasional Visitor

Using frecover overwrite entire directory.

I have a requirement. I have to overwrite entire directory from the backup taken by fbackup.

For ex :- I have a path /home/oracle/ under that i have 10 files when i had taken the back up. By the time restoring the directory one more file is added into the above path /home/oracle.
When i restore using frecover using -o option i could overwrite all 10 files and the 11th file is still there in the path with out deleted. How can i achieve this using frecover ? Can any one through some light ???? Thanks in advance.
Honored Contributor

Re: Using frecover overwrite entire directory.

Well, "recovering" is a misnomer, of sorts. It's not a recovery you're doing, you're just restoring files from tape. Naturally, when you restore the files and overwrite them, all files that are already there in place will still be there.

Why not just delete all the files in the directory before the restore?
We are the people our parents warned us about --Jimmy Buffett