So we recently moved our software share that we used for deploying all of our software from with a shiny new DFS share. For the sake of speed and sanity I'd like to directly manipulate the database to replace "\\servername\sharename" with "\\dfs\sharename". Has anyone ever done this before or see any problems doing so?
I've found the few relevant tables that need to be updated:
[script_task]; column: script, script_file
[copyfile_task]; column: local_file
svs_manage_layers; column: file_path
Install_task; column: install_file, addl_cmd_line, cmdline_params
And here's an example of the update SQL script:
UPDATE script_task
SET script = REPLACE(script,'\\servername\sharename\','\\dfs\sharename\')
My DBA had also mentioned we need to change ‘script’ column in the ‘script_task’ table to allow for 6075 varchar, it is currently 6000. I'm not sure if one of run script jobs has a really long vbscript in it so I'm not sure if it would be a good idea to change the character limit, probably best to just find the long script and fix that.
This would save me a ton of work, we have the old share name aliased to the new location but I'd like software to be installed using the new path so the install source is correct in the registry and maybe 5 or so years from now we can remove that alias. Obviously we'd perfrom a DB backup and a job export before performing the work.