glance/doc/source/cli/glancereplicator.rst
Doug Hellmann 1c7f556d4f rearrange existing documentation to follow the new layout standard
This change moves existing files, updates a few of the cross-references
and paths, and fixes some formatting. It is not meant to be the final
word on how the main page looks or how the other files are organized,
but it gets everything roughly into shape. If the glance team wants to
make changes, please do those as follow-up patches

This change depends on the spec and on a feature of pbr that allows us
to move where the auto-generated class reference documentation ends up
in the tree.

Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
Depends-On: I2bd5652bb59cbd9c939931ba2e7db1b37d2b30bb
Change-Id: I9dde267793a5913acb5b1ec028cfb66bc5189783
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-21 14:15:58 -04:00

2.0 KiB

glance-replicator

Replicate images across multiple data centers

SYNOPSIS

glance-replicator <command> [options] [args]

DESCRIPTION

glance-replicator is a utility can be used to populate a new glance server using the images stored in an existing glance server. The images in the replicated glance server preserve the uuids, metadata, and image data from the original.

COMMANDS

help <command>

Output help for one of the commands below

compare

What is missing from the slave glance?

dump

Dump the contents of a glance instance to local disk.

livecopy

Load the contents of one glance instance into another.

load

Load the contents of a local directory into glance.

size

Determine the size of a glance instance if dumped to disk.

OPTIONS

-h, --help

Show this help message and exit

-c CHUNKSIZE, --chunksize=CHUNKSIZE

Amount of data to transfer per HTTP write

-d, --debug

Print debugging information

-D DONTREPLICATE, --dontreplicate=DONTREPLICATE

List of fields to not replicate

-m, --metaonly

Only replicate metadata, not images

-l LOGFILE, --logfile=LOGFILE

Path of file to log to

-s, --syslog

Log to syslog instead of a file

-t TOKEN, --token=TOKEN

Pass in your authentication token if you have one. If you use this option the same token is used for both the master and the slave.

-M MASTERTOKEN, --mastertoken=MASTERTOKEN

Pass in your authentication token if you have one. This is the token used for the master.

-S SLAVETOKEN, --slavetoken=SLAVETOKEN

Pass in your authentication token if you have one. This is the token used for the slave.

-v, --verbose

Print more verbose output