vbr-namespace.md
vbr behaves differently depending on whether the target namespace exists:
- Exists:
vbrattempts to restore or replicate the objects to the existing namespace, which must have the same shard count, shard boundaries, and node subscriptions as the source namespace. If these conditions are not met, thevbrtask fails. - Nonexistent:
vbrcreates a namespace in the target database with the name specified in--target-namespaceand the shard count of the source namespace, and then replicates or restores the objects to that namespace.
If no target namespace is specified, vbr attempts to restore or replicate objects to a namespace with the same name as the source namespace.