1833845 Members
2104 Online
110063 Solutions
New Discussion

Re: frecover

 
ian walker_1
Advisor

frecover

I want to recover only files that dont exist in the current direct I am recovering too. What is the correct option in frecover to stop overwriting of any files that already exist in the directory?

I have tried using frecover -x -v -f but it still overwrites existing files! well at least seems to as the date/time stamp is updated.
4 REPLIES 4
Mohanasundaram_1
Honored Contributor

Re: frecover

Hi Ian,

This is what the man pages of frecover says

-------------------------------------------
-o Recover the file from the backup media irrespective of age.Normally frecover does not overwrite an existing
file with an older version of the file.
-------------------------------------------

So, By default the frecover should not overwrite any files. Which OS version do you run? Are your patch levels latest?

With regards,
MOhan.
Attitude, Not aptitude, determines your altitude
John Waller
Esteemed Contributor

Re: frecover

As already stated frecover -xvf /dev/rmt -i should recover any missing files but not recover existing files. When you say the data and time is updated, is it updated to the recovery time (when the frecover command is run) or the time when backed up (e.g the timestamp of the file when the backup took place).
One thing you could try is to create a tmporary file in a directory, backup the directory, make a change to the file then frecover the directory back. The file contents should be the changed version of the file.
One last thing which could effect the recveovery, is the directory NFS mounted from another box. I have had problems using fbackup/frecover on nfs mounted filesystems.
ian walker_1
Advisor

Re: frecover

Hi Mohan

thanks for this, i worked out that if you have the -x option it will not overwrite any existing files, and that with -o it will overwrite. Anyway sorted it now but thanks again.

Ian.
ian walker_1
Advisor

Re: frecover

see previous reply