Skip to content

Commit 256ec6f

Browse files
committed
fix documentation for multiple TARGET with env var
Signed-off-by: Avi Deitcher <avi@deitcher.net>
1 parent b5a7c79 commit 256ec6f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/backup.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,14 @@ The value of the environment variable or CLI target can be one of three formats,
127127
* S3: If it is a URL of the format `s3://bucketname.fqdn.com/path` then it will connect via using the S3 protocol.
128128
* SCP: If it is a URL of the format `scp://user@hostname:/path` then it will connect via SCP.
129129

130-
In addition, you can send to multiple targets by separating them with a whitespace for the environment variable,
130+
In addition, you can send to multiple targets by separating them with a comma for the environment variable,
131131
or native multiple options for other configuration options. For example, to send to a local directory and an SMB share:
132132

133-
* Environment variable: `DB_DUMP_TARGET="/db smb://hostname/share/path/"`
133+
* Environment variable: `DB_DUMP_TARGET="/db,smb://hostname/share/path/"`
134134
* CLI flag: `dump --target=/db --target=smb://hostname/share/path/"`
135135

136+
For more complex options, and in general, we recommend using a config file.
137+
136138
##### Local File
137139

138140
If the target starts with `/` or is a `file:///` then it is assumed to be a directory. The file will be written to that

0 commit comments

Comments
 (0)