Backups

🩺 Purpose

The Backup module protects clinic data stored on your tablet. It allows authorized users to save a secure copy of all local data β€” including patient records, visits, stock information, and system settings β€” and later restore that data if the tablet is lost, damaged, or reinstalled.

Performing regular backups ensures that your clinic can continue operating smoothly even after technical problems or device changes. It is a key part of maintaining data continuity, service reliability, and system recovery between synchronization cycles.

πŸ’‘ The Backup and Restore features are available to Clinical Managers and System Administrators. Other users will not see this menu option.


To access the backup tool, open the side menu and navigate to System β†’ Backups β†’ Backup Explorer.

This opens the Backup Explorer, where you can see existing backups, create new ones, or restore a previous copy.


πŸ—‚οΈ Backup Explorer Overview

The Backup Explorer screen lists all backups that have been created on the tablet.

Each backup shows important details such as when it was created, who created it, and whether it is encrypted.

Column
Description

Label/ID

A unique identifier automatically assigned to each backup file.

Timestamp

The exact date and time the backup was created.

Size

The total file size of the backup package.

Encrypted

Shows whether the backup is password-protected.

Created By

The username of the staff member who created the backup.

Actions

Options to restore, view details, or delete (if you have permission).

If no backups have been made yet, the message β€œNo Results Returned” will appear.


πŸ§‘β€πŸ’» Permissions

Only authorized users can access the backup menu.

Role
Action
Notes

Clinic Nurse / Clinical Manager

βœ… Create & Restore Backups

Can create encrypted backups and restore data for their facility.

System Administrator

βœ… Create, Restore & Delete Backups

Has full access for maintenance, testing, or troubleshooting.

Clinic Staff / Other Roles

🚫 No Access

The backup menu is hidden for these users.


πŸ†• Creating a Backup

Regular backups should be performed at least once a week, or before updating the app, transferring the tablet, or reinstalling the software.

Follow these steps to create a new backup:

1

From the sidebar, go to System β†’ Backups β†’ Backup Explorer, then tap Backup Now.

2

Choose where you want to save the backup:

  • Private – saved inside the app’s private storage. These backups are not visible to users and will be deleted if the app’s data is cleared.

  • Public – saved to the tablet’s Documents folder.

  • External – saved to an SD card or USB drive if connected.

πŸ’‘ If no SD card or USB drive is attached, β€œExternal” will save to the same Documents folder as Public.

3

Enable Encrypt this backup to protect the data with a passphrase. Type a strong passphrase β€” this will be required to restore the backup later.

πŸ“ If you forget this passphrase, the backup cannot be opened. Record it securely according to your facility’s data policy.

4

Tap Backup Now to begin the process. A confirmation banner will appear once the backup is complete. You should now see the new backup listed in the Backup Explorer table with today’s date and time.



πŸ” Viewing Backup Details

After a backup is created, you can view its details.

  1. In System β†’ Backups β†’ Backup Explorer, find the backup in the list.

  2. Tap the eye icon under Actions to view its metadata and verify its status.

  3. Check that the file is encrypted (if you chose that option) and that the file size is greater than zero.

Field
Description

Label/ID

Unique name or identifier for the backup file.

Timestamp

Date and time the backup was created.

Created By

The username of the person who made the backup.

Location

Whether it was saved to Private, Public, or External storage.

Encrypted

Shows if encryption was applied.

Size

The total size of the backup file.


♻️ Restoring a Backup

If your app is reset, reinstalled, or you receive a replacement tablet, you can restore your data from a saved backup.

πŸ›ˆ These actions are performed in the Android tablet’s Settings, not inside the IIS app. This ensures the app is completely reset before restoring your data.


1

Locate Your Backup

Ensure you have a recent backup file saved on your tablet or external USB/SD drive.

πŸ’‘ The backup file will typically be found in the Documents folder or on your connected media (e.g., Documents/Backup-2025-11-03.bin).

2

Open Android Settings

On your tablet, go to Settings β†’ Apps β†’ UNICEF IIS (Preview) β†’ Storage & Cache.

Find Apps in Settings
Find the Official IIS App from the List
Open App Storage
3

Clear App Data

Tap Clear Data / Clear Storage, then confirm.

Clear Data
  • The app’s Data and Cache should now show 0 B, meaning it has been fully reset.

⚠️ This action removes all local data β€” including unsynced records β€” so ensure your backup is complete before clearing.

4

Restore from Backup

Reopen the UNICEF IIS app. When prompted, select Restore from Backup.

  1. Browse to your Documents or Downloads folder.

  2. Select your .bin backup file.

  3. If the backup was encrypted, enter the passphrase you created during backup.

  4. Wait for the progress bar to complete β€” this may take several minutes.

πŸ•“ Larger backups with many records or images may take longer to restore.

5

Verify the Restore

Once the process finishes:

  1. Log in to the IIS app as usual.

  2. Navigate to System β†’ Synchronization.

  3. Confirm that:

    • The Outbox and Sync Logs are visible.

    • Patient and session data appear correctly.

    • The Realm and Endpoint settings match your facility.

πŸ’‘ To confirm which backup was restored, check the timestamp under System β†’ Backups β†’ Backup Explorer.


πŸ’½ Backup Storage Locations

Location
Android Path
Typical Use
Description
Accessible to User
Kept After Clear Data?

Private

/data/data/org.santedb.mdlp/... (Application Private Storage)

πŸ”’ Internal recovery backups

Stored securely within the app’s internal assets. Not accessible to users or other apps. Intended for automatic or system backups that persist unless app data is manually cleared.

❌ No

βœ… Yes (unless app data is cleared)

Public

/storage/emulated/0/Documents/ (Application Public Storage)

πŸ’Ύ Manual backups

Saved to the tablet’s Documents folder. Accessible through Android’s File Manager. Requires encryption and a password when created.

βœ… Yes

βœ… Yes

External (Public)

/storage/emulated/0/Documents/ (or SD/USB if connected)

πŸ’½ Move backups off the tablet

Lets the user choose where to store the file (e.g., SD card or USB-OTG). Defaults to the same Documents folder as Public when no removable storage is connected.

βœ… Yes

βœ… Yes

πŸ“ Simplified explanation for users:

  • Private – stored safely inside the app; used automatically; not visible to users.

  • Public – saved in the Documents folder; can be opened or moved if needed.

  • External – used to move backups to another device or USB drive.


πŸ” Security & Good Practice

  • Always encrypt backups and write down the passphrase somewhere secure.

  • Prefer Public/External backups so you can easily find and copy them later.

  • Check every new backup appears in Backup Explorer with a recent timestamp and a non-zero file size.

  • Perform backups:

    • Once a week

    • Before any app update or tablet reset

    • Before handing the device to another user or facility

  • Keep an extra copy on an external USB stick or SD card whenever possible.

  • Follow your Ministry of Health or facility’s data retention policy for long-term storage.


🧠 Quick Reference Summary

Action
Where to Go
Who Can Do It
Typical Save Location

Create a Backup

System β†’ Backups β†’ Backup Explorer β†’ Backup Now

Clinical Manager / Nurse-in-Charge

Documents folder or external USB

Restore a Backup

System β†’ Backups β†’ Select File β†’ Restore

Clinical Manager / SysAdmin

Documents or USB drive

Delete a Backup

System β†’ Backups β†’ Actions β†’ Delete

SysAdmin

N/A


Reference: SanteSuite Backup Procedures

Last updated