lxc replicator create

Create replicators

Synopsis

Description: Create replicators

The “cluster” configuration key is required and must be set to the name of an existing cluster link.

lxc replicator create [<remote>:]<replicator> [key=value...] [flags]

Examples

  lxc replicator create my-replicator cluster=lxd_two
      Create a replicator called "my-replicator" targeting the cluster link "lxd_two".

  lxc replicator create my-replicator cluster=lxd_two --project myproject
      Create a replicator in the project "myproject" targeting cluster link "lxd_two".

  lxc replicator create my-replicator < config.yaml
      Create a replicator with the configuration from "config.yaml".

Options

  -d, --description   Replicator description

Options inherited from parent commands

      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Do not show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number

SEE ALSO