Skip to content

(S)FTP Setup

LRMtheBoss edited this page Apr 14, 2024 · 3 revisions

DriveBackupV2 can be configured to back up to any FTP, FTPS, or SFTP server. Currently, DriveBackupV2 can only back up to one such server at a time. To use this type of backup, follow the configuration guide below.

Settings

All the settings below can be found in the ftp section of the plugin's config.yml.

enabled

Whether this backup method is enabled or not.

hostname

The hostname or IP address of the server to connect to.

port

The port of the server. For FTP and FTPS, this is usually 21. For SFTP, this is usually 22.

sftp

Whether the server is an SFTP server or not.

ftps

Whether the server is an FTPS server or not.

username

The username to use when connecting to the server.

password

The password to use to authenticate with the server. Leave blank if no password required.

sftp-public-key

This setting only applies to SFTP servers

The path to the key to be used to authenticate with the server. The path should be relative to the DriveBackupV2 folder. Leave blank if not using public-key authentication.

DriveBackupV2 can connect to SFTP servers that use both basic and public-key authentication.

sftp-passphrase

This setting only applies to SFTP servers

The passphrase to be used in conjunction with the key to authenticate with the server. Leave blank if not using public-key authentication or no passphrase required.

working-dir

The directory to work in on the server. Leave blank to use the default.

This is not to be confused with the backup destination setting.

Don't know what this is? Read more about current working directories.