I want to make a backup of the entire code base without checking out all the routines. How can I do this?
Thanks
Copy of Source Code in Repository
Re: Copy of Source Code in Repository
I'm not sure I fully understand your question.
Backups of the databases can be performed in SQL Server Management Studio (SSMS) or in the Vault admin web page. If you use SSMS, then make sure you backup sgvault, sgmaster, and sgdragnet.
Backups of the databases can be performed in SQL Server Management Studio (SSMS) or in the Vault admin web page. If you use SSMS, then make sure you backup sgvault, sgmaster, and sgdragnet.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 2
- Joined: Thu Oct 27, 2011 2:35 pm
Re: Copy of Source Code in Repository
Oh Thank you Beth,
In addition to what I do in SSMS, my supervisor wants me to make a weekly copy of the code base and store that copy offsite (we do that for everything else). I was thinking there is a way to get the code in some kind of format like a text notepad . Please feel free to tell me I am way off the mark!!
Thanks
In addition to what I do in SSMS, my supervisor wants me to make a weekly copy of the code base and store that copy offsite (we do that for everything else). I was thinking there is a way to get the code in some kind of format like a text notepad . Please feel free to tell me I am way off the mark!!
Thanks
Re: Copy of Source Code in Repository
You have a couple of different options you could use.
1) Shadow Folders. A shadow folder maintains an updated copy of the latest code. You can have a shadow folder on a different server. Then your server backups would catch the shadow folder, or you could write something to periodically ftp a copy of that elsewhere.
2) Use the Vault command-line client and write a short script to perform a Get of the latest code to some other location. You could combine that with some ftp scripting as well.
3) Use our Deploy power tool to push a copy of code offsite: http://www.sourcegear.com/vaultpro/vaul ... rtoys.html.
I'm not sure I understand what you mean about putting the code into a notepad format. As long as it's not a binary file, notepad can open the code file. Vault doesn't have the ability to convert your files to a different file type.
1) Shadow Folders. A shadow folder maintains an updated copy of the latest code. You can have a shadow folder on a different server. Then your server backups would catch the shadow folder, or you could write something to periodically ftp a copy of that elsewhere.
2) Use the Vault command-line client and write a short script to perform a Get of the latest code to some other location. You could combine that with some ftp scripting as well.
3) Use our Deploy power tool to push a copy of code offsite: http://www.sourcegear.com/vaultpro/vaul ... rtoys.html.
I'm not sure I understand what you mean about putting the code into a notepad format. As long as it's not a binary file, notepad can open the code file. Vault doesn't have the ability to convert your files to a different file type.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support