Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #33519
    Todd W Carter
    Guest

    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.

    #33522
    Jesse Owens
    Keymaster

    Hi 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 as ftp-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, 1 month ago by Jesse Owens. Reason: Added second log file name
    #33526
    Todd W Carter
    Guest
    [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.
    #33530
    Jesse Owens
    Keymaster

    Hi 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?

    #33531
    Todd W Carter
    Guest

    I 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…

    #33546
    Jesse Owens
    Keymaster

    Hi 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.

    #33548
    Todd W Carter
    Guest

    I did test from within my network. However I setup port forwarding on my router and made a permit rule on my Win 10 firewall…

    #33549
    Todd W Carter
    Guest

    And I am using my account to access the ftp storage so should have no issues

    #33554
    Jesse Owens
    Keymaster

    Hi 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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Using FTP to Local Machine is Not Working’ is closed to new replies.