The HubStor File Copy Utility can be a very useful tool when there is a requirement to copy files from one source to another. One of the most common use cases is migrating data from one server to another. Often times, stubs are part of this data migration in which case the tool fully supports and copies them without issue. Using other utilities such as Robocopy can sometimes result in odd behavior when dealing with stubs.
Listed here are features of the tool:
- Fully stub aware. It will recreate the stubs in a very efficient and fast operation ensuring proper tag data and prevent a restore during the process.
- Preserves dates and permissions of all files, not solely stubs.
- Runs a Directory synchronization that is additive only (no deletions of any kind).
Download and Install
The utility can be downloaded from the Admin Portal under Tools and Utilities and installed on a server of your choice via a very simple installation wizard.
Note: if copying Seamless stubs from one server to another, it is recommended to run the utility on the destination server for best performance.
Using the Utility
Once downloaded, using the tool is quite simple. Enter a Source and Destination path.
There are additional parameters that can be set by clicking the 'Copy Options' button.
As seen below, there are 3 options for 'Existing Destination File Behaviour'. When the utility runs, it will scan the source and destination looking for the same file. If it finds one, the default behavior is to skip it. However, this can be changed by using one of the two alternatives. A scenario where this can be useful is when running the tool multiple times against the same data set over a period of time. When it is finally time to make one last pass of the data, the most recent version of the file can be copied by using the last option.
The next option is 'Copy Folder Permissions'.
It's important to note a few details about this option:
- While this is a great feature, it is not recommended to
be used as a continuous synchronization engine as its primary use case is server migrations. Permissions will be
synchronized, subject to the below points, on each run, even if the destination
folder already exists.
- The permissions synchronization is
additive only, meaning ACEs that are missing in the destination are
added, but ACEs in the destination missing from the source are not
- An ACE will always be
created for the user running the tool.
- ACEs for users that
cannot be resolved will be skipped, and a warning will be output.
Running the Copy Job
Once all options have been set, click the 'Start Copy' button.