Skip to content

Rename SQL dump output file to backup.sql#55

Merged
stephdl merged 1 commit intomainfrom
sdl-7203
Dec 12, 2024
Merged

Rename SQL dump output file to backup.sql#55
stephdl merged 1 commit intomainfrom
sdl-7203

Conversation

@stephdl
Copy link
Contributor

@stephdl stephdl commented Dec 10, 2024

Rename the SQL dump output file from timescale.sql to backup.sql to fix the restoration issue

NethServer/dev#7203

  • what it works: restore on the same node
    do a backup of the controller with an attached nethsecurity instance
    restore the backup on the same node and replace the ns8-nethsecurity-controller instance
    the restoration goes well
    the NethSecurity instance is not seen online from the controller
    inside the NethSecurity, we see the controller online
    restart the Nethsecurity connection inside the controller menu of NethSecurity and the instance is seen online inside the controller

The restart of NethSecurity seems a mandatory

  • what it does not work without manual interaction: restore on another node
    do a backup of the controller with an attached nethsecurity instance
    restore the backup on another node and replace the ns8-nethsecurity-controller instance
    the restoration goes well
    the NethSecurity instance is not seen online from the controller
    inside the NethSecurity, we do not see the controller online
    set a new FQDN to the controller because the FQDN now must be on the node2
    disconnect the Nethsecurity instance from the controller
    disconnect the controller from the NethSecurity instance
    try to reconnect the NethSecurity with another join code
    From the connector the NethSecurity is seen registered
    From the NethSecurity the status is seen connected

@stephdl stephdl marked this pull request as draft December 10, 2024 13:54
@stephdl stephdl marked this pull request as ready for review December 10, 2024 14:55
Copy link
Member

@gsanchietti gsanchietti left a comment

Choose a reason for hiding this comment

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

This is required for sure.

But we need also to try to make the firewall reconnects without reconfiguring them.

@stephdl stephdl merged commit f551252 into main Dec 12, 2024
1 check passed
@stephdl stephdl deleted the sdl-7203 branch December 12, 2024 08:25
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