Skip to content
Back to skills

Auto Backup

ASecurity

Use when setting up OpenAmer auto-backup.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 4, 2026
ai-agentspythonbashsecurity

Works with

  • cli

Security analysis

A100/100

Scanned October 4, 2026

npx -y skills add openamer/openamer --skill auto-backup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Auto Backup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Auto Backup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openamer-auto-backup/badge)](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.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…