create_storage
Set up a new backup storage destination with encryption, compression, and optional dedupe seeding from an existing storage.
Instructions
Create a new backup storage (destination).
Args: name: Storage name, unique in duplicacy-web. url: Storage URL. Local path (e.g. /backups/plex), or scheme URLs like b2://bucket, s3://..., sftp://user@host/path. password: Encryption password for the repository. Keep it safe; all backups in this storage are encrypted with it. compression: Chunk compression. One of lz4, zstd_default, zstd_fastest, zstd_better, zstd_best. lz4 suits already-compressed media. copy_from: Name of an existing storage to copy chunk files from (dedupe seeding). Empty string for a fresh storage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| password | Yes | ||
| copy_from | No | ||
| compression | No | lz4 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |