I already execute below command :

php bin/magento setup:backup --db

my db is too large so it will in progress mode. but now i don't need to backup file so how can i stop without interrupt my site ?

any idea please share

2 Answers 2


You can kill the process that runs the php command. If you use linux run:

ps aux | less

to see the processes and the PIDs. After run:

 kill [PID]

to kill the process with the [PID] you want.


Similar answer to one posted already except a bit easier/clearer

ps -aux | grep 'php bin/magento'

kill -9 [PID]

Alternatively if you still had the console window open you can use [ctrl] + [c]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.