Skip to main content

Introduction

By restoring a backup database, any problems associated with a corrupted database should be solved. Nevertheless, the most recent data is likely to have been lost. Therefore, it is encouraged to do backups as often as possible (i.e. every time the team returns to the HQ).

  1. Access the Raspberry Pi's command box.
    • Access the Raspberry Pi's command box.

    • Introduce the following command:

    • heroku pg:backups:restore b011 postgresql-vertical-8638 --app ehr-api

    • This will restore backup databases on the heroku (internet) server.

    • The Raspberry Pi will then warn you of the risks of the restoring process. Accept by typing in the following command:

    • ehr-api

    • Wait until the process is done. If the backup has been restored successfully, you will see the following code:

    • Restoring... done

    • If the backup restoration has failed, contact the MedEasy technical team immediately.

Finish Line

Admin MedEasy

Member since: 04/24/2017

3,430 Reputation

28 Guides authored

0 Comments

Add Comment