• Resolved Hungrynow

    (@hungrynow)


    I have just had to restore a website from backup and have run into a huge problem with missing images. It appears that only 9,992 files from the “uploads” folder have been copied to my computer in each and every backup. I use Filezilla to backup the files and there were far more images than this but I have no idea where this limit is being imposed from and 9,992 seems rather arbitrary.

    Please can anyone tell me whether this is a WordPress limit or a FZ limit (though FZ is usually fine with far more files than this) and how I can get rid of the limit to make sure I have a full backup of all images?

    Thank you!

    • This topic was modified 9 years, 2 months ago by Hungrynow.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The space allocated in your server will be controlled by your hosting providers.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I just re-read this. There is no image limit that WordPress could impose on FileZilla or other FTP software. It sounds like you shouldn’t look too much into the specific 9,992 number.

    Thread Starter Hungrynow

    (@hungrynow)

    Thanks for the reply. I have contacted my host but it seems strange that there would be a download limit. The rest of the files have transferred correctly but I’m now missing several hundred images – and they’re missing from every recent backup even though they were all present and correct on the server 12 hours ago before I carried out the restore operation.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where are you downloading to, your computer?

    Thread Starter Hungrynow

    (@hungrynow)

    Yes, but I’ve just noticed something really weird. We’ve been replacing the missing images this morning so I’ve just gone to back up specifically those images we’ve replaced – and they’re not in the uploads folder! Some are but most aren’t.

    The replaced images are showing on the website and their location shows as ../wp-content/uploads/ but FTP’ing over in Filezilla, they’re just not there!

    I’ve just gone to the File Manager in cPanel and I can see all the new images – they’re there! But Filezilla can only see 4 out of about 40 images, no matter how much I refresh. No wonder it didn’t copy them over! Any suggestions?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You need FileZilla support, but try this:
    Navigate to “Server” and select the option “Force showing hidden files.” This action may pop-up a window, just click on the “Ok” button to continue.
    https://i0.wp.com/www.bloggersignal.com/wp-content/uploads/2015/04/see-hidden-files-filezilla-force-hidden-files.png?w=487&ssl=1

    Thread Starter Hungrynow

    (@hungrynow)

    Thanks, that option’s already checked, always has been. I’ll go talk to Filezilla. Thank you!

    Thread Starter Hungrynow

    (@hungrynow)

    OK, it turns out the problem was caused by the number of files exceeding the recursion limit for FTP. I could only see and therefore download the first 10,000 files found by the FTP client. I now have in my possession the (15,000) original files from a backup provided by my host and I’m hoping I can get some feedback on my proposed solution, please.

    I have already combined the files from the complete backup of the uploads directory with the files that have been added since that backup was taken and I have compressed the whole thing into a tar.gz archive. If I upload that archive to wp-content/uploads and extract it in cPanel File Manager, I figure it should automatically overwrite the existing files whilst replacing the missing ones. Is that correct? Does that seem like the best solution?

    My first idea was to simply upload them in stages via ftp, selecting the “Skip” option for all duplicates, but I don’t know what strange behaviour I might encounter when Filezilla tries to skip more files than the recursive limit.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Image limit on FTP backup?’ is closed to new replies.