Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Restoral of only missing files

Created: 17 Dec 2012 • Updated: 17 Dec 2012 | 2 comments
This issue has been solved. See solution.

We're running Netbackup 7.5.0.3 on a Solaris 10 server, and the client of interest is Solaris 9.  Don't know the Netbackup client version, sorry.

 

After a crash, the client's /opt was rebuilt from scratch, but is missing a lot of files.  The sysadmin is hesitant to just do a restoral of /opt.

Is there an option to do a restoral of the filesystem, but only restoring files that are missing...ie, avoid restoring any files that already exist, reguardless of dates on the files?

 

Thanks...Lyle

Comments 2 CommentsJump to latest comment

mph999's picture

Yes, when you start the restore you have the option not to overwrite any files that are already there.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
SOLUTION
mph999's picture

...  if using the command line (bprestore command) you must use the -k option.

 

   -K   Causes bprestore to keep existing files rather than
          overwrite them when it restores files with the same
          name. The default condition is to overwrite existing
          files.
 
Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805