File | Password Protect Tar.gz

echo "Encrypted backup created: /secure/backups/$BACKUP_NAME.tar.gz.enc"

(Note: Not all zip versions on Linux support AES-256; check your man page.) password protect tar.gz file