All entries tagged with cl
Tips #2
Nothing special happened today @ work, i just had to train a new comer.
But anyway, let´s go for the daily tip
Set this server notes.ini variable, like so:
> set config CLUSTER_ADMIN_ON=1 (even if the server is not a in cluster, doesn't matter).
No need to restart the server, it becomes active immediately.
This enables this new command:
CL COPY sourcedb targetdb
Examples for the CL COPY command:
> CL copy serverA!!db1.nsf serverB!!db2.nsf This would create a regular non-replica copy of db1.nsf on serverA as db2.nsf on ServerB
> CL copy serverA!!db1.nsf serverB!!db2.nsf REPLICA This would create a replica copy of db1.nsf on serverA as db2.nsf on ServerB
> CL copy serverA!!db1.nsf serverB!!db2.nsf TEMPLATE This would create a template copy (only design, no data) of db1.nsf on serverA as db2.nsf on ServerB
> CL copy db1.nsf db2.nsf This would create a regular non-replica copy of db1.nsf as db2.nsf on the same local server
Source: Bruce Elgort
If i am wrong, come back to me, it is free, Fabien Menigault
|
Ratings
0
|