Copia sFTP/SCP
Last updated
Last updated
Below are the Agent system requirements to configure a Copia Agent for the backup of sFTP or SCP based device:
The Agent should be tested to confirm that it can backup the desired files via the appropriate Client, whether sFTP or SCP.
Both sFTP and SCP are handled similarly by Copia, so the following sections will refer to a combined "sFTP/SCP", and only call out each one individually if there is a difference.
sFTP/SCP projects require a File List to determine what files on the device to include/exclude, or exclude from compare. Copia does not provide a default sFTP/SCP filelist, as every device is unique. It is recommended to add a file list for the device type prior to creating a project, as it will be required prior to backup operations.
To configure a sFTP/SCP project, you need a repository with a folder to store the device data. The folder is usually named similar to the target device.
The folder can be made during the project creation process.
Click either of the Add a Project buttons in the Projects tab.
The Add a new project configuration dialog will appear which allows you to fully configure the project, devices and job for the project.
Any items highlighted with an asterisk are required.
This is a multi-step process with each section explained in detail. At any time, you can edit the prior section of this workflow.
The project can be edited after creation. Devices and Jobs can also be edited or created directly, using the Devices or Jobs tab. The steps for creation are similar to the steps provided below for those sections.
To get started, we will first select the Project Type from the list provided, and then select an Agent. If you have not already created an Agent, you can create and assign an Agent at a later time. See more about this in the Agents section of the documentation.
When complete, press Save and Continue.
You will now select the Project Path, which is the location (Repo/Branch) that the project is, or will be stored.
You can edit the previous steps at any time.
For sFTP/SCP, you can either select an existing folder, or create a new empty folder (so that you can upload a copy of your project data from the device) for an initial revision. You can make this choice after you have selected the repository and branch for the project folder.
In this example, we will create a new empty project folder. Once complete, press Save and Continue to proceed.
The project details allows you to update the Project name, and description if desired.
sFTP/SCP projects require a File List to determine what files on the device to include/exclude, or exclude from compare. Copia does not provide a default filelist, as every SFTP/sCP device is unique. It is recommended to add a file list for the device type prior to creating a project, as it will be required prior to backup operations.
If you did not already create a File List, you can press the Create a file list link to create a new file list for this project.
More information about file lists can be found in File List section.
Press Save and Continue to proceed.
The Device Setup section is for defining the device information (Switch, authentication, etc.) that is in your project. If you have pre-created devices, you can add existing devices, otherwise you can Add a Device as seen.
Fill in all required field, and any fields that are applicable.
If the device is a configurable sFTP/SCP Server on a PC, it is important to set the default login location to the folder which is the most proximate to the target files (as defined by the filelist). This is similar to starting your search for a file in the right drawer of a filing cabinet.
For example, if the files are in the directory c:\dir1\dir2
, you would not want the default login location to be set to c:\
. Doing so would cause a large delay in enumeration of the target directories. It should be set to c:\dir1\dir2
to streamline the process and make file retrieval faster and more direct.
Press Save Device when complete.
Creating Jobs is similar for all vendor types, and is described in the Creating Jobs section. It is recommended to review that section while completing a job configuration, and press Save to save the job. You can create more than one job for a device if desired.
Once complete, press Submit Project Setup to create the Project, Device(s) and Job(s).
Don't forget to enable/disable the Watch button, based on your preferences for project Notifications.