mirror of
https://github.com/restic/restic.git
synced 2025-12-02 14:35:23 +00:00
Prepare changelog for 0.17.0
This commit is contained in:
16
changelog/0.17.0_2024-07-26/issue-4251
Normal file
16
changelog/0.17.0_2024-07-26/issue-4251
Normal file
@@ -0,0 +1,16 @@
|
||||
Enhancement: Support reading backup from a command's standard output
|
||||
|
||||
The `backup` command now supports the `--stdin-from-command` option. When using
|
||||
this option, the arguments to `backup` are interpreted as a command instead of
|
||||
paths to back up. `backup` then executes the given command and stores the
|
||||
standard output from it in the backup, similar to the what the `--stdin` option
|
||||
does. This also enables restic to verify that the command completes with exit
|
||||
code zero. A non-zero exit code causes the backup to fail.
|
||||
|
||||
Note that the `--stdin` option does not have to be specified at the same time,
|
||||
and that the `--stdin-filename` option also applies to `--stdin-from-command`.
|
||||
|
||||
Example: `restic backup --stdin-from-command --stdin-filename dump.sql mysqldump [...]`
|
||||
|
||||
https://github.com/restic/restic/issues/4251
|
||||
https://github.com/restic/restic/pull/4410
|
||||
Reference in New Issue
Block a user