Sourcesafe archive from batch file

Posted on 2006-04-24
Medium Priority
Last Modified: 2013-12-03
I'm trying to use the SSARC utility in order to archive my
entire source safe database ("$/").
And I want to do this automatically (I.e. Batch file)

The problem is that when I run the application it shows me the list of projects, page by page, and want me to hit ENTER between each page. And this obviously can't be an "End of Day" batch file.

This is the Exact message I get at the end of each page:
--Press Q, then Enter to stop, or press Enter to continue--

This is the command I'm running:
ssarc -d- -i- -se:\sourcesafe -o "e:\vss archives\vssarchive3.ssa" $/

Note that I'm using the -i- switch

Question by:adobner
  • 2
LVL 86

Accepted Solution

jkr earned 500 total points
ID: 16525605
Try to remove '-o', this parameter paginates or redirects output.

ssarc -d- -i- -se:\sourcesafe "e:\vss archives\vssarchive3.ssa" $/

should work.

LVL 86

Expert Comment

ID: 16525662
BTW, be sure to also check out http://www.codeproject.com/tips/autovssbackup.asp ("Automated Source Safe Backups")

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question