How to create back in magento 2 via command line
here is a simple command used to create backup : Below cmd creates full system backup containing Magento 2 file system, the media directory, and the database; you can see the corresponding flags –code, –media, –db I used. It automatically enables maintenance flag and disable once completed. Happy coding 🙂