Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai3
tools
tabacco
Commits
68b1a8ae
Commit
68b1a8ae
authored
Dec 30, 2018
by
godog
Browse files
fix restic --stdin-filename option
parent
851aa569
Changes
1
Hide whitespace changes
Inline
Side-by-side
repository_restic.go
View file @
68b1a8ae
...
...
@@ -194,7 +194,7 @@ func (r *resticRepository) BackupStream(ctx context.Context, backup Backup, ds D
name
=
fmt
.
Sprintf
(
"%s/%s"
,
ds
.
Name
,
ds
.
Atoms
[
0
]
.
Name
)
}
return
r
.
shell
.
Run
(
ctx
,
fmt
.
Sprintf
(
"%s backup --stdin --stdin-name %s"
,
"%s backup --stdin --stdin-
file
name %s"
,
r
.
resticCmd
(),
name
,
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment