Documentation is still bit sparse for cloud cluster backup starting this thread to document experiences and knowledge what some of us come to know.
I recently setup a cluster on google cloud using marketplace installation. Our production database is a single instance enterprise edition with around 20GB of data.
I used following steps to seed the cluster first for testing that it works fine.
On standalone prod DB I took full online backup that did not require any downtime.
neo4j-admin backup --backup-dir=dir-name --name=backup-name
stop all cluster member (mine was one leader + 2 follower core cluster) and unbind them.
sudo systemctl stop neo4j
sudo neo4j-admin unbind
used scp to copy backup on all 3 cluster machines. (maybe someone can suggest if alternative is there)
Seed from backup on all 3 machines
sudo rm -rf /var/lib/neo4j/data/databases/graph.db
sudo neo4j-admin restore --from=dir-name --database=graph.db
Hit an Intresting issue, after backup cluster DB won't start. After lot of efforts figured out that issue was due to changed permission on copied graph.db files. To solve this use following commands:
sudo chown -R neo4j /var/lib/neo4j/data/databases/
sudo chown -R neo4j /var/lib/neo4j/data/cluster-state/
One major doubt was do we need to stop all cluster machine then start backup/seed or it can be done one by one.