Transfer Settings from Database - Margin Master

Margin Master Handbook

Introduction
Part I · Installing
Part II · Introducing the Main Window
Part III · Initial Configuration
Part IV · Customizing the Workspace
Part V · Basic Application Functionality
Part VI · Learning Margin Master
Part VII · Advanced Topics
Part VIII · Updates, Troubleshooting & Help
Appendix
Part I · Chapter 4 — Your DatabaseUpdated 2026-02-23

Transfer Settings from Database

What is this?

Margin Master lets you copy your configuration -- pricing strategies, rounding schemes, views, and other settings -- directly from one database to another. When you create a new database or migrate to a new server, you do not need to re-enter all your settings by hand. The transfer reads settings straight from the source database over SQL Server, so no backup file is needed.

Who is this for?

  • New database setup -- After creating a fresh database, quickly bring over your existing configuration instead of starting from scratch.
  • Server migrations -- Moving to a new SQL Server? Copy settings from the old server's database to the new one in a few clicks.
  • Store cloning -- Replicate one store's setup to another store's database.
  • Recovery -- Restore settings after a database was recreated or reset.

How to Access

Automatic Prompt (After Database Creation)

  1. Create a new database via File > Database > Create Database.
  2. After creation completes, a prompt appears: "Would you like to copy settings from an existing database?"
  3. Click Yes to open the Settings Transfer dialog.

Manual Access (Menu)

  1. Go to File > Backup/Restore > Copy Settings from Database.
  2. The Settings Transfer dialog opens.

Step-by-Step Guide

Step 1: Select the Source Server

The SQL Server dropdown is pre-populated with servers from your known connections. You can also type a server name directly.

  • Local servers appear as the machine name (e.g., DESKTOP-ABC123)
  • Remote servers use their full name (e.g., SQL-SERVER-01 or 192.168.1.100\SQLEXPRESS)
  • Windows Authentication is used to connect

Step 2: Select the Source Database

After selecting a server, the Database dropdown populates with all user databases on that server. System databases (master, tempdb, model, msdb) are excluded, and the currently active database is also excluded to prevent self-copy.

Step 3: Validation

When you select a database, the system validates it is a valid Margin Master database by checking for required tables:

  • ApplicationSettings
  • GlobalFileConfig
  • PricingStrategies
  • RoundingSchemes

If validation fails, a message explains what is missing. Only valid Margin Master databases can be used as a source.

Step 4: Review Available Settings

Once validated, the system reads all transferable settings from the source database and shows a status summary, for example:

Ready -- found 3 strategy(ies), 5 rounding scheme(s), 42 app setting(s)

The familiar backup/restore checkbox panel appears with two columns:

Common/Typical:

  • Pricing Strategies (with sub-checkboxes for Steps, Custom Groups, SKU Level Exceptions)
  • Rounding Schemes
  • Database Connections
  • Views
  • Sort Options
  • Store Groups

Optional:

  • Startup Checks
  • Import Processing
  • Database Settings

Checkboxes that show "NA" (strikethrough) indicate that section has no data in the source database.

Step 5: Select What to Copy

Check the settings you want to transfer. At minimum, most users will want:

  • Pricing Strategies (with Steps, Custom Groups, SKU Level Exceptions) -- your pricing rules
  • Rounding Schemes -- how prices are rounded
  • Views -- your custom column layouts and sort orders
  • Database Settings -- application preferences and feature toggles

Step 6: Execute Transfer

Click Copy Settings. The application:

  1. Writes the selected settings to the current database
  2. Reinitializes with the new settings
  3. Shows a success message

What Gets Transferred

Component Description
Pricing Strategies Strategy definitions with all nested rules
Strategy Steps Individual pricing rule steps within each strategy
Custom Groups Named SKU groupings with their member SKUs
SKU Level Exceptions Per-SKU pricing rule overrides
Rounding Schemes All rounding rule definitions (right-side, left-side, range, increment, etc.)
Views View Manager layouts, column configurations, preset sort sequences
Global File Configs Miscellaneous application configuration settings
Store Groups Named store number groupings and their members
Import Processing POS import history records
Database Settings Application settings (filtered -- see below)
Startup Checks Startup validation toggle states
Database Connections Known SQL Server connection entries

What Does NOT Get Transferred

Certain settings are automatically excluded because they are machine-specific, security-sensitive, or track migration state:

Category Examples
License & Security Software license key, admin password, encryption flags
Connection Strings Database connection strings, FTP server addresses
Credentials FTP usernames/passwords, MySQL credentials
Machine Paths Local file paths, log file locations
Migration Flags One-time migration markers, script execution history
Runtime State Last sync dates, import timestamps, BCP statistics
Store Identity Store number, store count (set during database creation)

This filtering prevents the source database's machine-specific configuration from overwriting the current database's local settings.

Connect with us

Margin Master by RetailerSoft, Inc. © 2026. All rights reserved.

Loading...

Reconnecting to the server...

This usually takes a few seconds.