WAL-G is a backup and disaster recovery tool. It enables you to store and manage PostgreSQL WAL (write-ahead log) files on cloud storage services that implement the S3 API, including Amazon S3 and compatible services, ensuring that you have a secure and reliable backup of your PostgreSQL database.
How to configure WAL-G to work with Telnyx Storage
Download and install the latest version of WAL-G here!
Follow WAL-G’s guide to configure it with S3 Storage here. Enter in the following values for the configuration fields (in bold):
AWS_ACCESS_KEY_ID: copy and paste your Telnyx API Key in this field.
AWS_ENDPOINT = Copy and paste one of our available API Endpoints.
AWS_S3_FORCE_PATH_STYLE = true
AWS_SECRET_ACCESS_KEY = The secret access key is not used by Telnyx Storage, but WAL-G will complain if it doesn’t exist. Type out anything you want here, as long as it doesn't include spaces, quoting, or special characters of any kind.
WALE_S3_PREFIX = Same format as with s3, but pointing to your bucket name. For example `s3://walg-poc/`
PGHOST = Your Postgres host
PGPORT = Your Postgres port
And that’s all there is to it! You can now start using WAL-G with Telnyx Storage!
For more information on how to use WAL-G, check out their developer documentation.