etcd
Since: 2.10.0
GoBackup uses etcdctl (opens in a new tab) cli tool export data stored in etcd (opens in a new tab).
Install tool
You must install etcdctl
cli first.
https://etcd.io/docs/v3.5/install/ (opens in a new tab)
Config keys
type: etcd
endpoints
properties is required
type
must beetcd
endpoint
(string) - etcd endpoint.
https://github.com/gobackup/gobackup/blob/main/database/etcd.go (opens in a new tab)
Example
models:
etcd_backup:
description: "Perform local etcd backup"
schedule:
# At 04:05 on Sunday.
cron: "5 4 * * sun"
compress_with:
type: tgz
default_storage: local
storages:
local:
type: local
keep: 10
path: /tmp/gobackup
databases:
my-etcd:
type: etcd
endpoint: 127.0.0.1:2379