Last active 2 months ago

Create an encrypted archive of our backup script directory

Revision 8a2447e329a5356c7c37fddaf0aa3d09aa258ca3

zip.sh Raw
1#!/usr/bin/env sh
2
3sudo echo "sudo priveliges granted"
4sudo tar -I "zstd -19" -c -C /opt/backup . | age -p > backup_tasks_$(date -Is).tzst.age
5
6# Then use https://github.com/schollz/croc to send file to target machine.