Vidéos d'aide de Screencast

Restoral of only missing files

Created: 17 Décembre 2012 • Updated: 17 Décembre 2012 | 2 comments
Ce problème a été résolu. Voir la 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

Commentaires CommentairesAccéder au dernier commentaire

l'image des mph999

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
l'image des mph999

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