Skip to content

Instantly share code, notes, and snippets.

View EnTeQuAk's full-sized avatar

Christopher Grebs EnTeQuAk

  • Mozilla
  • Berlin, Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am EnTeQuAk on github.
  • I am entequak (https://keybase.io/entequak) on keybase.
  • I have a public key whose fingerprint is 8BC7 62D1 8072 E4D6 38F5 7DB7 D7BC DE31 1BFC 58DD

To claim this, I am signing this object:

@EnTeQuAk
EnTeQuAk / backup.sh
Created November 23, 2017 17:47 — forked from thetooth/backup.sh
#!/usr/bin/env bash
# This script will
# 1. (Optionally) First snapshot your BTRFS /home subvolume as /resticbackup
# 2. Generate a list of packages and backup as `pkglist'
# 3. Backup the pacman cache directory
# 4. Backup the users home directory (from the BTRFS snapshot or directly)
# Try to load a credentials file
source ./backup-creds &> /dev/null || true