Restore an erpnext 12 backup to erpnext 14

hello friends, I want to restore a backup from erpext12 to erpnext 14, after installing erpnext 14
thank you for helping me

If you have installed V14 via docker follow the method as per the link.

Note: V14 doesn’t come with HRMS.
You must build custom image with all your custom apps and required frappe apps(eg HRMS)
Refer to image built with HRMS

In general follow the below steps

  1. Create a site with V14
  2. Get the HRMS app and other apps that you have installed in V12 to the bench. You don’t have to install to the site at this time.
  3. Download the backup and restore to the site
  4. Now install all the required apps including HRMS and other custom apps.
  5. Do bench migrate

hello friend thank you for your answer,
well I installed V14 and HRMS and everything works fine
I tried to make a backup that exit in the erp 12, and it did not work, the v14 site is blocked
please help me if there is any solution
PS: I’m working on company data not personal

The above method worked for V13 to V14 migration.
For your case you can spin a new instance with v13 and try to restore the v12 backup. There are some major upgrades from V12 to V13. Better try this route.
We can also get the opinion of others

merci pour votre réponse, est ce qut tu peux me donner plus de detail , c’est à dire je joue avec des données importantes de mon entreprise, je veux pas de risque de les merci perdre a l’avance

[image]

I tried to restore back up from Ver 13 to Ver 14.

Ver 14 was updated first
try to restore all 3 files of backup from ver 13 and received these errors.

I am using this command for restore backup

bench --site [sitename] --force restore [path to database backup file] --with-private-files [relative-path-to-private-files-backup-file] --with-public-files [relative-path-to-public-files-backup-file]