Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support stdout / stdin for backup and restore #285

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

bison
Copy link
Member

@bison bison commented Aug 17, 2023

This adds support for passing a single dash character as the filename
to the backup command, resulting in it using stdout. It also changes
the restore command to default to reading from stdin if no filename is
given.

Fixes: #284

@bison bison force-pushed the backup-restore-pipes branch from 926cde5 to 8a75805 Compare August 17, 2023 12:13
This adds support for passing a single dash character as the filename
to the backup command, resulting in it using stdout.  It also changes
the restore command to default to reading from stdin if no filename is
given.

Fixes: authzed#284
@jzelinskie jzelinskie added this pull request to the merge queue Aug 23, 2023
Merged via the queue into authzed:main with commit e09fe7e Aug 23, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2023
@bison bison deleted the backup-restore-pipes branch August 25, 2023 15:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zed backup to stdout or existing file
2 participants