RethinkDB: Connecting to the RethinkDB server with the CLI

This documentation is part of the Getting started guide. View the full guide here: Learn how to set up and secure your RethinkDB instance on Stackhero.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use RethinkDB cloud solution that provides a host of benefits, including:

  • Effortless updates with just a click.
  • Optimal performance and robust security powered by a private and dedicated VM.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's RethinkDB cloud hosting solution!

If you need to perform dump and 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 is how you might back up your RethinkDB database:

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

Be sure to replace <XXXXXX> with your actual Stackhero instance name.