One of the ways of uploading a large number of files to Assets Server (for example during a first implementation) is by using the Bulk Import tool.
This article explains how to use that tool.
Figure: The Bulk Import tool.
The Bulk Import tool contains the following features:
- It imports large numbers of files from an existing file storage (including from Amazon S3).
- It shows a detailed overview of the files that are available for import.
- It shows which files will be included in the import and which files will be excluded.
- It makes it possible to easily include or exclude files.
- Files are copied or moved and added to the index.
- The original folder structure is retained.
- Folders and/or file formats to include can be defined, all other file formats are excluded.
- Files that are already imported are clearly shown.
- Common temporary or hidden files are automatically excluded (but can easily be included when necessary).
Using the tool
Tip: Before starting to use the tool, we recommend to be familiar with the best practices around importing files in bulk, as described in Importing files to Assets Server in bulk.
The process of using the tool is as follows:
- Setting up the source and destination paths.
- Setting up an initial filter for including and excluding files.
- Reviewing the analyzed files and fine-tuning the included and excluded files.
- Starting the import.
Step 1. Access the Management Console by doing one of the following:
- Access the following URL and log in using system administrator credentials (a 'Super user' account):
<Assets Server URL>/console
- In Assets, access the Avatar menu and choose Management Console.
Step 2. From the menu on the left, choose Bulk import.
Step 3. Set up an import by clicking File Server or Amazon S3 and filling out the relevant fields.
Step 4. Click Analyze.
The files in the source location are analyzed based on the entries made in the Filter section.
When completed, an overview is given of those files that are to be included and those that are to be excluded. Files that already exist in the target location are also shown.
Step 5. Click each section to verify the listed files and folders. Click an entry in the list to expand it and see the affected files.
Step 6. (Optional) Modify the Includes or Excludes Filter by doing the following:
Step 6a. Hover over a file or folder and click the +-icon to add it to the Includes Filter or the x-icon to add it to the Excludes Filter.
Step 6b. Click Analyze to re-analyze the source folder based on the changed filter settings.
Step 6c. Repeat this process until satisfied that the filter settings are correct.
Step 7. Click Import to import the files.
While the import is running, the progress is shown including an estimate of how long the import will take.
Note: It can take a few minutes before the estimate is shown and if the types of files vary a lot, the estimate might not be accurate.
Feel free to close the Web browser; because the import is run on Assets Server, the import is not affected by this. You can return to the Bulk Import tool at any time to view the progress.
When the import is done, the number of files that were imported are shown. In case any files failed to import, a selection of them is shown. If more details are needed, check the Assets Server log files.