Skip to content

Commit c42feaf

Browse files
authored
fixes: #19
1 parent fdaeb08 commit c42feaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/backup/rustic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ func getCacheDir() string {
599599
return filepath.Join(repoBasePath, "rustic-cache")
600600
}
601601
// Always use a dedicated rustic-cache directory for S3 backups
602-
return "/var/lib/pterodactyl/rustic-cache"
602+
return "/var/lib/elytra/rustic-cache"
603603
}
604604

605605
// createTarGzArchive creates a tar.gz archive from a directory and writes it to the provided writer
@@ -678,4 +678,4 @@ func createTarGzArchive(sourceDir string, writer io.Writer) error {
678678

679679
log.WithField("file_count", fileCount).WithField("dir_count", dirCount).Info("backup tar archive created successfully")
680680
return err
681-
}
681+
}

0 commit comments

Comments
 (0)