diff --git a/config/README.md b/config/README.md index 858cc7135..c51ee0b83 100644 --- a/config/README.md +++ b/config/README.md @@ -206,9 +206,9 @@ source-specific option and then only apply to this source. **Note**: Copy-targets must be defined in their own config profile files. -| Attribute | Description | Default Value | Example Value | -| --------- | ------------------ | ------------- | ---------------------------------------- | -| target | One or more target | Not set | "remote_host" / ["profile1", "profile2"] | +| Attribute | Description | Default Value | Example Value | +| --------- | ------------------ | ------------- | ------------------------ | +| targets | Targets to copy to | [] | ["profile1", "profile2"] | ### WebDAV Options `[webdav]` diff --git a/config/copy_example.toml b/config/copy_example.toml index faffdc9b0..9a9f4b085 100644 --- a/config/copy_example.toml +++ b/config/copy_example.toml @@ -10,4 +10,4 @@ password = "test" # you can specify multiple targets. Note that each target must be configured via a config profile file [copy] -target = ["full", "rustic"] +targets = ["full", "rustic"] diff --git a/tests/show-config-fixtures/empty.txt b/tests/show-config-fixtures/empty.txt index 4b68aa7c5..eacbf72e3 100644 --- a/tests/show-config-fixtures/empty.txt +++ b/tests/show-config-fixtures/empty.txt @@ -51,7 +51,7 @@ sources = [] source = [] [copy] -target = [] +targets = [] [forget] prune = false