mirror of
https://github.com/octoleo/restic.git
synced 2024-12-26 20:30:19 +00:00
s3 migrate layout: Rename key files last
This commit is contained in:
parent
c54c632ca1
commit
2bcd3a3acc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user