feat: add runVolumeBackup functionality and update volume backup paths

- Implemented the runVolumeBackup function to facilitate manual execution of volume backups, enhancing user control over backup processes.
- Updated various components to utilize the new VOLUME_BACKUPS_PATH for improved organization and clarity in backup file management.
- Enhanced error handling in the runManually mutation to ensure robust execution and logging of backup operations.
This commit is contained in:
Mauricio Siu
2025-06-30 22:15:45 -06:00
parent e21605030a
commit d15ccfe505
7 changed files with 102 additions and 22 deletions

View File

@@ -19,6 +19,7 @@ export const setupDirectories = () => {
MONITORING_PATH,
SSH_PATH,
SCHEDULES_PATH,
VOLUME_BACKUPS_PATH,
} = paths();
const directories = [
BASE_PATH,
@@ -30,6 +31,7 @@ export const setupDirectories = () => {
CERTIFICATES_PATH,
MONITORING_PATH,
SCHEDULES_PATH,
VOLUME_BACKUPS_PATH,
];
for (const dir of directories) {