Skip to content

fix(backup): restore base path of rclone repos - #1444

Closed
Platypuschan wants to merge 1 commit into
NethServer:mainfrom
Platypuschan:fix-restore-rclone-basepath
Closed

Platypuschan wants to merge 1 commit into
NethServer:mainfrom
Platypuschan:fix-restore-rclone-basepath

Conversation

@Platypuschan

Copy link
Copy Markdown

After a cluster restore, backup repositories of the rclone provider (for example S3-compatible storage) were skipped by the rclone gateway and looked empty, because their base path was not restored. NethServer/dev#8411

restore-cluster now also loads the base path stored in the cluster backup. Backups made before this change, or repositories of other providers, get an empty base path as before.

How to test

  • Add an rclone repository with a base path, back up an application, download the cluster backup, and restore it on a new node.
  • Run read-backup-repositories: the application is listed, and it can be restored.

See also


Generated by Hermes Agent:claude-sonnet-5-5 with nethserver-pr

The restore-cluster action loaded provider, URL and name of the
backup repositories, but not the base path. For the rclone
provider the rclone gateway needs it, and skipped the repository,
which then looked empty after a cluster restore.

Load the base path from the cluster backup, if present.

Assisted-by: Hermes Agent:claude-sonnet-5-5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant