v2 Multi-Datacenter Replication is deprecated and will be removed in a future version. Please use v3 instead.
Scheduling Fullsync Operation
resume commands it is possible to limit the
fullsync operation to off-peak times. First, disable
false. Then, using cron or something
similar, execute the commands below at the start of the sync window.
In these examples, the commands are combined in a
.sh or analogous
#!/bin/sh ## Resume from where we left off riak-repl resume-fullsync ## Start fullsync if nothing is running riak-repl start-fullsync
At the end of the sync window:
#!/bin/sh ## Stop fullsync until start of next sync window riak-repl pause-fullsync