IDERA Snapshot Utility is a tool that allows you to create database snapshots via the command line. A snapshot is a file that contains all the schema information for a database. The schema information is stored in a proprietary format and can only be read by the IDERA SQL Schema Compare user interface or command line. The schema snapshot does not contain data, only schema information.

The Snapshot Utility accepts parameters in the format /name:value. There are no spaces between the name and the value and the value is separated from the name with a colon <:>. If the value itself contains spaces, it should be surrounded in double quotes.

IDERA Snapshot Utility supports the following arguments:

Samples:

The following command creates a snapshot for the database AdventureWorks on the local SQL Server using a trusted connection:

xSQLSnapshot /s:(local) /d:AdventureWorks /sp:"c:\AdventureWorks.snpx"

The following command creates the snapshot by specifying a connection string:

xSQLSnapshot /cs:"Persist Security Info=False;User ID=<username>;Password=<password>;Initial Catalog=AdventureWorks;Data Source=(local)" /sp:"c:\AdventureWorks.snpx"

The following command uses the setting file snapshot.txt to create the snapshot for two databases:

xSQLSnapshot /f:"c:\snapshot.txt"

The setting file snapshot.txt contains the following lines:

/s:(local) /d:AdventureWorks_DEV /sp:"c:\AdventureWorks_DEV.snpx"
/s:(local) /d:AdventureWorks_PROD /sp:"c:\AdventureWorks_PROD.snpx"

 

Total compare from data to schema with IDERA SQL Comparison Toolset. Learn more > >

IDERA WebsiteProductsPurchaseSupportCommunityAbout UsResources Legal