John Lancaster e82f6155ad renamed
2024-05-27 18:33:46 -05:00
2024-05-27 18:33:46 -05:00
2024-05-26 22:53:44 -05:00
2024-05-26 22:53:44 -05:00
2024-05-27 01:09:23 -05:00
2024-05-27 00:08:38 -05:00

Restic Scripts

Environment Variables

Recommended to put these in the relevant ~/.bashrc file

Env Variable Description
BACKUP_DIR Directory to back up
RESTIC_REPOSITORY Directory for the restic repository. This is usually on a mount point made from Proxmox
RESTIC_PASSWORD Password for the restic repository
LOKI_URL Push URL for Loki. Should include the port and end with something like /loki/api/v1/push

Usage

Python

python -m restic.snapshots
python -m restic.backup --tag manual --project joplin --services app,db
python -m restic.prune

Shell Scripts

./restic_command.sh snapshots
./restic_backup.sh --tag manual
./restic_command.sh forget --keep-last 1
./restic_command.sh restore
Description
No description provided
Readme 109 KiB
Languages
Python 100%