| 1 | #!/usr/bin/env sh |
| 2 | |
| 3 | sudo echo "sudo priveliges granted" |
| 4 | sudo tar cz -C /opt/backup . | age -p > backup_tasks_$(date -Is).tgz.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 be72453903c60dbaa7e8e6cf49311390c6fb72e3