I’m new to FDB and am learning what I can as I go. I have FDB running on a cluster of 6 production servers and am attempting to run the fdbbackup cmd. My cmd and output are below. Thanks in advance for any help/insight - I’ve read other posts seemingly related to this issue, but with no solution. Apologies, if this is a double post.
Something is wrong with your TLS configuration. It is trying to use /etc/foundationdb/fdb.pem as its TLS certificate but the file can’t be read. This might be a default location and the file just does not exist, I’m not sure.
The cert is just for speaking HTTPS to the service, which is the default because backup data sent over HTTP will contain keys and values from your database in plain text. If your connections will only traverse trusted networks and the service you are using has an HTTP endpoint, then you can disable HTTPS by adding a URL parameter sc=0 or secure_connection=0. So in your case, for example, it would become
In all the other cases we’ve tested, adding &secure_connection=0 disables TLS. It’d be good to double check your ProgramStart to make sure it is getting set. I’m not sure why it’s not working for you, and if it’s something DigitialOcean specific, we don’t have a way to test that.
Are you escaping the & on the command line? You can’t just pass a & normally in a command line argument with most shells, it must be escaped with \& or located within a quoted string.
Somehow you seem to have FDB configured to open a TLS cert file that doesn’t exist on your system.
Are you using TLS to talk to your FDB cluster? Backup uses TLS for two things - to talk to the database cluster and to talk to the S3-like blob service. I was assuming you are not using TLS on your cluster.
(if TLS is used inside the cluster, I think one must concatenate own private CA data with global CA to create a new .crt file. If no TLS is used, the OS default CA is fine)
where “fra1” is frankfurt1 (DO region), and “yourbucket” is the bucket. Strangely, this will create a marker in backup/fdb-20220324190000 and put the data in data/fdb-20220324190000.