From ec8fb1b7674c3f3d896267f503ac9111d2c55e1f Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 1 Aug 2020 00:06:14 +0000 Subject: [PATCH] Move restic backup info from notes to docs --- docs/README.md | 1 + docs/restic.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ notes.txt | 45 ------------------------------------- 3 files changed, 61 insertions(+), 45 deletions(-) create mode 100644 docs/restic.md diff --git a/docs/README.md b/docs/README.md index c2dae23..814eb1b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,3 +13,4 @@ This folder contains a bunch of general information on how to get the base of a * [Slideshow Setup (REQUIRED)](slideshow.md) * [Email Notifications (REQUIRED)](email_notifications.md) * [cron / Scheduler (REQUIRED)](cron.md) +* [Backups via restic](restic.md) diff --git a/docs/restic.md b/docs/restic.md new file mode 100644 index 0000000..4dd5c87 --- /dev/null +++ b/docs/restic.md @@ -0,0 +1,60 @@ +# Backups via restic + +The below commands will setup a **local** backup of your photo frame using ```restic```. + +## Important Considerations + +* ```restic``` can use a bit of memory, you'll want at least 2Gb of ram on your Raspberry Pi to use this setup +* This setup does **NOT** include photos as part of the backup to keep backup sizes down +* This seutp assumes you have cron setup and runs the backup at 0700 every day + +## Setup + +``` sh + +######################################## +# restic backups +######################################## + +pacman -S restic +btrfs subvolume create /tank/backup +restic init -r /tank/backup +cat > /root/restic_backup.sh < /root/restic_backup.sh <