Skip to main content
All CollectionsTelnyx Storage
Use WAL-G with Telnyx Storage
Use WAL-G with Telnyx Storage

Maximize the benefits of WAL-G, a robust backup tool for PostgreSQL, by following our guide to configure it with Telnyx Storage.

Telnyx Engineering avatar
Written by Telnyx Engineering
Updated over a week ago

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

  1. Download and install the latest version of WAL-G here!

  2. Follow WAL-G’s guide to configure it with S3 Storage here. Enter in the following values for the configuration fields (in bold):

    1. AWS_ACCESS_KEY_ID: copy and paste your Telnyx API Key in this field.

    2. AWS_ENDPOINT = Copy and paste one of our available API Endpoints.

    3. AWS_REGION = Copy and paste the matching region from API Endpoints. For example, if you chose the https://us-central-1.telnyxstorage.com endpoint, you will use us-central-1 as the region.

    4. AWS_S3_FORCE_PATH_STYLE = true

    5. 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.

    6. WALE_S3_PREFIX = Same format as with s3, but pointing to your bucket name. For example `s3://walg-poc/`

    7. PGHOST = Your Postgres host

    8. PGPORT = Your Postgres port

And that’s all there is to it! You can now start using WAL-G with Telnyx Storage!


Additional Resources

For more information on how to use WAL-G, check out their developer documentation.

Did this answer your question?