EasyManua.ls Logo

Harmonic MediaGrid - Page 210

Harmonic MediaGrid
358 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7 Administrative Procedures
© 2017 Harmonic Inc. All rights reserved. 210 Harmonic MediaGrid Release 4.1
Using mgcopy to Copy Files Between Harmonic MediaGrid Systems
Table 7–1: mgcopy Values
Values Description
-s ContentDirector name or IP address
-u User name for the ContentDirector
-p Password for the ContentDirector
-srcfile Location of the source file to
be copied
-dstfile Location of the file to co
py the source file to
-logfile Location of the file, which lists the name of files/dire
ctories copied using the mgcopy
utility
-errorfile Location of the file, which lists the name of files/dire
ctories for which ACLs were not
copied
-o Overwrite
-c Status of copy
-copyOwner Preserve the owner at destination.
-copyAcl Preserve the ACLs at destination
-noDataTransfer Used with other options like copyAcl and copyOwner,
but does not copy data at
destination
-testRun Do a test run of the command to see if the ve
rsion of source and destination Harmonic
MediaGrids are compatible with each other
-d Debug level (default: 0)
-R Copy recursively all the sub dire
ctories and files
-help Display this help and exit
-copy Specifies the type of copy.
Here are the values for the copy option:
deep: Deep copy within a cluster
soft: Shallow copy within a cluster
across: Deep copy across clusters
Provide the following credentials only if -copy = “across”
-u2: User name of the destination ContentDirector
-p2: Password for the destination ContentDirector
-s2: Name or IP address of the destination ContentDirector
Note the following examples:
mgcopy -s <server ip-addr> -u john -p password -copy deep -
srcfile /fs/dir1/file1 -dst
file /fs/dir2/file2
mgcopy -s <server1 ip-addr> -u john -p password -copy across
-s2 <server2 ip-addr> -u2 john2 -p2 password2 -srcfile /fs/
dir1/f1 -dstfile /fs2/dir1/f2

Table of Contents

Related product manuals