Hi guys,
What's the best way to backup data on an Arango cluster ? I read that using
arangodump doesn't prevent any write during the dump. Then how do we end
with a consistent backup ? Is there a way to just backup WAL after the dump
has been done and be able to replay it after having restored to be sure to
end with a consistent restored cluster ?
I've read that using Asynchronous replication is also a way to do backup.
But how do we setup one or more boxes to replicate data asynchronously from
a cluster. I tried to it on a 5 nodes (1 coordinator, 3 agency nodes, 5 dbs
nodes) cluster and a single node. That single node gets issues when it
tries to replicate data from one of the dbs :
127.0.0.1:8529@_system> replication.getSyncResult(id)
false
127.0.0.1:8529@_system> replication.getSyncResult(id)
false
127.0.0.1:8529@_system> replication.getSyncResult(id)
{
"collections" : [
{
"id" : "10020066",
"name" : "s10002"
},
{
"id" : "10020067",
"name" : "s10004"
},
{
"id" : "10020068",
"name" : "s10007"
},
{
"id" : "10020069",
"name" : "s10009"
},
{
"id" : "10020070",
"name" : "s10014"
},
{
"id" : "10020071",
"name" : "s10016"
},
{
"id" : "10020072",
"name" : "s10019"
},
{
"id" : "10020073",
"name" : "s10022"
},
{
"id" : "10020074",
"name" : "s10025"
},
{
"id" : "10020075",
"name" : "s10027"
},
{
"id" : "10020076",
"name" : "s10029"
},
{
"id" : "10020077",
"name" : "s10034"
},
{
"id" : "10020078",
"name" : "s10037"
}
],
"lastLogTick" : "10802463"
}
127.0.0.1:8529@_system> replication.getSyncResult(id)
JavaScript exception in file
'/usr/share/arangodb3/js/client/modules/@arangodb/arangosh.js' at 98,7:
ArangoError 404: Not Found
! throw error;
! ^
stacktrace: ArangoError: Not Found
at Object.exports.checkRequestResult (/usr/share/arangodb3/js/client/
modules/@arangodb/arangosh.js:96:21)
at Object.getSyncResult (/usr/share/arangodb3/js/client/modules/
@arangodb/replication.js:281:12)
at <shell command>:1:13
And I can't tell what is the exact error ... I'm wondering if it's an
unsupported operation with a cluster for example.
But if there is a better way, I'm all ears.
Thanks
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.