The service is currently configured using a yaml file or environment variables.
Currently you need to supply both the master and host key in the configuration but we may also let the host generate it's own key. The advantage of supplying both keys is that you don't need persistent storage for the configuration and will not accidentally generate a new host key on a re-deploy.
See also notes about gpg.
See also config.json example.
config_home
: Configuration location (/etc/duply
is default and recommended)container_name
: Swift container nameroot
: The root path you are backing uparch_dir
: Where Duply stores its local archivevolsize
: Size in MBmax_age
: Max age of backupmax_full_backups
: Max number of full backups duply will retainmax_full_backup_age
: how old a full backup must be before a new full backup will be createdmax_full_with_incrs
: ..run_at
: Cron pattern of when Duply backup and purge should happen. (See cron)auth
: See auth section belowglobbing
: See globbing section belowkeys
: See keys section
- swift_auth_url
- swift_auth_version
- swift_region_name
- swift_username
- swift_password
- swift_project_name
- swift_user_domain_name
- swift_project_domain_name
Can also be omitted and defined thought environment variables (Here mapped from openstack rc values):
SWIFT_AUTHURL=${OS_AUTH_URL}
SWIFT_AUTHVERSION=${OS_IDENTITY_API_VERSION}
SWIFT_USERNAME=${OS_USERNAME}
SWIFT_PASSWORD=${OS_PASSWORD}
SWIFT_REGION_NAME=${OS_REGION_NAME}
SWIFT_USER_DOMAIN_NAME=${OS_PROJECT_DOMAIN_NAME}
SWIFT_PROJECT_DOMAIN_NAME=${OS_USER_DOMAIN_NAME}
SWIFT_TENANTNAME=${OS_PROJECT_NAME}
Currently we only support either include or exclude. If both are defined the service will not start.
exclude
: List of paths to exclude relative toroot
include
: List of paths to include relative toroot
. All other paths will be excluded.
Note that currently you have to supply both the master and host key. This way the service can re-create the key chain and configuration on init without the need of persistent storage for this.
master
id
: Id of the master keydata
: The public part of master key
host
id
: id of the host keypassword
: Password for the host keypublic
: Public key dataprivate
: Private key data