| 1 | #!/usr/bin/env sh |
| 2 | |
| 3 | sudo echo "sudo priveliges granted" |
| 4 | sudo tar -I "zstd -19" -c -C /opt/backup . | age -p > backup_tasks_$(date -Is).tar.zst.age |
| 5 | |
| 6 | # Then use https://github.com/schollz/croc to send file to target machine. |
mxsr / zip.sh backupscript
Last active 4 months ago
Create an encrypted archive of our backup script directory
Revision 447cf1646f7c2cd0fcfe6ec9d408cbc2b7e4bccc