Forrest logo
back to context overview

restic

List of commands for restic:

  • restic:tldr:2688d restic: Restore a specific path from a specific backup to a target directory.
    $ restic --repo ${path-to-repository} restore ${snapshot_id} --target ${path-to-target} --include ${path-to-restore}
    try on your machine
    explain this command
  • restic:tldr:3ee27 restic: Restore a specific backup snapshot to a target directory.
    $ restic --repo ${path-to-repository} restore ${select} --target ${path-to-target}
    try on your machine
    explain this command
  • restic:tldr:4af82 restic: Initialize a backup repository in the specified local directory.
    $ restic init --repo ${path-to-repository}
    try on your machine
    explain this command
  • restic:tldr:bc752 restic: Backup a directory to the repository.
    $ restic --repo ${path-to-repository} backup ${path-to-directory}
    try on your machine
    explain this command
  • restic:tldr:d1f1d restic: Clean up the repository and keep only the most recent snapshot of each unique backup.
    $ restic forget --keep-last 1 --prune
    try on your machine
    explain this command
  • restic:tldr:f0235 restic: Show backup snapshots currently stored in the repository.
    $ restic --repo ${path-to-repository} snapshots
    try on your machine
    explain this command
back to context overview