diff --git a/apps/snapshots.go b/apps/snapshots.go index 743262e..4c00507 100644 --- a/apps/snapshots.go +++ b/apps/snapshots.go @@ -147,7 +147,7 @@ func (s *SnapshotProcessor) CreateSnapshot(appName string, labels []string) (str return snapshot.KeyName(s.IndexLabel), fmt.Errorf("saving metadata error: %v", err) } - tmpSnapshotArchivePath := path.Join(s.TmpSnapshotPath, snapshot.KeyName(s.IndexLabel)+".zip") + tmpSnapshotArchivePath := path.Join(s.TmpSnapshotPath, snapshot.KeyName(s.IndexLabel)+".tar.zst") err = os.Chdir(path.Join(s.AppsPath, appName)) if err != nil { @@ -186,7 +186,7 @@ func (s *SnapshotProcessor) CreateSnapshot(appName string, labels []string) (str // If you need a new app from existing snapshot just create it. // This restores only content on the disk, doesn't create the container. func (s *SnapshotProcessor) RestoreSnapshot(key string, newAppName string) error { - tmpSnapshotArchivePath := path.Join(s.TmpSnapshotPath, key+".zip") + tmpSnapshotArchivePath := path.Join(s.TmpSnapshotPath, key+".tar.zst") err := os.MkdirAll(path.Join(s.AppsPath, newAppName), 0755) if err != nil {