Professional Documents
Culture Documents
By definition, local users are only unknown for the NT server or worktstation
where they are created. To avoid security replication error on the dextination
server, it is possible to remove this type of user in the copied properties.
The "/create" creates 0 file length rather than copy the data.
The "/s" option enables the copy of the subdirectories.
The "/lev:n" sets the depth level of scanned directories.
The "/d" option provides to copy only source files which have the
LAST MODIFICATION time greater than the existing target copy.
The "/de" option provides to copy the source file when its last modification tim
e
is not equal to the destination file's modification time or when files size are
differents.
The /xjd option force emcopy to ignore directories that are mount point or DFS l
ink. By
default emcopy considers these kinds of directory as regular directories.
The "/sd" option is to preserve the security. In this case, the file content
is not copied if any error occurred during the security setting.
The /sidmapfile <mapping_file> specifies a file that contains mapping records to
be used
for SID translation.
The /ignoredhsm option forces emcopy to remove any DHSM specific information and
to remove
the OFFLINE attribute when present.
The "/l" option evaluates the number of files to copy without to do any file
duplication. Compares also the NT security if the "/secfix or /secforce" option
security. In that case, the "/o" and "/a" switches are used to specify the owner
and the audit properties comparison. When differences occur, the properties of b
oth
the source and destination files or directory are printed.
The "/c" switch allows the process to continue after the retries.
The "/z" switch is the restartable mode: the restartable mode is no more support
ed,
usage of this switch doesn't have any effect.
The "/r:n" option specifies the maximum number of retries. By default it is set
up
to 100.
The "/w:n" option specifies the time in seconds to wait between two retries.
By default it is set up to 30 seconds.
The "/th n" option specifies the maximum number of thread. By default it is set
up
to 64.
The "/cm content" option enables a file content comparaison mode. Content of sou
rce
and target files are binary compared after the copy or when doing an evaluation
of
the copy.
The "/cm md5" option enables a file content check after the copy using md5 signa
tures computed
on both source and target files.
The "/purge" option enables the deletion of the files and directories from
the destination tree which do not exist in the source one.
The "/compress ignore" option forces emcopy to ignore the compress attribute on
files
and directories.
The "/compress forcefile" option forces emcopy to set the compressed attribute o
n files
The "/compress forcedir" option forces emcopy to set the compressed attribute on
directories
The "/compress forceall" option forces emcopy to set the compressed attribute on
files
and directories.
The "/sdd" option forces the target directory's dates to be synchronized
with the source directory's dates.
The "/stream" option enables the copie of files and directories datastreams.
Without that option only the main datastream of files are copied.
The "/log:filename" option allows to redirect the console messages to a new file
.
The "/log+:filename" option appends the new messages to an existing file.
The "/u" option force logfile to be filled up with unicode character set.
The "/q" switch allows the user to disable the print of the files on stdout.
The "/f" switch allows the user to ask for the fullpath print, both the source a
nd
the destination paths are printed. By default, only the source path is printed.
The "/BackupSD" and "/RestoreSD" switches allow to backup and restore the securi
ty
properties without copying the file content. There is no local group translation
and
local SID suppression.
The "/nd:domain_name" switch allow to translate SD using new domain domain_name
instead of
original domain.
The "/preserverSIDh" switch allow to preserve SID from previous domain. By defau
lt emcopy
replace obsolete SID by corresponding SID in current domain.
The "/nodf switch allow to only do a name filtering on file. By default director
ies and files
are processed only if they feet with the list of names that are specified in the
command line.
The "/xd dir [dir ...] switch allow to excludes directories with the specified
names, paths, or wildcard characters
The "/xf file [file ...] switch allow to excludes files with the specified
names, paths, or wildcard characters
MODIFICATION HISTORY :
---------------------01.00 : Initial Release.
01.01 : The summary
The
ording to
the
The
o create.
01.02 : Optimizations in
- Setting the security descriptor by using NT_TRANSACT_CREATE SM
B request.
- If the parent dir of the target file or directory to copy did
not exist
before the copy, the current target can not exist.
- Getting file or directory info with findfirstfile() instead of
getfileinfo.
02.00 : - New optional third argument which provides a list of selected files to
copy.
Wildcards are supported in these fields.
- New options:
/nosec
/secfix
/create
/lev:n
/c
/z
/r:n
/w:n
/log:filename /log+:filename
- Exit code encoding.
02.01 : - Added EMC ACEs for backup.
- Fixed issue: the restartable mode verifies if the source file has chan
ged
between two retries. If changed, the copy is restarting f
rom
the beginning.
- Bug Fixed when a local group name is equal to the server name.
- New SID cache implementation using Hash table.
02.02 : - Account names are NO case sensitive.
- Fixed issue: when the source server is a Domain controller
- the lookup for Domain sid is now running.
- local user accounts can be duplicated because they
are in a domain.
02.03 : -
02.04 : - Fixed issue when there is a file sharing violation error from the sour
ce
tree during the purge process. This caused a stop of the purge in the
current
directory.
02.04a: - Fixed issue about the comparison of the date. With the /d option, the
creation date
is now ignored and the data of the files are updated only if the last
modification
time of the source files is greater than the destination files.
02.04b: - Fixed issue about audit replication, the "Manage auditing and security
log" privilege
is checked when the /a (audit) switch is specified.
02.05 : - XCOPY interface implementation. When you rename EMCOPY.EXE to XCOPY.EX
E, the
tools proposes the same interface as XCOPY.EXE.
- Added /q (quiet) and /f (fullpath) switches.
02.06 : - Added /nocase switch to create all files and directories in lower case
characters.
02.07 : - Added two new switches /BackupSD and /RestoreSD to allow the backup an
d the
restore of the security descriptors without copy of file content.
- Added note in usage about extended attributes duplication.
- Builtin SID of owner are treated as other SIDs.
- The purge process is following the depth level.
02.08 : - Take in account the prefixed local group name with the source server n
ame,
format <src_server_name>_<localgroup_name>.
02.09 : - Change source and target tree scanning for performance enhancement.
02.10 : - Check and set privilege are removed when running in xcopy mode. This a
llow a user
without backup, restore and security privileges to perform a copy.
- Add a fix for a problem when using the /purge switch
- Add the /nd:domain_name switche that allow to translate ACE in domain
domain_name rather than in original domain
- Content of not empty files on the target side are no more cleared when
doing
a copy with the /create switch.
02.11 : - Add the /preserveSIDh switche that allow to preserve previous SID inst
ead of
replacing them by corresponding SID in current valid domain.
- Fix a problem when working in windows XP using UNC path.
- Suppression of the path length limitation.
02.26 : - Fixed issue when the source machine is a DC and security information
migration is requested. In that case domain user or group were conside
red as
local to the source machine. So emcopy tried to translate them as loca
l to the
target machine instead of migrating them as there are.
02.27 : - Fixed issue when a file when a name that will be used for 8.3 name alr
eady exists.
Emcopy overwrote a file when the short name generated for a file match
es the name
of a file in the same directory.
02.28 : - Fixed issue when more than one file filter is specified in the command
line. This
produced emcopy crash.
- Fixed issue when there is no group on at least one file or directorie
on the soure.
This produced emcopy crash.
- Total transferred size greater than 2 GB is now well printed out.
02.29 : - Fixed issue when a file to copy is marked as offline. In that case the
created file
on the target was never closed.
- Fixed issue when the size of a file to copy is larger than 4Gb. In tha
t case the file
is copied but a wrong size mismatch error is detected. This causes emc
opy to stop.
02.30 : - Nonexisting directory added in the middle of the target path is now su
pported.
In that case the missing directory is created. The default inherited A
CL is applied
to the new directory.
- Generalized the support of UNICODE string.
- Added the /u option that forces emcopy to write the log file using
UNICODE character set.
02.31 : - Fixed regression issue that prevents emcopy to run on a NT4 system.
- Added the display of the version of the system that host emcopy.
- Added support of the special EMC ACE type 0xa9.
03.00 : - Added embedded manifest that allows to be run on a Vista system.
03.01 : - Fixed error when, in copy datastream mode, a directory with datastream
is processed. In
that case emcopy wasn't abble to process the directory and its content
.
04.00 : - Changed working model from single threaded to multi threaded.
- Added new options : /th n, /de, /nodf, /sdd.
04.02 : - Removed restartable mode; /z option is still accepted without effect f
or backward comptability.
- Enhanced transfert retry process.
- Added suport of windows 6.x symbolic link.
04.03 : - Introduction of a 64 bits version of emcopy : emcopy64.
- Memory usage enhancement.