Support » Plugin: All-in-One WP Migration » WP CLI Backup Error

  • Resolved ankurg2007

    (@ankurg2007)


    I tried to backup using command-

    wp ai1wm backup

    Got error
    Warning: No WordPress install found. If the command ‘ai1wm backup’ is in a plugin or theme, pass –path=path/to/wordpress.
    Error: ‘ai1wm’ is not a registered wp command. See ‘wp help’ for available commands.

    So provided the WordPress file location-

    wp ai1wm backup –path=’/var/html/www/example/’

    Still got same error

    Thanks for help

    • This topic was modified 5 years, 11 months ago by ankurg2007.
    • This topic was modified 5 years, 11 months ago by ankurg2007.
    • This topic was modified 5 years, 11 months ago by ankurg2007.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @ankurg2007,
    Thank you for your question.

    Can you please tell us which versions of WordPress and All-in-One WP Migration tools are your using.
    The issue might be connected with this, so we need to clarify first.

    Thank you in advance
    Anna

    Thread Starter ankurg2007

    (@ankurg2007)

    Hi Anna

    Thanks for Reply. We are having

    WordPress Version – 4.9.4

    All-in-One WP Migration Version -6.41

    Hi @ankurg2007,

    You would need to update your All-in-One WP Migration version to the newest one – 6.65, in order to resolve the issue.
    The version you have installed does not support the CLI functionality.

    Please refer back to us if your still encounter the problem.
    Thank you
    Anna

    Thread Starter ankurg2007

    (@ankurg2007)

    Thanks Anna,

    I updated All-in-one WP migration Plugin to version 6.66. But Still got same error

    command I ran –
    wp ai1wm backup
    OR
    wp ai1wm backup –path=’/var/www/html/wodpress/’

    Warning: No WordPress install found. If the command ‘ai1wm backup’ is in a plugin or theme, pass –path=path/to/wordpress.
    Error: ‘ai1wm’ is not a registered wp command. See ‘wp help’ for available commands.

    where /var/www/html/wordpress is path to my WordPress files.

    • This reply was modified 5 years, 11 months ago by ankurg2007.
    Plugin Author Borislav Angelov

    (@bangelov)

    Hi

    I think WordPress path might be wrong. As far as I can see from the error message: Warning: No WordPress install found.

    Please make sure that your WP installation is in /var/www/html/wodpress/
    or you can go to /var/www/html/wodpress/ and run wp ai1wm backup command directly from that directory.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP CLI Backup Error’ is closed to new replies.