How to backup CockroachDB to Spaces?

Posted March 19, 2021 110 views
DigitalOcean Spaces

I’m running CockroachDB on a DO droplet and want to backup the database to Spaces.

I’ve tried numerous variations on the backup command along the lines of:

backup into 's3://backups?AWS_ACCESS_KEY_ID=xxx&AWS_SECRET_ACCESS_KEY=xxx&';

I’m struggling to find the correct form for the destination string. A working example would be most helpful.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!