Skip to content

Loose compilation of scripts for backing up PVCs at the end of the semester

Notifications You must be signed in to change notification settings

AnubisLMS/VolumeBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anubis Volume Backup Tool

Longhorn backup seems to be pretty damn unreliable. This is for double backups of student volumes.

Init

./get-volumes.sh  # Generates volumes.json
python abv.py gen # Generates backup+restore job yaml with current datetime id

Backup

python abv.py backup --jobs 30 --wait 60 --yes

Restore

python abv.py restore --jobs 30 --wait 60 --yes

Restore for specific identifier

python abv.py gen --id 20230520-025116             # Generates backup+restore job yaml with 20230520-025116
python abv.py restore --jobs 30 --wait 60 --yes    # Runs restore for everyone for id

Restore for specific identifier and student

python abv.py gen --id 20230520-025116                                    # Generates backup+restore job yaml with 20230520-025116
python abv.py restore --jobs 30 --wait 60 --yes --filter abc123,xyz456    # Runs restore for abc123+xyz456 netid

About

Loose compilation of scripts for backing up PVCs at the end of the semester

Resources

Stars

Watchers

Forks