Commit 68b1a8ae authored by godog's avatar godog

fix restic --stdin-filename option

parent 851aa569
Pipeline #1977 passed with stages
in 1 minute and 46 seconds
...@@ -194,7 +194,7 @@ func (r *resticRepository) BackupStream(ctx context.Context, backup Backup, ds D ...@@ -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) name = fmt.Sprintf("%s/%s", ds.Name, ds.Atoms[0].Name)
} }
return r.shell.Run(ctx, fmt.Sprintf( return r.shell.Run(ctx, fmt.Sprintf(
"%s backup --stdin --stdin-name %s", "%s backup --stdin --stdin-filename %s",
r.resticCmd(), r.resticCmd(),
name, name,
)) ))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment