From 7544a8f0d571b0d5a8db3934952d85b6ec6312f9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 18 Apr 2022 11:13:21 +0200 Subject: initial draft --- USE.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 USE.md diff --git a/USE.md b/USE.md new file mode 100644 index 0000000..1828b3e --- /dev/null +++ b/USE.md @@ -0,0 +1,36 @@ +# Maintaining a backup of user data + +Encrypted backup of system configuration and system data, +secured with all public domain keys. + +Encrypted backup of $HOME + subaccounts of each user account, +secured with all public domain keys + all public keys in $HOME. + + +# Status + +List files modified since last backup session: + + bup index ~/* --modified + +List all files tracked for backup, +with added/modified/deleted hints: + + bup index ~/* --status + + +# Backup + +bup backup: + + bup init --remote xayide.jones.dk:srv/backup/siri/bup + bup index ~/* + bup save --remote xayide.jones.dk:srv/backup/siri/bup -n swoony-home ~/* + + +# Restore + +bup restore: + + bup init --remote xayide.jones.dk:srv/backup/siri/bup + bup restore --remote=xayide.jones.dk:srv/backup/siri/bup --outdir=/home/siri/restore /swoony-home/latest/home/siri -- cgit v1.2.3