-
Notifications
You must be signed in to change notification settings - Fork 9
Custom Backup and ServerFiles Directories
If you host several servers. May be a good idea to have backups on seperate Drive from serverfiles
having seperate serverfiles folder will increase menu command functionality
By Default the Backup and Serverfiles will install in SSM root. To have SSM in PATH See Wiki.
To have Backup and serverfiles in separate directories/locations
Change $global:sfwd or $global:bwd to Custom Path wrap in quotes
EDIT: config-local\local_settings.ps1
run
ssm
command at least once to populate local_settings.ps1
If you don't see these options, Previous installs may need to rename local_settings.ps1 to download the current config
if you have an existing server folder. you want to create a folder like "servers" and put the existing server folder inside. Then change $sfwd to
"G:\Servers\<my existing server folder>"
. If you install other servers they will fall in this "servers" folder
############# Custom Directories ###############
# Backup Directory
$global:bwd = "ssm\current\path"
# Serverfiles Directory
$global:sfwd = "ssm\current\path"
#########################################################
To:
############# Custom Directories ###############
# Backup Directory
$global:bwd = "C:\Path\To\Backups"
# Serverfiles Directory
$global:sfwd = "C:\Path\To\servers"
#########################################################
works with nfs share as long as you sign into the share with file explore before hand