NAME

App::Yath::Command::db::sync - Sync runs and associated data from one db to another

DESCRIPTION

Sync runs and associated data from one db to another

USAGE

$ yath [YATH OPTIONS] db-sync [COMMAND OPTIONS]

OPTIONS

From Database Options

--from-config ARG
--from-config=ARG
--no-from-config

Module that implements 'MODULE->yath_db_config(%params)' which should return a App::Yath::Schema::Config instance.

Can also be set with the following environment variables: YATH_DB_CONFIG

--from-driver Pg
--from-driver MySQL
--from-driver SQLite
--from-driver MariaDB
--from-driver Percona
--from-driver PostgreSQL
--no-from-driver

DBI Driver to use

Can also be set with the following environment variables: YATH_DB_DRIVER

--from-dsn ARG
--from-dsn=ARG
--no-from-dsn

DSN to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_DSN

--from-host ARG
--from-host=ARG
--no-from-host

hostname to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_HOST

--from-name ARG
--from-name=ARG
--no-from-name

Name of the database to use

Can also be set with the following environment variables: YATH_DB_NAME

--from-pass ARG
--from-pass=ARG
--no-from-pass

Password to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_PASS

--from-port ARG
--from-port=ARG
--no-from-port

port to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_PORT

--from-socket ARG
--from-socket=ARG
--no-from-socket

socket to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_SOCKET

--from-user ARG
--from-user=ARG
--no-from-user

Username to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_USER, USER

To Database Options

--to-config ARG
--to-config=ARG
--no-to-config

Module that implements 'MODULE->yath_db_config(%params)' which should return a App::Yath::Schema::Config instance.

Can also be set with the following environment variables: YATH_DB_CONFIG

--to-driver Pg
--to-driver MySQL
--to-driver SQLite
--to-driver MariaDB
--to-driver Percona
--to-driver PostgreSQL
--no-to-driver

DBI Driver to use

Can also be set with the following environment variables: YATH_DB_DRIVER

--to-dsn ARG
--to-dsn=ARG
--no-to-dsn

DSN to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_DSN

--to-host ARG
--to-host=ARG
--no-to-host

hostname to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_HOST

--to-name ARG
--to-name=ARG
--no-to-name

Name of the database to use

Can also be set with the following environment variables: YATH_DB_NAME

--to-pass ARG
--to-pass=ARG
--no-to-pass

Password to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_PASS

--to-port ARG
--to-port=ARG
--no-to-port

port to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_PORT

--to-socket ARG
--to-socket=ARG
--no-to-socket

socket to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_SOCKET

--to-user ARG
--to-user=ARG
--no-to-user

Username to use when connecting to the db

Can also be set with the following environment variables: YATH_DB_USER, USER

SOURCE

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/