1 Rookie

 • 

34 Posts

1059

March 1st, 2021 03:00

Redirect restore to a different destination server using CLI

Hello,

 

I want to perform a recover using ssid

>recover -s -S   -a  

but I want to specify another destination server where to place the restored folder. what option to use?

 

Thank you 

2.4K Posts

March 2nd, 2021 03:00

What you say is correct ... and wrong as well.

  -  If you use the option "-a pathname", all following characters will be read as pathname. Consequently it should be used as the last option in the command line.

  -  Specifying the source client is not necessary because this is done indirectly by the ssid. The media db resolves the ssid and responds with the source client and the name of the save set, of course.

 

2.4K Posts

March 1st, 2021 04:00

As you need the NW client software to be installed on the destination server, it is best practice to just run the recover command on this host.

If this is not possible, you can use the option "-R dest_client" .

Please keep in mind that this is not available for very old NW versions but the so-called "directed save set recovery" has been implemented at least 5 years ago.

 

1 Rookie

 • 

34 Posts

March 2nd, 2021 00:00

Hello again,

 

I think this is not possible currently because it is mentioned in here: http://www.ipnom.com/Legato-NetWorker-Commands/recover.html

that -R should be used with -c that cannot be used yith -S

and in my case I need to do a recover by save sets not file level recovery.

1 Rookie

 • 

34 Posts

March 2nd, 2021 00:00

Hello,

Current NW version we are using 19.1, I tried this syntax from networker server:

recover -S -a E:\path -R server2
the error was : U nable to recover the save sets: Recover path `-R' not an absolute path

I tried also :

ecover -S -a E:\path -R \\server2\E$\path

same error.

1 Rookie

 • 

34 Posts

March 3rd, 2021 03:00

Ah ok Noted, Thank you for the reply

No Events found!

Top