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

backup from stdin: --stdin-filename is not used in path #575

Closed
aawsome opened this issue Apr 12, 2023 · 6 comments · Fixed by #576
Closed

backup from stdin: --stdin-filename is not used in path #575

aawsome opened this issue Apr 12, 2023 · 6 comments · Fixed by #576
Labels
C-bug Category: Something isn't working as expected

Comments

@aawsome
Copy link
Member

aawsome commented Apr 12, 2023

> echo test | rustic backup --stdin-filename test - gives:

> rustic snapshots 9e4
|----------|---------------------|----------|-------|------|-------|-------|------|------|
| 9e47fd89 | 2023-04-12 12:30:58 | latitude |       |      | test  |     1 |    1 |  5 B |
1 snapshot(s)
> rustic ls 9e4
"stdin" 

The filename in the tree should be test as well.

@aawsome aawsome added the C-bug Category: Something isn't working as expected label Apr 12, 2023
@usmannasir
Copy link

Looks like does not happen on alma linux but on ubuntu only?

@aawsome
Copy link
Member Author

aawsome commented Apr 12, 2023

@usmannasir Seems this has been introduced by #425. That is, it did work in all pre-0.5.0 versions and just stopped working in 0.5.0. Maybe you snapshots on alma linux were created by a previous version? (You can check by running rustic snapshots <ID> --long or rustic snapshots <ID> --json and look for the version field.)

@usmannasir
Copy link

Is this beta on published to stable already?

@aawsome
Copy link
Member Author

aawsome commented Apr 12, 2023

#576 has been merged into main; beta builds are currently run, I think they will be finished in a couple of minutes.
It will be part of the next release, which will be most likely 0.5.1.

@usmannasir
Copy link

ok, i will test it out and yes on my alma machine i might be having older version

@usmannasir
Copy link

Yes, it seems to be resolved, thanks alot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants