Skip to content

Backup Restore

Enrico Olivelli edited this page Nov 6, 2019 · 3 revisions

Backup/Restore

All backup/restore operations can be performed using the official CLI

Backup

In order to backup a tablespace you can use the 'dump' command

bin/herddb-cli.sh -b -f mytablespace.dump -s herd

Restore

In order to restore a tablespace you have to specify a leader node, which will receive all the data

bin/herddb-cli.sh -r --newschema "mytablespace2" -f mytablespace.dump -nl leadernode

Once you have restored the tablespace then you can add replicas using the ALTER TABLESPACE command as usual or the cli

Clone this wiki locally