![]() Pretty self explanatory.Īfter all the components were installed, I made sure that the locations of the svnadmin and 7-zip utilities were added to the PATH environment variable. ![]() Right-click on My Computer, and choose Properties… Then click the Advanced tab and the Environment Variables button. Under the System Variables list, scroll to find the Path variable, select it and click Edit. On my system, I added the follow two entries to the end of the Path variable: “C:\Program Files\VisualSVN Server\bin\ C:\Program Files\7-Zip\ ” (no quotes). Now that all the pieces are in place, here’s a simple batch file that exports a repository to a temporary folder, zips it up, copies the zip file to the Dropbox folder and cleans up after itself. Svnadmin hotcopy D:\Repositories\%1 D:\Temp\%1Ĭopy C:\Temp\%1.zip "C:\Dropbox\My Dropbox\Repositories\%1.zip" The script is called svnbackup.bat and takes a single argument, which is the name of the Repository to backup. Once the zip file is dropped in the Dropbox folder, synchronization automatically kicks in and the zip file is backup up to the Dropbox servers.Ī couple of things to note. Move visualsvn repository to another server zip file#. ![]()
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |