Forum Discussion

NIKHIL234656595's avatar
13 years ago

bprestore

 

 

sudo ./bprestore -C win23 -D win23  -R /tmp/dest_path -s 07/14/2012 -e 07/14/2012 /D/epo_Repository/epo46/Sitestat.xml   /D/temp/

 

When i run this above command i get the error,227 .

 

Please can anybody help what is the issue with this command.

 

I created a progress log file /tmp/dest_path but does not  insert anything in that file.

 

source server:win23

 

destination server:win23

 

source path: /D/epo_Repository/epo46/Sitestat.xml

 

destination path: /D/temp/

  • Possibly same issue here with bprestore?

    Try specifying the policy type also in your command line

    -t policy_type

              Specifies  one  of  the  following  numbers   that
              corresponds  to  the policy type. The default is 0
              for all clients except Windows, where the  default
              is 13.

    Looks like you're restoring for Windows client but via a *NIX server, therefore use the -t option to ensure it's using the correct default.

    Also ensure that the client name in the command is as it appears in the NetBackup catalog (typos, FQDN etc).

    Not sure whether your overall syntax is correct but it appears that initially it is not even finding what you want to restore