Job configuration upload type FTP (FTP jobs)
Jobs with the FTP upload type provide access to an FTP server.
-
In the Project tree, select the component.
- In the menu tab, click on Create or drag & drop the components into the Jobs section.
-
In the Job configuration section, check whether the upload type FTP is being displayed.
- Make sure the desired settings are in place for the following sections: General, Notification, Upload and compare, and Create a version automatically after job run. The Notification and Create a version automatically after job run sections are only displayed if the necessary settings have been implemented.
FTP settings
Image: Job Configuration, section: FTP Settings
- In FTP server, enter the IP address of the server that you want to use to create a connection.
- Go to Connection type and select the connection type from the drop-down list.
- The FTP client library is set to libcurl by default.
- In the Port field, select the port that you want to use for communication. Port 21 is automatically preselected.
- If you would like to use the FTP passive mode, you will need to activate the necessary checkbox.
- If necessary, enter the login data (Username and Password) of the user that will be used. Depending how your FTP server is configured, this step is optional. An upload can also be performed without a username or password.
- If the data is stored in a subdirectory of the FTP server, specify the path of the subdirectory in the Subdirectory field.
- You can check whether it is possible to log in to the FTP server with the specified login data by clicking the Check button. If this is not successful, the job will fail.
If necessary, you may have to enable the port (set in step 3) in your firewall.
With these login details, you should be able to access the subdirectory. versiondog supports up to 10 subdirectories per job.
When you enter the subdirectory, not only will the entire path to the FTP server in the backup be displayed, but also the most recent directory in the path:
Example:
Path to the FTP server: /file1/subdirectory1/*
Composition of the backup: Archive.zip/*
If you enter multiple subdirectories, the entire directory structure will be included in the backup.
Example:
Path to the FTP server: /file1/subdirectory1/subdirectory2 and /file1/subdirectory1/1234
Composition of the backup: Archive.zip/Folder1/Subfolder1/Subfolder2 and Archive.zip/Folder1/Subfolder1/1234
The Advanced section
Enable the Upload only when timestamp is different (reduces network load) checkbox if you wish to check the timestamp instead of the content of the files when carrying out an upload. This will ensure that only new and edited files are uploaded for the backup; files without changes will be taken over from the previous backup. This will further limit network traffic.
File specifications and compare settings section
Normally, comparisons are executed using the comparison settings of the component. Job specific modifications can be made in this section.
The table shows the set compare and save behavior.
- Activate the Enable custom configuration for this job checkbox.
- Click on Edit.
- Set new parameters for the comparison and save process in the new open window.
Configuring a timeout
When uploading large amounts of data, a timeout may occur despite the default time being preset at 30 minutes. This timeout can be adjusted globally for all upload types or for each upload type separately. To adjust the maximum time for job execution according to the upload type, proceed as follows:
- Start the AdminClient and open the Jobs module.
- In the menu, click on Global job settings.
- The Upload specific configuration window will then open.
- Select the upload type in the navigation bar on the left.
- Select the Use specific timeout for this upload type checkbox.
- In the Maximum time for job execution field, enter the time period in minutes. The maximum possible value is 540 minutes.
If you do not select the Use specific timeout for this upload type checkbox, the next time you change the global timeout, the value set here will be overwritten by the global one.
Alternatively, you can adjust the timeout via the INI file Classes.ini . (Go to the path in the server or agent archive:..\VD$A\Configuration\Upload\Classes.ini).
The value entered in the Upload type specific configuration window will then be copied into the INI file.
FAQ: When I create a backup using a backup job via the upload class FTP, an error arises. What do I need to change to fix this error? There are two solutions to solve the problem mentioned above:
|
Related topics |
---|