This post is more than 5 years old
12 Posts
0
623
August 13th, 2015 06:00
Looking for restoration via CLI
I am new to the Networker. Could you please provide me one scenario and restoration command for that?
It will be helpful to understand very clearly.Now I have nsrmaster and nsrclient which is configured on the backup server nsrmaster .
Please help me by providing scenario and command for restoration on networker
Thanks & Regards,
Shivashankar
No Events found!
crazyrov
4 Operator
•
1.3K Posts
0
August 13th, 2015 08:00
** Posted this on the other discussion you had open ****
Hi Shiva,
Lets assume you have nsrclient as a client machine, nsrserver as the networker server. you want to restore /ect/hosts to a different folder say /tmp from the backup of 8/1/2015.
# recover -s nsrserver -c nsrclient <- declare the client machine who backup you want to restore
recover> changetime 8/1/2015 <- set the time of backup to 8/1/2015
recover> add /etc/hosts <- add the file/folders that you want restored
recover> relocate /tmp <- Declaring a destination location for files to be restored, done run this in case you want the files restored to the original location
recover> list <- this command will list out all the files/folders that you selected
recover> recover <- Initiate restore
shivwaddankeri
12 Posts
0
August 13th, 2015 10:00
recover -f -a -d C:\restore "C:\PerfLogs" & recover -f -a -d C:\restore1 "C:\PerfLogs" > "C:\restore1\restore.txt"
I tried with above command and it works fine but if I try to restore C:\* it throws below error
C:\Program Files\EMC NetWorker\nsr\bin>recover> -f -a -d C:\restore "C:\*"
6469:recover: C:\* not in index
67847:recover: Failed to recover files: Nothing to recover
And I wanted to know how do I go for exclude files like if I wanted to exclude Recycle bin what is the way