Data cleanup process on restored site for testing

Steps for Data cleanup process on restored site for testing

  1. Backup database (and files if required) Preferred not to restore site_config.json but make manually changes and do not bring in encryption_key
  2. Restore database using bench command and flags for restoring private and public files.
  3. Remove unnecessary apps using bench remove-from-installed-apps
  4. Get latest frappe and erpnext apps and all other dependent apps
  5. bench restart & bench build to reflect updated apps.
  6. bench migrate to apply latest apps on the restored site.
  7. Reset Administrator password using bench
  8. Disable all scheduled activities like webhooks, bulk webhooks, scheduled jobs, email accounts, etc.
Discard
Save
Was this article helpful?

On this page

Review Changes ← Back to Content
Message Status Space Raised By Last update on