Backup and Restore
This document provides guidance for backing up and restoring license data.
Backup license data
Use SCP to backup your license data to a remote server.
scp <DB_PATH> <USERNAME>:<PASSWORD>@<REMOTE_SERVER>:<REMOTE_DIRECTORY_PATH>
scp <FILE_PATH> <USERNAME>:<PASSWORD>@<REMOTE_SERVER>:<REMOTE_DIRECTORY_PATH>
Replace the following:
<DB_PATH>: the local file path matching thedb_pathparameter value found in/hab/default.toml<FILE_PATH>: the local file path matching thefile_pathparameter value found in the/hab/default.toml<USERNAME>: the username to log in to the remote server<PASSWORD>: the remote server password<REMOTE_SERVER>: the remote server URL or IP address<REMOTE_DIRECTORY_PATH>: the directory the files will be copied to
Restore license data
Use SCP to restore your license data from a remote server.
scp <USERNAME>:<PASSWORD>@<REMOTE_SERVER>:<REMOTE_DIRECTORY_PATH> <DB_PATH>
scp <USERNAME>:<PASSWORD>@<REMOTE_SERVER>:<REMOTE_DIRECTORY_PATH> <FILE_PATH>
Replace the following:
<DB_PATH>: the local file path matching thedb_pathparameter value found in/hab/default.toml<FILE_PATH>: the local file path matching thefile_pathparameter value found in the/hab/default.toml<USERNAME>: the username to log in to the remote server<PASSWORD>: the remote server password<REMOTE_SERVER>: the remote server URL or IP address<REMOTE_DIRECTORY_PATH>: the directory the files are backed up to