Skip to content

Backup & Restore

Traditional tar.gz packaging — bundles site files + database export. Best for small sites.

First-time setup: go to Backup → Incremental tab, click Initialize Repository. The system generates and persists an encryption password.

Repository location: /opt/llstack/backups/restic/

Select a site to back up. The system exports the database, runs restic incremental backup, and cleans up temporary files. Only changed blocks are transferred after the initial backup.

ParameterDescriptionDefault
keep-lastKeep last N snapshots7
keep-dailyOne per day, up to N days30
keep-weeklyOne per week, up to N weeks-
keep-monthlyOne per month, up to N months-

Configure automatic incremental backups on a recurring schedule:

FrequencyDescription
Every 1 hourHigh-frequency for active development sites
Every 3 hoursBalanced for busy production sites
Every 6 hoursStandard for most sites
Every 12 hoursLight-traffic sites
Every 24 hoursDaily backup

Schedules are managed via cron jobs created automatically by the panel.

Select a snapshot and target path. Restore to a temporary directory first to verify data integrity.

Choose what to restore from a snapshot:

  • All — restore both site files and database
  • Files only — restore site files without overwriting the database
  • Database only — restore the database without touching site files

View total repository size and deduplication ratio.

The panel’s SQLite database is automatically backed up daily at 2:30 AM using the WAL-safe sqlite3.backup() API.