Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restoration backup procedure documentation #349

Closed
speed47 opened this issue Nov 4, 2022 · 11 comments
Closed

Restoration backup procedure documentation #349

speed47 opened this issue Nov 4, 2022 · 11 comments
Labels
documentation Improvements or additions to documentation

Comments

@speed47
Copy link
Collaborator

speed47 commented Nov 4, 2022

    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 #304 (comment)

@speed47 speed47 added the documentation Improvements or additions to documentation label Nov 4, 2022
@speed47
Copy link
Collaborator Author

speed47 commented 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.

@ldelelis
Copy link

ldelelis commented 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

@speed47
Copy link
Collaborator Author

speed47 commented 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?

@ldelelis
Copy link

ldelelis commented 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

@ldelelis
Copy link

Hello! Any news on this?

@ldelelis
Copy link

ldelelis commented Feb 9, 2023

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

@speed47
Copy link
Collaborator Author

speed47 commented 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

@speed47
Copy link
Collaborator Author

speed47 commented Mar 3, 2023

@ldelelis
Copy link

ldelelis commented 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

@ldelelis
Copy link

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

@speed47
Copy link
Collaborator Author

speed47 commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants