πŸ’Ύ Database Backups

The Database Backup & Restore feature helps ensure your POS system data is protected and recoverable. Whether you’re upgrading the system, migrating to a new server, or just preparing for the unexpected, backups help you stay safe with minimal effort.


πŸ” Why Use Database Backups?

Keeping regular backups is essential for maintaining data integrity and business continuity. Here’s why:

  • βœ… Data Protection – Safeguard important records from accidental deletion, hardware failure, or system corruption.

  • πŸ”„ Easy Recovery – Restore the system to a previous state in just a few clicks if something goes wrong.

  • πŸ’Ό Business Continuity – Prevent costly downtime by having a fallback available.

  • 🧠 Peace of Mind – Confidently perform updates or customizations knowing your data is backed up.


βš™οΈ How to Use

πŸ“€ Creating a Backup

  1. Navigate to Settings > Database Backups.

  2. Click the β€œGenerate Backup” button.

  3. The system will create a .sql file containing your entire database snapshot and store it on the server.

πŸ›‘ Note: For security reasons, backup files are not downloadable directly through the browser. To access them, use server-level access such as FTP or your hosting control panel.


πŸ“₯ Restoring a Backup

  1. Go to Database Backups in the admin panel.

  2. Locate the desired backup from the list.

  3. Click the β€œRestore” button next to the backup file.

  4. Confirm the restore action.

⚠️ Warning: This process will overwrite your current database. Double-check before restoring β€” it cannot be undone.


🧹 Managing Backups

  • You can delete old backups to free up server space.

  • It’s good practice to retain at least the last 3–5 backups.

  • Use the timestamped file names to identify which version to keep or restore.


πŸ”„ Backup Best Practices

Task

Recommendation

Backup Frequency

Weekly (or daily for active setups)

Before Updates

Always create a backup before applying changes

Storage

Store securely on server/cloud

File Naming

Use a consistent pattern like backup-YYYY-MM-DD.sql


πŸ› οΈ Troubleshooting

  • ❌ Restore Fails?

    • Ensure the .sql file is valid and not corrupted.

    • Check server permissions (especially write access).

  • ❌ Cannot Create Backup?

    • Verify the server has enough disk space.

    • Check file/folder permissions.

  • ❌ Missing Data After Restore?

    • Ensure you selected the correct backup file.

Last updated

Was this helpful?