• Resolved kertemindesejlklub

    (@kertemindesejlklub)


    Still same error after latest backup update.

    The zip file for sql-database seems ok but for files unzip gives different message depending on zip-program “it does not appear to be a valid archive/unexpected end of archive” som unzip and thereby also restore is not possible.

    During backup message “d5f1f522e1e30774bd556513ba852177″:”escapeshellarg() has been disabled for security reasons,…..\\wp-content\\plugins\\backupwordpress\\classes\\class-backup.php, 1846” (1848 1850 1852) is recieved.

    Running latest WP and PHP om a windows server.

    This problem has been in another thread, but now this own according to your forum note.

    It is a urgent problem, because it was observed due to a restore, which destroyed the site, because omly a small part of the site was restored due to defected backup-zip.

    https://ww.wp.xz.cn/plugins/backupwordpress/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Paul de Wouters

    (@pauldewouters)

    Hello

    If you open the help tab on the BackUpWordPress admin page and go to Server Info, what does it show for ZipArchive and zip command?

    If it is ZipArchive: Yes and zip command: no – could you add this to your wp-config.php just before /* That's all, stop editing! Happy blogging. */

    define('HMBKP_FORCE_ZIP_METHOD', 'ziparchive');

    Thread Starter kertemindesejlklub

    (@kertemindesejlklub)

    Thanks
    Done, (ZipArc is yes and Zipcommand is no)
    Define added,
    Backup result Could not create files in the …. Run chown -R <PHP USER>:<PHP GROUP> D:/home/xxxxx/wp-content/backupwordpress-098702d863-backups or chmod -R 777 D:/home/xxxxx/wp-content/backupwordpress-098702d863-backups
    Mod was 777
    Cursor over “calculating-size–” shows questionmark – this should not ake so long time (my translate from danish)

    Second try, result : PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    -j

    Plugin Contributor Paul de Wouters

    (@pauldewouters)

    kertemindesejlklub

    Can you check how much disk space you have left on your hosting account?

    Thanks

    Thread Starter kertemindesejlklub

    (@kertemindesejlklub)

    Working on it, the hosting does not give me the option to check myself.
    I am running to sites on two different hosting, and the are a bit messy status due to recovering with different tools.
    I now got at answer and there is a lack of free space. Will go in delete mode, and try later.
    Thanks
    -PS just retried backup and got a running out of space warning (35 mb left, backup is 41 MB) this time but still the archieve error

    Thread Starter kertemindesejlklub

    (@kertemindesejlklub)

    Thats a subject, just run a new back-up and got a diskspace warning. (and still the archive error)
    I am running this on two different system and servers, and working on other methods for recovering, so the situation is a bit unstable for the moment.
    I will check diskspace, plugin installation, and server status/files.
    And come back later with a clean-up system status.

    Thread Starter kertemindesejlklub

    (@kertemindesejlklub)

    Thanks.
    Only appr 50 MB left on the server, I deleted about 500 MB, and now it works. backup zipfile size about 250 MB. No archieve error when unzipped.
    I had a earlier backup with filesixe about 290 MB which failed with the archieve error. All this was at the windoes server
    On the unix-server there is about 10 GB free space

    The complete answer to the problems may be the combination of diskspace and zip-archieve define in wp-config.php.
    Or it could be a download error as winzip has as the most common reason.

    Anyway, thanks for the help and thanks for valid and usable backup file.

    Plugin Contributor Paul de Wouters

    (@pauldewouters)

    kertemindesejlklub

    So glad to hear you found a solution, let me know if you need further assistance.

    Thanks
    Paul

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

The topic ‘Disabled for security, and zip-file error’ is closed to new replies.