cancel
Showing results for 
Search instead for 
Did you mean: 

Restoral of only missing files

Lylex
Level 3

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

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

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

Martin

View solution in original post

2 REPLIES 2

mph999
Level 6
Employee Accredited

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

Martin

mph999
Level 6
Employee Accredited

...  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