See here for more general information on Persistent Data Services in LC.
Where do my credentials and data live?🔗
Configurations for PDS will be saved in dedicated namespaces created for either users or groups and accordingly named either as cz-<lc user name> or cz-<lc group name>. These namespaces will exist on workspace within a subdirectory called .lciaas for each user or group, i.e. /usr/workspace/<user or group name>/.lciaas/cz-<username or groupname>/. Here you’ll find configuration files such as <app-name ie mysql>-<TOKEN>.
How to configure workflow tools with PDS🔗
Default resource limitations🔗
- 4 CPUs
- 8GB RAM
- 100G Disk space
- 10 TB for Object Storage
Backing up your data🔗
Your data stored via PDS, such as that stored in a mySQL or MariaDB database, will not be automatically backed up. We therefore recommend that you back up data manually at regular intervals. A common way to back up databases via MySQL is to use the mysqldump command, which generates a file storing all the data from within your database that can subsequently be reloaded into MySQL. Per the MySQL documentation, a user could invoke mysqldump from a shell prompt via, for example,
mysqldump --databases db1 > db1_backup.sql
which stores the data from database db1 into a file called db1_backup.sql. Reloading the information into MySQL can be done via
mysql < db1_backup.sql
MariaDB users will also find that they are able to use a version of mysqldump implemented in MariaDB. MongoDB offers a similar command called mongodump.