Use when setting up OpenAmer auto-backup.
Scanned 10/4/2026
npx -y skills add openamer/openamer --skill auto-backup --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Auto Backup?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/openamer-auto-backup)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
name: auto-backup
description: "Use when setting up OpenAmer auto-backup."
---
# Auto-Backup Skill
Automatische Sicherung aller wichtigen OpenAmer-Daten.
## Pfade die gesichert werden
| Quelle | Pfad |
|--------|------|
| skills | `HOME/skills/` |
| scripts | `HOME/scripts/` |
| cron-jobs | `HOME/cron/jobs.json` |
| config | `HOME/config.yaml` |
| env | `HOME/.env` |
| security-cve | `HOME/.security-cve/` |
| logs | `HOME/logs/` |
**HOME** = `%LOCALAPPDATA%\openamer-laptop` ($OPENAMER_HOME)
## CLI
```bash
# Backup jetzt ausführen
python scripts/auto-backup.py --now
# Backup mit Verschlüsselung
python scripts/auto-backup.py --encrypt --now
# Alle Backups anzeigen
python scripts/auto-backup.py --list
# Backup wiederherstellen
python scripts/auto-backup.py --restore 2026-08-21
# Backup auf externes Laufwerk
python scripts/auto-backup.py --external D:\backup --now
# Nur simulieren
python scripts/auto-backup.py --dry-run --now
```
## Exit-Codes
| Code | Bedeutung |
|------|-----------|
| 0 | OK |
| 1 | Backup fehlgeschlagen |
| 2 | Kein Speicherplatz |
## Rotation
- 7 tägliche Backups
- 4 wöchentliche Backups (Montag)
- 3 monatliche Backups (erste Woche des Monats)
## Verschlüsselung
Nutzt Fernet (AES-128-CBC) aus der `cryptography`-Bibliothek.
Der Schlüssel liegt in `HOME/.backup_key`. Entfernen → Backups unlesbar.
## Cron-Job
Der Cron-Job läuft alle 24 Stunden (`interval: 1440`) als Script-Job
mit `no_agent: true` — direktes Python-Script, kein Agent-Verbrauch.
## Troubleshooting
- **Windows `nul`-Datei in scripts/**: Wird automatisch ignoriert (reservierter Name).
- **PermissionError bei Restore**: Windows-reservierte Dateien werden übersprungen.
- **Verschlüsselter Restore ohne Key**: Script sucht `HOME/.backup_key`. Alternativ `--encrypt-key PFAD` nutzen.Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!