Skip to content

Integrate Backrest Configuration Handling into add_node Function#296

Merged
mmols merged 19 commits into
REL25_01from
add-node/25_01
Apr 15, 2025
Merged

Integrate Backrest Configuration Handling into add_node Function#296
mmols merged 19 commits into
REL25_01from
add-node/25_01

Conversation

@moizpgedge
Copy link
Copy Markdown
Contributor

feat: advanced backrest installation & JSON validation for add-node

    • Install Backrest on a source node that does not have Backrest configured, then create a backup
    • If target node is specified in JSON, install and configure Backrest on the target node; otherwise, clean up Backrest
    • Extend JSON validation in the add-node function to validate the target node’s Backrest configuration
    • Perform cleanup tasks on the source node
    • Append target node information to the cluster JSON file
    • Throw an error if repo1_path is provided and the source node is already configured with Backrest
    • Ensure repo1_path flag is properly recognized and functional

@moizpgedge moizpgedge requested a review from mmols April 14, 2025 01:26
Copy link
Copy Markdown
Member

@mmols mmols left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionally this is looking good - I've left comments for cleanup before we merge.

Comment thread cli/scripts/cluster.py
Comment thread cli/scripts/cluster.py
Comment thread cli/scripts/cluster.py
Comment thread cli/scripts/cluster.py Outdated
Comment thread cli/scripts/cluster.py Outdated
Comment thread cli/scripts/cluster.py Outdated
Comment thread cli/scripts/cluster.py Outdated
Comment thread cli/scripts/cluster.py Outdated
Comment thread cli/scripts/cluster.py Outdated
Comment thread cli/scripts/cluster.py
@moizpgedge moizpgedge changed the title Add node/25 01 Integrate Backrest Configuration Handling into add_node Function Apr 14, 2025
@moizpgedge moizpgedge requested a review from mmols April 14, 2025 23:33
@mmols mmols merged commit 477f558 into REL25_01 Apr 15, 2025
9 checks passed
@mmols mmols deleted the add-node/25_01 branch April 15, 2025 20:31
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.

2 participants