Backup Methodology

Automated backup system for protecting application data and configurations.

Documentation Index or back to Homepage

Overview

This system automatically creates timestamped ZIP archives of the application directory to protect against data loss. The backup is fully embedded in the Dash application and requires no OS-level cron or external tools.

What Is Backed Up?

Included Excluded
All files in root directory backup/ subfolder itself
Subfolders and nested files Previously generated backups

All backup files are stored in the backup/ folder inside the root directory.

Backup Schedule

Backups are created once at application startup and automatically every day at 00:00 local time.

Period Classification

Period Rule Example Date
Daily Any regular weekday May 10, 2025
Weekly Every Sunday May 11, 2025
Monthly First of each month June 1, 2025
Yearly January 1st January 1, 2025

Naming Convention

Backups are named in the format:

<period>_YYYYMMDD_HHMMSS.zip

Example:

  • daily_20250510_000000.zip
  • monthly_20250601_000000.zip

Retention Policy

Old backups are automatically removed according to the following retention scheme:

Period Files Kept Retention Type
Daily 7 Last 7 days
Weekly 4 Last 4 Sundays
Monthly 12 Last 12 months
Yearly Unlimited All January 1st

Restore Instructions

  1. Locate the desired archive in the backup/ folder.
  2. Extract it using any ZIP-compatible tool.
  3. Copy the contents back to the root or desired location.