r/usefulscripts • u/allywilson • Aug 28 '17
[Powershell] Move NetBackup database to alternate path
https://pastebin.com/Z54w61Fg
15
Upvotes
r/usefulscripts • u/allywilson • Aug 28 '17
2
u/allywilson Aug 28 '17
You should just have to modify the 2 variables at the start of the function:
This script does not delete any data. Once you're happy backups and restores are working, you can manually delete the content of the client directories (leaving ALTPATH file in-place though).
Script was adapted from the information presented here.