systemd units. For each job, AerosPanel writes a Type=oneshot service that runs tar, plus a .timer that triggers it. systemd handles the schedule, so the panel holds nothing in memory between runs.
Create a backup job
1
Open Settings
Go to Settings > SYSTEMD_TIMER_BACKUPS.
2
Fill in the job
- JOB_NAME: 1 to 40 characters: lowercase letters, digits,
-,_. Must start with a letter or digit. - ON_CALENDAR:
hourly,daily,weekly, ormonthly. - TARGET_PATHS: one absolute path per line, up to 20. Files or directories.
3
Create
Press CREATE_BACKUP_TIMER. The panel writes both units, reloads
systemd, and runs systemctl enable --now on the timer.TARGET_PATHS
The API also accepts a daily time such as
03:30 as the schedule, which becomes OnCalendar=*-*-* 03:30:00. The Settings form only offers the four named schedules.Path rules
Each path goes throughvalidateWorkDir, so it must be absolute and outside /etc, /bin, /sbin, /usr, /lib, /lib64, /boot, /dev, /proc, /sys, /run, and /var/lib. Paths may only contain letters, digits, and . _ / @ + -. Spaces are not allowed. Duplicates are dropped.
Generated units
For a job namedpanel-db:
/etc/systemd/system/aeros-backup-panel-db.service
/etc/systemd/system/aeros-backup-panel-db.timer
- Archives are written to
/var/backups/aeros-panel/<name>-YYYYMMDD-HHMMSS.tar.gz. UMask=0077makes each archive0600, readable by root only..envfiles and databases often hold secrets.Persistent=trueruns a missed backup at the next boot if the machine was off at the scheduled time.
Manage jobs
Each job in the list shows its timer status and schedule, with these actions:
Check the next run and past runs from SSH:
Retention and restore
AerosPanel does not delete old archives. Prune them yourself, for example by keeping the last 14 days:tar stores paths without the leading /, so extract from /: