Main content

Backup & Recovery

Protect your data with one-click backups, automatic safety copies, and full project exports. This guide covers both SQLite (solo) and SQL Server (team) scenarios.

One-Click Backup Database

The fastest way to create a backup is from the File menu:

  1. Go to File > Backup Database — or use the Command Palette (Ctrl+K) and type "Backup".
  2. Choose a location — Select where to save the backup file.
  3. Backup completes instantly — For SQLite projects, GlyphFex copies the .glyphfex file and its attachments folder. For SQL Server projects, GlyphFex runs a BACKUP DATABASE command.

What gets backed up

Project Type Backup Contents File Format
SQLite (Solo) Database file + attachments folder .glyphfex copy
SQL Server (Team) Full database via BACKUP DATABASE .bak file
Tip Schedule a weekly backup as part of your routine. For SQL Server, consider setting up a SQL Server Agent job to automate nightly backups.

Automatic Safety Backups

GlyphFex automatically creates a timestamped .bak safety copy before certain operations that could modify your data:

These safety copies are saved alongside the original file with a timestamp suffix, such as MyProject_2026-03-22_143000.bak.

Note Automatic backups are a safety net, not a replacement for regular manual backups. Always maintain your own backup routine for critical production data.

Save As (Project Copy)

Use File > Save As (Ctrl+Shift+S) to create a complete copy of your project under a new name or location.

Tip Save As is the simplest way to create a point-in-time snapshot of a solo project. Before making major changes to your pipeline or categories, do a quick Save As to preserve the current state.

SQL Server Backup

For shared (team) projects running on SQL Server Express, GlyphFex uses the native BACKUP DATABASE command:

From GlyphFex

Use File > Backup Database while connected to a SQL Server project. GlyphFex will prompt you to choose a save location and then execute the backup command on the server.

From SQL Server Management Studio

IT administrators can also create backups directly from SSMS:

  1. Right-click the database in Object Explorer
  2. Select Tasks > Back Up...
  3. Choose Full backup type
  4. Select the destination path and click OK

Automated backups

For production environments, set up automated backups using SQL Server Agent (available in Express via sqlcmd scripts or Windows Task Scheduler):

Warning SQL Server Express does not include SQL Server Agent as a built-in service. Use Windows Task Scheduler with a sqlcmd script to automate backups on Express editions.

Restoring from Backup

Restoring a SQLite project

  1. Locate your backup file — Find the .glyphfex backup copy you created earlier.
  2. Replace the current file — Close GlyphFex, then copy the backup file over the current project file (or to a new location).
  3. Open in GlyphFex — Use File > Open Project to open the restored file.

Restoring a SQL Server database

  1. Disconnect all users — Ensure no one is connected to the database in GlyphFex.
  2. Restore via SSMS — Right-click the database in SQL Server Management Studio, select Tasks > Restore > Database, select your .bak file, and click OK.
  3. Reconnect in GlyphFex — Open your .glyphfex-server file to reconnect to the restored database.
Warning Restoring a database overwrites all current data with the backup contents. Any entries or changes made after the backup was created will be lost. Always verify you are restoring the correct backup file.

Export Full Project (ZIP)

For the most comprehensive backup, export your entire project as a ZIP archive:

  1. Go to File > Export > Full Project ZIP or press Ctrl+Shift+E.
  2. Choose whether to include attachments — GlyphFex will ask if you want to bundle all file attachments in the ZIP.
  3. Save the ZIP file — Choose a location and filename. The archive includes the database, all configuration, and optionally all attached files.

The ZIP export is ideal for:

Note The Full Project ZIP export is restricted to Admin users only. Editors and Viewers cannot create ZIP exports.

Disaster Recovery Guide (PDF)

GlyphFex includes a built-in 9-page Disaster Recovery Guide designed for IT administrators. Access it from Help > Disaster Recovery Guide or via the Command Palette.

The PDF guide covers:

Tip Print the Disaster Recovery Guide and keep a copy near your server. In an emergency, having paper instructions available ensures you can restore operations even if you cannot access digital documentation.

Crash Recovery for Unsaved Work

GlyphFex auto-saves a draft of your in-progress entry every few seconds while you type. If the app crashes, your computer loses power, or Windows forces a restart for an update before you click Save, your typing is not lost.

How it works

Where drafts are stored

Drafts live in %LOCALAPPDATA%\GlyphFex\drafts\ on each user's PC, organized by project. Each draft is a small JSON file containing the field values, attachments references, and a timestamp. They are local to each user — even in multi-user SQL Server mode, your drafts are not shared with your teammates (each operator sees only their own in-progress work).

Rename-resilient: drafts follow your project file

If you rename your .glyphfex file (for example, archiving last year's project as Workshop2024.glyphfex and creating a new Workshop2025.glyphfex), any drafts you had in progress on that project follow the file. GlyphFex identifies projects by an internal Project ID stored inside the file itself, not by the file name or path. Renaming, moving, or copying the file to a different folder does not orphan your unsaved work.

Exception — The Save Project As command creates a fresh copy with a new Project ID, so drafts from the source project do not follow into the destination (the destination starts with a clean slate, as expected).

Multi-draft scenarios

If you accumulate several unsaved entries (for example, the app crashed during a busy day with three quotes open in succession), the recovery banner shows the total count: "You have 3 unfinished new entries." Clicking Continue most recent restores the newest draft into the entry form. The remaining drafts stay on disk and re-surface the next time you open the project. To clear all of them at once, click Throw away all 3 and confirm.

Tip The crash recovery is independent of database backups. It protects against typing-window loss (a few minutes of work in the active form), not project-level loss. For database-level protection, use the One-Click Backup or Automatic Safety Backups described at the top of this page.

Backup Best Practices