Search Results for

    Show / Hide Table of Contents

    Database Package

    New Database Package

    1. Either:
      • Project type = Files: Add your database backup to the Files\Database directory.
      • Project type = MaintainDatabase, HybridCloudComponents, ExtractFromDatabase: No actions required. A backup and a package is created from the database specified by DbConnectionString in Project.json.
    2. Open a PowerShell console.
    3. In the PowerShell console, run:

      PS C:\LS Retail\My Project> .\NewDatabasePackage.ps1 -Import 
      
      • If you provided the database backup yourself, a package will be created from the backup provided in the Files\Database directory.
      • In other cases, the script will backup the specified database and create a database package.

    Update Database Package

    If you want to base new POS device installations of a new database, you can create a new database package.

    1. Open the script NewDatabasePackage.ps1 for editing.
    2. Find the version for the package and increment it, i.e. Version = '1.1.0'.
    3. Perform the steps in the section above.
    4. Update the POS bundle with the new version.
    In This Article
    Back to top Generated by DocFX