No description
| backup.sh | ||
| README.md | ||
| restore.sh | ||
backup script
"THIS IS STILL IN DEVLOPMENT"
these scripts are made to backup data to optical disks for cold data storage once or twice a year. the script will create a compressed and encrypted tar file that is split so it will fit on a Blueray disk or DVD
Dependancys
make sure openssl is installed
tmux is optional
backup
- run
bash backup.shinside atmuxsession so it can run in the background. - enter dircetories to backup flies like this:
folder-1/ folder2/ other-folders/. - enter capacity for each optical disk.
- if you are using a 25 GB Blueray enter
24Gfor wiggle room. - enter the number of CPU cores in your sysytem -1 or -2 cores so you can somewhat use your system.
- burn each tar file to it's own optical disk with both
backup.shandrestore.shscripts.
restore
- copy each tar flie off each disk to a folder like
backup. - run
bash restore.shto restore the data. - enter the dircetory where the tar files are located like
/home/user/backuporbackup. - move the restored data where you please.