I’m working on setting up a pre-production environment for pre-deployment testing, and we want to use a backup of the production Couchbase cluster for setup. Currently, we’re just restoring the backup of the cluster to the pre-production cluster as part of the spin-up process.
However, for security reasons we want to scramble some of the data, such as customer names, addresses, email address, etc. We don’t want real data like that in the pre-production environment. What would be the best way to accomplish this? I’d really like it scrambled before it gets restored to the new cluster, if possible. Some vague ideas I had were:
- Apply the scramble directly to the backup files (seems difficult)
- Restore the backup to a secure cluster first, then scramble, then backup again and restore to pre-production (slow)
- Maybe some fun trick with XDCR?
Any advice would be greatly appreciated!
Thanks,
Brant