Is there a set of best practices when backing up a baremetal JupyterHub 2.0 deployment? All I could find in the official documentation is this excerpt buried inside the Upgrading JupyterHub page:
Backup database & config
Before doing an upgrade, it is critical to back up:
- Your JupyterHub database (sqlite by default, or MySQL / Postgres if you used those). If you are using sqlite (the default), you should backup the
jupyterhub.sqlite
file.- Your
jupyterhub_config.py
file.- Your user’s home directories. This is unlikely to be affected directly by a JupyterHub upgrade, but we recommend a backup since user data is very critical.
Is this the “official” backup procedure? If so, is the recovering just a matter of creating a new environment and uploading the backed up files?