From 2bcd3a3acc8a729897541f02d8188b378ea357f1 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 2 Jul 2017 10:47:20 +0200 Subject: [PATCH] s3 migrate layout: Rename key files last --- src/restic/migrations/s3_layout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restic/migrations/s3_layout.go b/src/restic/migrations/s3_layout.go index c70df3218..342bdd7e0 100644 --- a/src/restic/migrations/s3_layout.go +++ b/src/restic/migrations/s3_layout.go @@ -67,9 +67,9 @@ func (m *S3Layout) Apply(ctx context.Context, repo restic.Repository) error { be.Layout = oldLayout for _, t := range []restic.FileType{ - restic.KeyFile, restic.SnapshotFile, restic.DataFile, + restic.KeyFile, restic.LockFile, } { err := m.moveFiles(ctx, be, newLayout, t)