-
Notifications
You must be signed in to change notification settings - Fork 14
Configuring FTP backup option
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.

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

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"

And I can see the file of the last (and only) backup in my account:
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).