I had a v13 ERPNext running on my server. I crashed the server, deleted some files accidentally and had a hard time trying to restore it. Luckily I had taken a full backup of the site with:
bench backup --with-files
I downloaded the backups into my local computer and clean wiped the server, installed fresh Ubuntu 20.04. I followed this link to install fresh Frappe app.
I have installed frappe successfully with:
Now my next step (if I wanted a fresh ERPNext) would be:
bench get-app erpnext GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) --branch version-13
bench new-site your_domain --admin-password ‘erpnext_admin_password’ --mariadb-root-username sammy --mariadb-root-password ‘mariadb_password’
bench --site your_domain install-app erpnext
But since I need the older instance, ( I have downloaded a backup of older instance. Backup was generated by bench backup --with-files)
How can I successfully restore my old installation with files, sql, database keeping in mind the database name, pwd, etc into the new installation ?
Is it safe to follow example 1 of this link ?
I found a lot of similar previous questions but none explains at what point I should import the old installation files.
Is this the correct method ?
I also found this one:
I need a suggestion on these steps so that everything works like the old installation.