Tagged: FTP Remote Storage
- AuthorPosts
- February 4, 2021 at 2:34 pm #33519Todd W CarterGuest
I have run backups of my site after setting up to use ftp to my local machine. I have tested with filezilla to connect to my external address and it functions OK. But all my backups only go to the web server.
February 4, 2021 at 2:41 pm #33522Jesse OwensKeymasterHi Todd-
Thanks for reaching out, I’m sorry to hear about the trouble storing your WordPress Backups remotely with FTP.
To start troubleshooting what’s going wrong, the first thing to check is your upload log. Navigate to Total Upkeep > Tools > Logs and look for the files called
ftp-upload.log
as well asftp-connect.log
and paste that info here, and we’ll be able to narrow down what might be causing the problem.- This reply was modified 3 years, 10 months ago by Jesse Owens. Reason: Added second log file name
February 4, 2021 at 6:40 pm #33526Todd W CarterGuest[2021-02-04 19:11:46 UTC] PHP Version: 7.4.14 [2021-02-04 19:11:46 UTC] WordPress Version: 5.6.1 [2021-02-04 19:11:46 UTC] Total Upkeep version: 1.14.10 [2021-02-04 19:11:46 UTC] -------------------------------------------------------------------------------- [2021-02-04 19:11:46 UTC] Beginning Boldgrid_Backup_Admin_Ftp::upload... [2021-02-04 19:11:46 UTC] Local path: /home/.../boldgrid_backup/boldgrid-backup-example.com-xxxxxxxx-20210204-190816.zip / 112824409 [2021-02-04 19:11:46 UTC] Remote path: boldgrid-backup-example-com/boldgrid-backup-example.com-xxxxxx-20210204-190816.zip [2021-02-04 19:11:46 UTC] Connecting... [2021-02-04 19:11:46 UTC] Logging in... [2021-02-04 19:11:56 UTC] Unable to create backup directory on remote host. [2021-02-04 19:25:02 UTC] -------------------------------------------------------------------------------- [2021-02-04 19:25:02 UTC] Beginning Boldgrid_Backup_Admin_Ftp::upload... [2021-02-04 19:25:02 UTC] Archive does not exist: $1$s [2021-02-04 19:40:02 UTC] -------------------------------------------------------------------------------- [2021-02-04 19:40:02 UTC] Beginning Boldgrid_Backup_Admin_Ftp::upload... [2021-02-04 19:40:02 UTC] Local path: /home/.../boldgrid_backup/boldgrid-backup-example.com-xxxxxxxx-20210204-192503.zip / 112826074 [2021-02-04 19:40:02 UTC] Remote path: boldgrid-backup-example-com/boldgrid-backup-example.com-xxxxxxxx-20210204-192503.zip [2021-02-04 19:40:02 UTC] Connecting... [2021-02-04 19:40:02 UTC] Logging in... [2021-02-04 19:40:12 UTC] Unable to create backup directory on remote host.
February 4, 2021 at 6:44 pm #33530Jesse OwensKeymasterHi Todd-
Judging from this log, it looks like the connection was successful, but Total Upkeep failed to create the backup directory on your FTP server:
Unable to create backup directory on remote host.
This might be a permissions issue, for example if the FTP user only has read access to your main directory.
You mentioned that you had tested this using FileZilla, can you attempt to create a directory in FileZilla to see if you get a similar error?
February 5, 2021 at 10:52 am #33531Todd W CarterGuestI have tested in Filezilla and am able to create directories with no issue… I also created the backup directory and then ran another backup with similar error…
February 5, 2021 at 2:55 pm #33546Jesse OwensKeymasterHi Todd-
Thanks for the update! I notice that you mentioned you’re using a local server for FTP. When you tested that connection with FileZilla, did you do that test from within your own network?
It’s possible that you might be hitting a firewall, and one way to test that would be to attempt the same login credentials from outside your local network, for example using a mobile hotspot connection.
February 5, 2021 at 3:29 pm #33548Todd W CarterGuestI did test from within my network. However I setup port forwarding on my router and made a permit rule on my Win 10 firewall…
February 5, 2021 at 3:29 pm #33549Todd W CarterGuestAnd I am using my account to access the ftp storage so should have no issues
February 5, 2021 at 5:57 pm #33554Jesse OwensKeymasterHi Todd-
Thanks for the additional info. Were you able to check the connection from outside your local network?
A test like that would eliminate the possibility that there are any issues with your Router/Firewall configuration with the FTP Connection.
Another way to test would be to log into your hosting account via SSH and attempt the connection from your server. If you can share the connection details including Protocol (FTP, FTPES, or SFTP), port number, and FTP Mode (please don’t share username, password, or host), I can provide you with a sample command to make the test.
- AuthorPosts
- The topic ‘Using FTP to Local Machine is Not Working’ is closed to new replies.