From 6d149d0de82f0716ad1f82b8aa76c8b72ef5ba26 Mon Sep 17 00:00:00 2001 From: St33v Date: Thu, 13 May 2021 10:36:43 +1000 Subject: expand readme --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index acac79a..4d3d0a6 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,25 @@ The files * diff.sh were created to test and debug the functions. Once they were working I copied them into the main shell script. I could have sourced them I suppose. I've left them as simple ways to test without performing needless backups. + +## Automation by systemd timer +This works, but backing up several times a day is overkill for me. I might reset it do do it weekly. +Follow the instructions: (https://wiki.archlinux.org/title/Systemd/Timers) + +### But I just use it manually +I practice, I just do manual backups by calling borgAuto.sh, whenever I feel like it. This turns out to be three of four times a month. I try to do one at the end of the month so that the long-term archive for that month is as current as possible. + +To run the script from the command line I symlinked it here: `/usr/local/bin/borgAuto.sh` + +## Bugs +When I was using the automatic timer, from time to time I would get a corruption. Before I could use or create new backups, I had to do some surgery. Should have recorded what I did here... (TLDR, I RTFMd and prayed a bit) + +The corruption problem _may_ have been caused by the backup running straight after boot, but before the hardware clock had been reset by the network time sync service. I dual boot Windows, which resets the hardware clock from time to time. + +## TODO + +* Shorten the archive listings when I show the prune result + +* Add ~/.config files (?) + + -- cgit v1.3