Skip to main content

Backing up Magento2 using command line

To backup your store using the command line please login to your root magento server (SSH), then execute this command

 

magento setup:backup --code --media --db