|
|
|
@ -10,7 +10,7 @@ set LUKS_DEVICE "~/storage" # luks device or file to open
|
|
|
|
|
set LUKS_NAME "luks_"(random) # generate a random name for the luks groups
|
|
|
|
|
set LUKS_MOUNT "~/backup" # the mount point where the container is mounted to
|
|
|
|
|
|
|
|
|
|
set RSYNC_IGNORE_FILE "~/.backup-ignore" # the file containing the blacklist
|
|
|
|
|
set RSYNC_IGNORE_FILE ~/.backup-ignore # the file containing the blacklist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# open luks container
|
|
|
|
@ -40,7 +40,7 @@ else
|
|
|
|
|
echo "Syncing filesystem..."
|
|
|
|
|
set_color normal
|
|
|
|
|
|
|
|
|
|
rsync --exclude-from=$RSYNC_IGNORE_FILE -rlptgozEP ~ $USER@$REMOTE:$REMOTE_PATH #TODO find more applicable options
|
|
|
|
|
rsync --exclude-from=$RSYNC_IGNORE_FILE -rlptgozE ~ $USER@$REMOTE:$REMOTE_PATH #TODO find more applicable options
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|