• Resolved shin333

    (@shin333)


    The backup process fails every time. I contacted the host support and they increased the PHP execution time and allow_url_fopen is now on. I was also told that there’s no limit on storage space. Can you please advise? The debug code: BMI-CmgBpynm-52401

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick

    (@d4d5bh6)

    Hi @shin333

    We’ve prepared a PHP CLI tool that allows backups directly via SSH. This ensures that our plugin won’t be affected by any web server-related limitations.

    Please ensure that you have sufficient storage space for the backup. I recommend keeping a 25% buffer above the required free space.

    Before starting with the PHP CLI, make sure the ZipArchive PHP extension is enabled. You can check this by running the following command:

    bash

    php -r 'echo class_exists("ZipArchive") ? "true\n" : "false\n";'

    It should return 'true.'

    Once confirmed, navigate to the root of your WordPress directory, then to our plugin’s directory like this:

    bash

    cd wp-content/plugins/backup-backup/includes

    To view more details about the tool, run:

    bash

    php -f cli-handler.php

    This will show a help message with output like:

    ========= BACKUP MIGRATION PLUGIN =========

    Please specify a CLI function: bmi_restore [<backup_name>.zip], bmi_backup, or bmi_quick_migration <backup URL>

    Examples:

    – php -f cli-handler.php bmi_backup

    – php -f cli-handler.php bmi_backup BMI_12-12-12_nameOfMySite_nameOfBackup.zip

    – php -f cli-handler.php bmi_restore BMI_12-12-12_nameOfMySite_nameOfBackup.zip

    – php -f cli-handler.php bmi_quick_migration "https://localhost/site/linkToMyBackup.zip"

    ========= BACKUP MIGRATION PLUGIN =========

    To create a backup, simply run:

    bash

    php -f cli-handler.php bmi_backup

    Let me know if you need any further assistance!

    Thank you!
    Plugin Support MixHa

    (@mixha)

    Hey @shin333 ,

    We haven’t heard from you since, so I’ll assume that the issue is resolved and will close this support thread. If you face any new issues, please feel free to open a new thread.

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.