Extracting all files from all repositories

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
TheKo
Posts: 4
Joined: Mon Mar 02, 2009 7:45 pm

Extracting all files from all repositories

Post by TheKo » Wed Apr 22, 2009 5:04 pm

Is there an easy way to automatically extract the latest version of all files from all repositories on a fortress server to according local directories, preferrably via script or command line? We would need this for regular automated snapshot-like backups created by a server-side task. Any tips on this are appreciated!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Extracting all files from all repositories

Post by lbauer » Thu Apr 23, 2009 9:35 am

You can use the Fortress Command Line Client for automated Gets. The Fortress CLC is in the Fortress GUI Client directory and is called vault.exe. For help, run this command: vault helphtml and you'll get this help file:
http://download.sourcegear.com/misc/vau ... lc.htm#GET

Some other options would be the Client API and Shadow Folders. A shadow folder is a local folder that contains the contents of a repository folder, and is kept up-to-date in the shadow folder by the Fortress server as changes are applied to repository folder.

A special Shadow Folder Web Service is installed with the Fortress server that is notified of changes as they happen, and the Shadow Folder Service keeps the local disk up to date.

See Fortress Admin Help->Source Control Repositories->Shadow Folders for more information.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply