Migrating from VM on local server to webserver


I am presently exploring ERPNext installed on a virtual machine on my local server.
I am curious as to how easy/difficult would it be if I decide to migrate to a web server down the line.
How do I move my data? What is the procedure to migrate?


  1. Backup the data bench --site [sitename] backup --with-files https://frappe.github.io/frappe/user/en/bench/resources/bench-commands-cheatsheet
  2. Go to Setup > Data > Download backups page and download the backup files. Files are under ~/frappe-bench/sites/[sitename]/private/backups/
  3. Use bench restore on the production web-server

Restore is extracting public and private files to appropriate places under site and restoring the database.sql with a valid database/user name and password in site_config.json