Have gone through FAQ on setting up shadow folder service to replicate to remote machine using a UNC path http://support.sourcegear.com/viewtopic.php?t=18 and substituted the domain account with a local account, but cannot seem to get it to work. I need to be able to deploy code from our vault instance on machine A to a number of remote machines, none of which are on a domain (not even sure if this is possible using built-in features of Vault)
IIS process is using NETWORK SERVICE. I've set up the local user account to have access to the Vault specific folders as outlined in the instruction on permissions, verified the priv's, etc.
Using latest version 4.0.6, and we are running IIS 6 on Windows Server 2004.
Any help is appreciated. If this is not possible outside of a domain, can someone point me in the right direction with regards to file replication so that we can web deploy our code effectively ?
thanks,
ps: love the product, hope to get it into our dev process soon.
Shadow Folders on servers without domain
Moderator: SourceGear
The account that Vault runs under needs write permissions to the other computer. As long as it has that, you can have a shadow folder with a workgroup.
You will probably want to create a local user that Vault will run under, then install Vault, use the custom IIS process model and specify that user (machine name\user name), and then on the second machine give that same user permissions to write to that area. I know some other users do this a little differently, but the base concept is the same. The user Vault runs under needs write permissions on the other computer.
The easiest way to set this up is to make the shadow folders a share.
You will probably want to create a local user that Vault will run under, then install Vault, use the custom IIS process model and specify that user (machine name\user name), and then on the second machine give that same user permissions to write to that area. I know some other users do this a little differently, but the base concept is the same. The user Vault runs under needs write permissions on the other computer.
The easiest way to set this up is to make the shadow folders a share.
Other options you could try:
- You can also load a client right onto the machines that run the website and perform a Get with that client.
You could map a drive to your machine of the location where the files will go and then perform a Get to that mapped drive.
Both options above can be set up as scripts in a .bat file that can just be run to pull the latest down. Can add in an ftp section as well if you prefer to use that as the way to push the files.