#!/bin/bash # File: aether-gen.bash # # Description: This file generates the backup in an encrypted format. # # Package: AniNIX/HelloWorld # Copyright: WTFPL # # Author: DarkFeather # # Helptext if [ "$1" == "-h" ]; then cat < "$BACKUPDIR"/lastbackup.date cd /home/aether echo Creating and encrypting archive... tar cvzf - /usr/local/backup | openssl enc -aes256 -pass file:/usr/local/etc/Aether/pass.txt -in aether.tar.gz -out aether.enc echo Created aether archive.