Skip to content

Configuring FTP backup option

Alejandro Cremaschi edited this page Sep 17, 2023 · 1 revision

The configuration of FTP backups can be a bit tricky. The following illustrates a way to make it work.

First create an FTP account. I use cPanel in my host to do this. IMPORTANT: notice that, while cPanel added a Directory to my account (that is, tenutoweb.com/myftp) that path is invisible to my ftp account once I'm logged in the FTP server. See the Backdrop configuration below for this.

Screen Shot 2023-09-17 at 8 09 31 AM

Once I have that, I configure Backup and Migrate. I added a new FTP destination:

Screen Shot 2023-09-17 at 8 40 00 AM

A very important point: I put / in the path, NOT the full path. This is the relative path for my ftp user once it's logged in. IF you want to put files within a sub-folder, then you must create that sub-folder by logging in using an FTP client program, and creating a subfolder.

I then create a backup. Just to make sure that the backup worked, I go to Settings and click "List Files"

Screen Shot 2023-09-17 at 8 46 35 AM

And I can see the file of the last (and only) backup in my account: Screen Shot 2023-09-17 at 8 46 52 AM

Additional comments by a user with issues with the above FTP configuration

The module still can't access the top level with the path "/" (it's different for each provider) but with e.g. "/httpdocs" or the subdirectory "/httpdocs/myfolder" Backup and Migrate works fine now in the exchange via FTP.

PS: With my provider (not all of them) you have to use passive mode for FTP, so check the box "Use PASV transfers" (just below the "Password" field).