mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +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
|
be.Layout = oldLayout
|
||||||
|
|
||||||
for _, t := range []restic.FileType{
|
for _, t := range []restic.FileType{
|
||||||
restic.KeyFile,
|
|
||||||
restic.SnapshotFile,
|
restic.SnapshotFile,
|
||||||
restic.DataFile,
|
restic.DataFile,
|
||||||
|
restic.KeyFile,
|
||||||
restic.LockFile,
|
restic.LockFile,
|
||||||
} {
|
} {
|
||||||
err := m.moveFiles(ctx, be, newLayout, t)
|
err := m.moveFiles(ctx, be, newLayout, t)
|
||||||
|
Loading…
Reference in New Issue
Block a user