Hi Friends ,
I had installed erpnext on top of windows 10 workstation using OVM and importing ova file available at erpnext.org , However , I need to release it for beta testing to select group of users so i want to move it to VPS , The VPS available to me is ubuntu 18.04 LTS and for virtualization it uses KVM ,
Can some one guide me how do i move my existing setup (erpnext configuration i.e. doc types etc and data (master data) to KVM running on ubuntu 18.04 LTS
O
If you follow the backup procedures you will have all of those things in three files in a directory like this:
frappe-bench
βββ sites
βββ yoursitename
βββ private
β βββ backups
β β βββ 20191215_190435-yoursitename-database.sql.gz
β β βββ 20191215_190435-yoursitename-files.tar
β β βββ 20191215_190435-yoursitename-private-files.tar
β βββ files
βββ public
βββ site_config.json
So youβre getting 3 compressed files, being, in order: your database, your public files directory and your private files directory.
Note: Your site_config.json
does not get backed up, but you will need it. To include it in the backup procedure I copy mine into the directory private/files
like so:
frappe-bench
βββ sites
βββ yoursitename
βββ private
β βββ backups
β β βββ 20191215_190435-yoursitename-database.sql.gz
β β βββ 20191215_190435-yoursitename-files.tar
β β βββ 20191215_190435-yoursitename-private-files.tar
β βββ files
β βββ site_config.json
βββ public
βββ site_config.json
After restoring, I make a hyperlink to it like this:
βββ site_config.json -> ./private/files/site_config.json
You should be able to install ErpNext in your VPS , restore the backup and find everything starting back up as before.
2 Likes