tenax stores copy
tenax stores copy¶
Copy a store's backups to another store, as they are
Synopsis¶
Copy copies every backup, stream segment and record of a store, or of the targets named with --target, that the other store lacks. Nothing is decrypted: the destination must list the source's encryption recipients. Nothing is deleted from the destination, and copying again copies only what is new. It needs restorer-admin; the copy runs in a Job within minutes.
Examples¶
tenax stores copy main dr --dry-run
tenax stores copy main dr --target shop/orders --reason "seed the new region"
Options¶
--dry-run only show what would be copied
-h, --help help for copy
-o, --output string output format: table, json or yaml (default "table")
--reason string why (required unless --dry-run, audited)
--server tenax login Tenax API URL (default: saved by tenax login, or $TENAX_SERVER)
--target strings copy only this target (namespace/name); repeatable
--timeout duration how long --wait waits (default 30m0s)
--token string Access token (default: saved, or $TENAX_TOKEN)
Options inherited from parent commands¶
--lang string language of this run's output, for example es or es_MX (over TENAX_LANG and the configured language)
SEE ALSO¶
- tenax stores - List stores and the state of their replicas