-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
type:bugSomething isn’t working.Something isn’t working.
Description
Describe the bug
I was trying to download a snapshot via the LocalWP shell in Windows and even though I was getting no errors, the snapshot was never downloaded.
Debugging the code, I realized that the WP CLI commands are not executed and this is the output I get for the failed snapshot download WP CLI command ( wp snapshots download f3e0b62aa868982e1e53776fa769a5ab --quiet --repository=10up --include_db --include_files)
C:\Users\kmgal\Local Sites\hello-world\app\public>wp snapshots pull f3e0b62aa868982e1e53776fa769a5ab
Security Warning: Snapshots creates copies of your codebase and database. This could result in data retention policy issues, please exercise extreme caution when using production data.
Do you want to pull files? [Y/n]:
Do you want to pull the database? [Y/n]:
Are you sure you want to pull this snapshot? This is a potentially destructive operation. Please run a backup first. [y/n] y
stdClass Object
(
[stdout] =>
[stderr] => '""C:\Program' is not recognized as an internal or external command,
operable program or batch file.
[return_code] => 1
)
snapshots download f3e0b62aa868982e1e53776fa769a5ab --quiet --repository=10up --include_db --include_filesSnapshot downloaded.
Importing database...
The system cannot find the path specified.
Database imported.
Preparing to replace URLs...
Home URL (defaults to home URL in snapshot: https://hello-world.local):
Steps to Reproduce
- In the shell of LocalWP in windows run
wp snapshots pull f3e0b62aa868982e1e53776fa769a5ab
Screenshots, screen recording, code snippet
Environment information
- OS: Windows 11
WordPress information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
gsariggsarig
Metadata
Metadata
Assignees
Labels
type:bugSomething isn’t working.Something isn’t working.
