< Back
New-CouchDBReplication
Post
NAME New-CouchDBReplication
SYNOPSIS
Create a new replication job.
SYNTAX
New-CouchDBReplication [[-SourceServer] <String>] [[-TargetServer] <String>] [[-SourcePort] <Int32>]
[[-TargetPort] <Int32>] [[-SourceDatabase] <String>] [[-TargetDatabase] <String>] [-Continuous] [[-Authorization]
<String>] [-Ssl] [<CommonParameters>]
DESCRIPTION
Create a new replication job for a specidfic database.
PARAMETERS
-SourceServer <String>
The source CouchDB server name. Default is localhost.
Required? false
Position? 1
Default value localhost
Accept pipeline input? false
Accept wildcard characters? false
-TargetServer <String>
The destination CouchDB server name. Default is localhost.
Required? false
Position? 2
Default value localhost
Accept pipeline input? false
Accept wildcard characters? false
-SourcePort <Int32>
The source CouchDB server port. Default is 5984.
Required? false
Position? 3
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-TargetPort <Int32>
The destination CouchDB server port. Default is 5984.
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-SourceDatabase <String>
The source CouchDB database.
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-TargetDatabase <String>
The destination CouchDB database.
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Continuous [<SwitchParameter>]
The Continuous mode of replica.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Authorization <String>
The CouchDB authorization form; user and password.
Authorization format like this: user:password
ATTENTION: if the password is not specified, it will be prompted.
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Ssl [<SwitchParameter>]
Set ssl connection on CouchDB server.
This modify protocol to https and port to 6984.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
CouchDB API:
PUT /_replicator
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-CouchDBReplication -SourceDatabase test -TargetDatabase test_dump -Continuous -Authorization
"admin:password"
This example create replication from database "test" to database "test_dump" in Continuous mode.
RELATED LINKS
https://pscouchdb.readthedocs.io/en/lat ... te-replica
SYNOPSIS
Create a new replication job.
SYNTAX
New-CouchDBReplication [[-SourceServer] <String>] [[-TargetServer] <String>] [[-SourcePort] <Int32>]
[[-TargetPort] <Int32>] [[-SourceDatabase] <String>] [[-TargetDatabase] <String>] [-Continuous] [[-Authorization]
<String>] [-Ssl] [<CommonParameters>]
DESCRIPTION
Create a new replication job for a specidfic database.
PARAMETERS
-SourceServer <String>
The source CouchDB server name. Default is localhost.
Required? false
Position? 1
Default value localhost
Accept pipeline input? false
Accept wildcard characters? false
-TargetServer <String>
The destination CouchDB server name. Default is localhost.
Required? false
Position? 2
Default value localhost
Accept pipeline input? false
Accept wildcard characters? false
-SourcePort <Int32>
The source CouchDB server port. Default is 5984.
Required? false
Position? 3
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-TargetPort <Int32>
The destination CouchDB server port. Default is 5984.
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-SourceDatabase <String>
The source CouchDB database.
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-TargetDatabase <String>
The destination CouchDB database.
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Continuous [<SwitchParameter>]
The Continuous mode of replica.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Authorization <String>
The CouchDB authorization form; user and password.
Authorization format like this: user:password
ATTENTION: if the password is not specified, it will be prompted.
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Ssl [<SwitchParameter>]
Set ssl connection on CouchDB server.
This modify protocol to https and port to 6984.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
CouchDB API:
PUT /_replicator
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>New-CouchDBReplication -SourceDatabase test -TargetDatabase test_dump -Continuous -Authorization
"admin:password"
This example create replication from database "test" to database "test_dump" in Continuous mode.
RELATED LINKS
https://pscouchdb.readthedocs.io/en/lat ... te-replica