[GH-ISSUE #349] Restoration backup procedure documentation #89

Closed
opened 2026-05-07 00:18:39 +02:00 by BreizhHardware · 11 comments

Originally created by @speed47 on GitHub (Nov 4, 2022).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/349

    Hello! @speed47 sorry for bringing up an old issue. I noticed you mentioned having a draft for backup restoration. Has this been published so far? I've been looking for the documentation, but can't find any mentions of the procedure

Originally posted by @ldelelis in https://github.com/ovh/the-bastion/issues/304#issuecomment-1290677856

Originally created by @speed47 on GitHub (Nov 4, 2022). Original GitHub issue: https://github.com/ovh/the-bastion/issues/349 Hello! @speed47 sorry for bringing up an old issue. I noticed you mentioned having a draft for backup restoration. Has this been published so far? I've been looking for the documentation, but can't find any mentions of the procedure _Originally posted by @ldelelis in https://github.com/ovh/the-bastion/issues/304#issuecomment-1290677856_
BreizhHardware 2026-05-07 00:18:39 +02:00
Author
Owner

@speed47 commented on GitHub (Nov 4, 2022):

Creating a separate issue to avoid forgetting it. I still have the almost-finished draft on my plate, I'm expecting to finish it in the next few days.

<!-- gh-comment-id:1303205126 --> @speed47 commented on GitHub (Nov 4, 2022): Creating a separate issue to avoid forgetting it. I still have the almost-finished draft on my plate, I'm expecting to finish it in the next few days.
Author
Owner

@ldelelis commented on GitHub (Nov 4, 2022):

Thanks for the work Stephane! Adding to the initial question: will the restoration docs cover how to deal with admin user(s) as well? From what I can tell, adding an admin requires an adjustment in bastion's config as well, so I'm wondering if this is dealt with from backups as well

<!-- gh-comment-id:1303965974 --> @ldelelis commented on GitHub (Nov 4, 2022): Thanks for the work Stephane! Adding to the initial question: will the restoration docs cover how to deal with admin user(s) as well? From what I can tell, adding an admin requires an adjustment in bastion's config as well, so I'm wondering if this is dealt with from backups as well
Author
Owner

@speed47 commented on GitHub (Nov 7, 2022):

Yes, this'll be dealt with, as this info is saved in the backups. Side note: for now, only restoring on the same OS is supported, i.e. if your original bastion was under, say, Ubuntu 20.04, you should restore on an Ubuntu 20.04. Additional (not yet written) tooling will be needed to be able to restore cross-distro in a proper way. Will this be your case?

<!-- gh-comment-id:1305362656 --> @speed47 commented on GitHub (Nov 7, 2022): Yes, this'll be dealt with, as this info is saved in the backups. Side note: for now, only restoring on the same OS is supported, i.e. if your original bastion was under, say, Ubuntu 20.04, you should restore on an Ubuntu 20.04. Additional (not yet written) tooling will be needed to be able to restore cross-distro in a proper way. Will this be your case?
Author
Owner

@ldelelis commented on GitHub (Nov 7, 2022):

That's fine, thanks! We'll always be working with the same distro and version, so (at least for now) we wouldn't need any other tooling

<!-- gh-comment-id:1305822224 --> @ldelelis commented on GitHub (Nov 7, 2022): That's fine, thanks! We'll always be working with the same distro and version, so (at least for now) we wouldn't need any other tooling
Author
Owner

@ldelelis commented on GitHub (Jan 10, 2023):

Hello! Any news on this?

<!-- gh-comment-id:1377318211 --> @ldelelis commented on GitHub (Jan 10, 2023): Hello! Any news on this?
Author
Owner

@ldelelis commented on GitHub (Feb 9, 2023):

@speed47 Bumping for visibility, I haven't heard back in a while

<!-- gh-comment-id:1424757119 --> @ldelelis commented on GitHub (Feb 9, 2023): @speed47 Bumping for visibility, I haven't heard back in a while
Author
Owner

@speed47 commented on GitHub (Mar 2, 2023):

Hey @ldelelis , sorry for the abysmal time it took me to get this documentation out!

It's still pending review (and your comments may help!), but here it is:
https://github.com/ovh/the-bastion/blob/encryption/doc/sphinx/installation/restoring_from_backup.rst?plain=1

<!-- gh-comment-id:1452138364 --> @speed47 commented on GitHub (Mar 2, 2023): Hey @ldelelis , sorry for the abysmal time it took me to get this documentation out! It's still pending review (and your comments may help!), but here it is: https://github.com/ovh/the-bastion/blob/encryption/doc/sphinx/installation/restoring_from_backup.rst?plain=1
Author
Owner
<!-- gh-comment-id:1453236649 --> @speed47 commented on GitHub (Mar 3, 2023): https://ovh.github.io/the-bastion/installation/restoring_from_backup.html
Author
Owner

@ldelelis commented on GitHub (Mar 8, 2023):

Looks great! Thanks for the work on this. I'll try to test recovering with this documentation and get back to you ASAP

<!-- gh-comment-id:1460497780 --> @ldelelis commented on GitHub (Mar 8, 2023): Looks great! Thanks for the work on this. I'll try to test recovering with this documentation and get back to you ASAP
Author
Owner

@ldelelis commented on GitHub (Mar 10, 2023):

Everything works great from my tests. Thanks for the help!

<!-- gh-comment-id:1464139331 --> @ldelelis commented on GitHub (Mar 10, 2023): Everything works great from my tests. Thanks for the help!
Author
Owner

@speed47 commented on GitHub (Mar 21, 2023):

Thanks! Opening another issue for the helper script itself (which will also be used when setting up a new slave instance, to better manage potentially differing UIDs/GIDs before sync).

<!-- gh-comment-id:1477947503 --> @speed47 commented on GitHub (Mar 21, 2023): Thanks! Opening another issue for the helper script itself (which will also be used when setting up a new slave instance, to better manage potentially differing UIDs/GIDs before sync).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#89
No description provided.