2023-10-01 14:34:30 +00:00
|
|
|
Enhancement: Support reading backup from a program's standard output
|
2023-08-27 08:40:57 +00:00
|
|
|
|
2023-10-01 14:34:30 +00:00
|
|
|
When reading data from stdin, the `backup` command could not verify whether the
|
|
|
|
corresponding command completed successfully.
|
|
|
|
|
|
|
|
The `backup` command now supports starting an arbitrary command and sourcing
|
|
|
|
the backup content from its standard output. This enables restic to verify that
|
|
|
|
the command completes with exit code zero. A non-zero exit code causes the
|
|
|
|
backup to fail.
|
2023-08-27 08:40:57 +00:00
|
|
|
|
|
|
|
Example: `restic backup --stdin-from-command mysqldump [...]`
|
|
|
|
|
|
|
|
https://github.com/restic/restic/issues/4251
|
|
|
|
https://github.com/restic/restic/pull/4410
|