This is a local copy of the commands from:
- http://www.jmknoble.net/keys/#master-key
- http://www.macfreek.nl/mindmaster/Convert_GPG_keys_to_subkeys
- Bootable offline cd with gpg: http://tails.boum.org
#!/bin/bash | |
USER="box@example.com" | |
RETENTION=120 | |
ARCHIVE_ROOT="Archiv" | |
BOXES_TO_ARCHIVE=("INBOX" "Odeslaná pošta") | |
# Load all existing subfolders in BOXES_TO_ARCHIVE | |
BOXES=() |
table inet filter { | |
chain inbound { | |
type filter hook input priority 0 | |
policy drop | |
ct state invalid counter drop | |
ct state { established, related } counter accept | |
ip protocol icmp counter accept | |
ip6 nexthdr ipv6-icmp counter accept |
#!/bin/sh | |
TMPFILE="/tmp/xtrabackup-runner.$$.tmp" | |
USEROPTIONS="--user=${MYSQL_USER} --password=${MYSQL_PASSWORD} --host=${MYSQL_HOST}" | |
BACKDIR=/srv/mysql-bak | |
BASEBACKDIR=$BACKDIR/base | |
INCRBACKDIR=$BACKDIR/incr | |
FULLBACKUPCYCLE=604800 # Create a new full backup every X seconds | |
KEEP=1 # Number of additional backups cycles a backup should kept for. | |
START=`date +%s` |
This is a local copy of the commands from: