Scripts to manage multiple restic clients and servers
- Python 100%
| app | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| resticAdm | ||
| sample-config.yaml | ||
resticadm
Scripts to manage multiple restic clients and servers
Commands
Setup
Generate ssh key
./resticadm setup ssh_generate {DEVICE_TYPE} {DEVICE}
Install backup client
./resticadm setup client_install {CLIENT}
Options
CLIENT
Type: DEVICE
- Device to install backup client to, Must be in clients
Sync
All
./resticadm sync all {DEVICE_TYPE} {DEVICE}
Options
Other
./resticadm sync {SYNC_TYPE} {DEVICE}
Options
SYNC_TYPE
storagePasswd
- Syncronizes rest passwords to rest servers
Backup
Manual test backup
./resticadm backup manual {CLIENT}
Options
BACKUP_TYPE
manual
- run test backup
Check
Restore
./resticadm
Environment variables
Global
RESTICADM_ADMIN_LOGLEVEL
Values
- DEBUG
- INFO
- WARNING
- ERROR
- CRITICAL
- [0-50]