...
On This Page
Table of Contents |
---|
...
Overview
Convention jobs such as folder mapping are ideal for migrations where you wish to control the transfer at a granular level without the effort of creating individual jobs. SkySync will automatically create a unique job for each folder in your hierarchy, inheriting configurations from the parent/master job.
...
Please review our SkySync Platform | Scalability and Performance Whitepaper for more information.
...
Creating a Folder Mapping Job
Folder Mapping supports the following:
All Impersonation, and all job features defined while creating the parent job will be applied to the child jobs it creates.
...
Defining
...
Your Source and Destination Paths
If you are an administrator using Impersonation, enable Run as user..., and choose the user you wish to access.
Source / Destination Path: If you wish to transfer all content, leave the source path blank. A child job will be created for every top level folder. If a folder is selected for the source path, a child job will be created for every sub folder within the parent folder.
Child Job Source / Destination Path: This directory within each folder will be used as the source.
Target the root of each folder: The child job will be created for the first level folder relative to the source path.
Target a specific directory within each folder: If there is a folder that is exists in every directory, you can define it with this option.
...
Create the Folder Mapping Job
After configuring policies, behaviors, and advanced features, you will be prompted to schedule the job. This schedule will be applied to the child jobs. The parent job will run immediately to create the child jobs.
...
After the child jobs are created, the default schedule is set to run every 6 hours so it can review the source for any new content.
...
The parent and child job schedules can be changed at any time.
...
...
...
...
Creating a Folder Mapping Job Through the REST API
In general, creating a folder mapping job is not much different than creating a transfer job. The "kind" parameter is used to set the job type. It must be set to "folder_mapping."
...
To set the schedule for the child jobs, set the schedule parameter within the transfer block. The schedule parameter outside the transfer block is the schedule for the parent job only. In the example below,
...
the parent job is set to run automatically after creation and run every 15 mins thereafter.
...
The child jobs are set to a manual schedule.
Example JSON
POST {{url}}v1/jobs | ||
---|---|---|
|
Info |
---|
Duplicate Folder NamesIf there are duplicate folder names, SkySync will only create the child job for the first folder it encounters and skip the duplicate folder even if the "duplicate_names" policy is set to "rename." Therefore, it is important that you verify there are no duplicate folder names before creating your folder mapping job. |
...
Creating a Folder Mapping Job by Including Specific Folders
POST {{url}}v1/jobs | ||
---|---|---|
|
...
Creating a Folder Mapping Job by Excluding Specific Folders
POST {{url}}v1/jobs | ||
---|---|---|
|
...