From 68b1a8ae5e642b1d15ae3774a69ec51443edd9ac Mon Sep 17 00:00:00 2001 From: godog Date: Sun, 30 Dec 2018 17:57:00 +0100 Subject: [PATCH] fix restic --stdin-filename option --- repository_restic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository_restic.go b/repository_restic.go index f07f89f..b65e386 100644 --- a/repository_restic.go +++ b/repository_restic.go @@ -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-filename %s", r.resticCmd(), name, )) -- GitLab