RethinkDB: Connecting to the RethinkDB server using the CLI

This documentation is part of the Getting started guide. You can view the complete guide here: Find out how to configure and secure your RethinkDB instance on Stackhero.

Welcome to the Stackhero documentation

Stackhero offers a ready-to-use RethinkDB cloud service, designed for reliability and ease of use. You benefit from:

  • Smooth updates with a single click
  • High performance and enhanced security on your own private, dedicated infrastructure

Get started quickly: you can try Stackhero's RethinkDB cloud hosting in just a few minutes. Stackhero takes care of installation and management, allowing you to focus on developing your application.

To carry out dump or restore operations on your RethinkDB instance, you can use the RethinkDB CLI from your local machine or any other server. All Stackhero services use encrypted connections (TLS) by default, so you need to provide the --tls-cert parameter to specify the location of your local CA certificates.

For example, here’s how to back up your RethinkDB database:

rethinkdb dump \
  --tls-cert /etc/ssl/certs/ca-certificates.crt \
  -c <XXXXXX>.stackhero-network.com:29015 \
  -p

Make sure to replace <XXXXXX> with the actual name of your Stackhero instance.