07-05-2017 12:36 AM
Hi,
I am trying to perform restore operation through CLI.
I found all the other option, but i didnt find option for selecting/de-selecting cross mount points.
Can anyone help me on this.
Solved! Go to Solution.
08-21-2017 03:35 AM
Hi,
Had raised a support case and support eng. confirmed that as of now ( Till NB 8.0 ) there is no option in bprestore CLI command to select "Restore w/o Crossing mount point option"
Thanks
07-05-2017 02:12 AM - edited 07-05-2017 02:12 AM
AFAIR you can still use:
bprestore -f /tmp/filelist_to_restore
in /tmp/filelist_to_restore you can use ! to exclude folder content:
/movies/art-house
!/movies/comedies
07-06-2017 08:23 AM
Thanks, Mike for the reply.
We thought of this but its quite complex, as we have many different mount points present.
Is there any other way to do this?
07-06-2017 10:02 AM
07-06-2017 10:38 PM
Hi Mariane,
Thanks for response
In GUI during restore, we have option " [ ] Restore directories without crossing mount points ".
So in manual procedure we are ticking this box i.e restore w/o crossing mount points and then triggering the restore.
Now we are automating our restore procedure so we wanted to know if there is any option using which the same thing can be achieved. We checked bprestore help page but there was nothing related to this.
07-07-2017 12:08 AM
I need to apologise - I haven't looked at a restore GUI in a long time.
That must've been added in some recent version.
To be honest, I have no idea why anyone would want to restore without crossing mount points.
Not crossing mount points means everything will be restored to / or top-level FS only.
Being a Unix admin in a previous life, I have simply seen too many root filesystems filling up when a large FS mountpoint did not exist at time of restore.
Try this:
Increase general logging level to 5 on the master or server where you restore from.
Create bprestore log folder.
Start the restore with " [ ] Restore directories without crossing mount points " option selected.
Check bprestore log file to see how this option is interpreted.
Remember to lower logging level again!
07-18-2017 05:33 AM
Hi,
I was just exploring the option while checking the user ops logs if found that.
when we are ticking " [ X ] Restore directories without crossing mount points " option selected
Below command is executed
bprestore -H -O -S <server> -D <Destination> -C <server detail> -X -s 1498294800 -e 14
but -O option is not present in the man page of bprestore command.
Can anyone confirm in such cases can these commands be used.
And also if we will get NetBackup support if we face any issue with restore when using option which are not officially listed in man page but is there in the background.
08-21-2017 03:35 AM
Hi,
Had raised a support case and support eng. confirmed that as of now ( Till NB 8.0 ) there is no option in bprestore CLI command to select "Restore w/o Crossing mount point option"
Thanks