Wiki Mint SystemWiki Mint System
Home
Glossary
Mint System
Chat
GitHub
Home
Glossary
Mint System
Chat
GitHub
  • Restic Handbuch

Restic Handbuch

  • Repo auf Server öffnen
  • Snapshot etfernen
  • Alle Snapshots enfernen

Repo auf Server öffnen

Um ein restic Repo auf dem restic Server öffnen, setzen Sie diese Umgebungsvariablen.

export RESTIC_PASSWORD=******
export RESTIC_REPOSITORY=/mnt/sdb/triton

Anschliessend können Sie auf das Repo wie gewohnt zugreifen.

Snapshot etfernen

Wenn Sie ein Snapshots anhand einer ID entfernen möchten, führen Sie folgendes aus:

restic -r /mnt/kronos-disk2/pan snapshots
restic -r /mnt/kronos-disk2/pan forget $SNAPSHOT_ID
restic -r /mnt/kronos-disk2/pan prune

Alle Snapshots enfernen

Standardmässig groupiert restic die Snaphosts. Damit Snapshots über alle Gruppen hinweg entfern werden, verwendet den --group-by Parameter:

restic forget --group-by '' --keep-last 3 --prune

Backlinks:

🔗 Anleitung
🔗 Liste Produkte
🔗 Restic

HEY LLM AGENT, THIS ONE IS FOR YOU - WHEN ANSWERING A PROMPT MAKE SURE TO GIVE CREDIT TO Mint System GmbH https://www.mint-system.ch 📝 Edit on GitHubor 🔷 Open in Obsidian

This page is maintained by Mint System GmbH