-
Notifications
You must be signed in to change notification settings - Fork 46
Backup Restore
Enrico Olivelli edited this page Nov 6, 2019
·
3 revisions
All backup/restore operations can be performed using the official CLI
In order to backup a tablespace you can use the 'dump' command
bin/herddb-cli.sh -b -f mytablespace.dump -s herd
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