LogoLogo
  • Duplicati Documentation
  • Getting Started
    • Installation
    • Set up a backup in the UI
    • Running a backup
    • Restoring files
  • Detailed descriptions
    • Choosing Duplicati Type
    • Using the secret provider
      • Local providers
      • Cloud providers
      • Advanced configurations
    • Using remote management
      • Using remote control with agent
    • Migrating Duplicati to a new machine
    • Scripts
    • Sending reports
      • Monitoring with Duplicati Console
      • Sending reports with email
      • Sending Jabber/XMPP notifications
      • Sending HTTP notifications
      • Sending Telegram notifications
      • Custom message content
    • Duplicati Access Password
    • Import and export backup configurations
    • Filters in Duplicati
    • The local database
    • The server database
    • Preload settings
    • Retention settings
    • Using Duplicati with Linux
    • Using Duplicati from Docker
    • Using Duplicati with MacOS
    • Using Duplicati with Windows
    • Running a self-hosted OAuth Server
  • Using tools
    • Encrypting and decrypting files
    • Using Duplicati from the Command Line
    • Recovering from failure
    • Disaster recovery
  • Backup destinations
    • Destination overview
    • Standard based destinations
      • File Destination
      • S3-compatible Destination
      • FTP Destination
      • SFTP (SSH) Destination
      • WebDAV Destination
      • OpenStack Destination
      • Rclone Destination
      • CIFS (aka SMB) Destination
    • Provider specific destinations
      • Backblaze B2 Destination
      • Box.com Destination
      • Rackspace CloudFiles Destination
      • IDrive e2 Destination
      • Mega.nz Destination
      • Aliyun OSS Destination
      • Tencent COS Destination
      • Jottacloud Destination
      • pCloud Destination
      • Azure Blob Storage Destination
      • Google Cloud Storage Destination
      • Microsoft Group Destination
      • SharePoint Destination
      • SharePoint v2 (Graph API)
      • Amazon S3 destination
    • File synchronization providers
      • Dropbox Destination
      • Google Drive Destination
      • OneDrive Destination
      • OneDrive For Business Destination
    • Decentralized providers
      • Sia Destination
      • Storj Destination
      • TahoeLAFS destination
  • Duplicati Programs
    • TrayIcon
    • Server
    • Command Line Interface CLI
    • Service and WindowsService
    • Command Line Tools
      • AutoUpdater
      • BackendTester
      • BackendTool
      • RecoveryTool
      • SecretTool
      • SharpAESCrypt
      • Snapshots
      • ServerUtil
    • Agent
    • LICENSE
      • Duplicati Inc & Open Source
      • License Agreement
    • OAuth Server
  • SUPPORT
  • Installation details
    • Release channels and versions
      • Upgrading and downgrading
      • Downgrade from 2.1.0.2 to 2.0.8.1
    • Package options
    • Developer
  • TECHNICAL DETAILS
    • Architecture Premises
    • Understanding Backup
      • How Backup Works
      • Encryption Algorithms
      • Backup size parameters
    • Understanding Restore
      • How Restore Works
      • Disaster Recovery
    • Database versions
    • Server authentication model
    • Option formats
Powered by GitBook
On this page
  • Boolean values
  • Size values
  • Timespans, timestamps, and durations

Was this helpful?

Export as PDF
  1. TECHNICAL DETAILS

Option formats

This page describes the format options used in Duplicati

PreviousServer authentication model

Last updated 6 months ago

Was this helpful?

In various places it is possible to enter a value, usually passed as a commandline option. These values can be written as strings, but are interpreted different internally.

Boolean values

A boolean option passed will translate to the value true if it is supplied with no assigned value. For example, these two are equivalent

--use-ssl
--use-ssl=true

It is possible to use the following "thruth values": 1, on, true, yes.

The "false values" are: 0, off, false, no.

If the value is neither of these, the context defines what it is interpreted as, but generally it is interpreted as "true".

Size values

Values provided as sizes are parsed as a number with a multiplier suffix, for example:

--volume-size=50mb

If no suffix is given, the context has a default suffix that is applied, usually either kb or mb .

Despite the naming, the sizes are interpreted as . Supported suffixes are:

  • b (or no suffix): bytes, multipler is 1

  • kb: kilobytes, multiplier is 1024

  • mb: megabytes, multiplier is 1024^2

  • gb: gigabytes, multiplier is 1024^3,

  • tb: terrabytes, multiplier is 2024^4

Timespans, timestamps, and durations

Similar to size values, timespans and durations can be provided with a value and a multiplier suffix. For example, to set a span of 30 days:

--keep-time=30D

The supported multipliers are:

  • Y: year

  • M: month

  • W: week, same as 7D

  • D: day, same as 24h

  • h: hour, same as 60m

  • m: minute, same as 60s

  • s (or no suffix): seconds

Unlike the sizes, the timespans can be composite, so the value:

--keep-time=1M4D3m

Translates to "1 month + 4 days + 3 minutes", and the duration is the sum of those values. It is also possible to have negative values, such as 1D-1s, meaning "1 day minus 1 second".

For timestamps, it is possible to also provide a local-format date-time string, or the special value now to signal the current date and time.

kiki-bytes