Back to Documentation

Configuration

Configure environments, storage providers, permissions, and scheduling in DoubleSync.

Environment Setup

DoubleSync works by comparing snapshots between environments. Each environment has a name, a snapshot storage path, and an optional remote URL. You can configure environments directly in the DoubleSync dashboard under "Settings".

appsettings.json Configuration

The full configuration block supports these options:

{
  "DoubleSync": {
    "LicenseKey": "DS-XXXX-XXXX-XXXX-XXXX",
    "SnapshotPath": "~/doublesync/snapshots",
    "Storage": {
      "Provider": "FileSystem",
      "AzureBlobConnectionString": "",
      "AzureBlobContainerName": "doublesync"
    },
    "AutoSnapshot": {
      "Enabled": false,
      "CronExpression": "0 2 * * *"
    }
  }
}

Storage Providers

DoubleSync supports two storage providers:

FileSystem — (default): Snapshots are stored on the local file system. Best for single-server setups and development.

AzureBlob — Snapshots are stored in Azure Blob Storage. Best for distributed teams and load-balanced environments. Requires the DoubleSync.Storage.Azure NuGet package.

Scheduled Auto-Snapshots

Enable automatic snapshot creation on a schedule using standard cron expressions. This is useful for keeping a regular backup cadence. Snapshots run as a background hosted service and do not impact site performance.

Permissions

DoubleSync integrates with Umbraco's user group system. You can configure per-group, per-environment, and per-direction permissions in the Settings view. See the Permissions guide for details.