summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2022-10-11 20:29:55 -0700
committerCraig Jennings <craigmartinjennings@gmail.com>2022-10-11 20:29:55 -0700
commit91bd2341bba28c29e76fb2b0a71ddf7036dee12d (patch)
treecfc6726df1d66dcbe29bf0dcb0c21f0ef8c64465
parentf5a429bd060880ba45f62ed7c2c9213019a13d91 (diff)
added Makefile. added comments about installing/uninstalling
-rw-r--r--Makefile2
-rw-r--r--README.org14
2 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index df70470..780c6e1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# rsyncshot - backup with cron, rsync, and hardlinks
+# rsyncshot - backup with bash, cron, rsync, and hard links
install:
sudo ./rsyncshot setup
@echo Installing rsyncshot complete.
diff --git a/README.org b/README.org
index 3961032..2c717ca 100644
--- a/README.org
+++ b/README.org
@@ -1,5 +1,5 @@
* About rsyncshot
-Linux backups with hard links, rsync, cron, and bash.
+Linux backups backup with bash, cron, rsync, and hard links.
Inspired by http://www.mikerubel.org/computers/rsync_snapshots/
* Usage
** Simple Setup
@@ -8,6 +8,8 @@ rsyncshot installs itself. To setup, just run the following commands:
wget https://raw.githubusercontent.com/cjennings/rsyncshot/main/rsyncshot
sudo bash ./rsyncshot setup
#+end_SRC
+
+or simply run make install from the rsyncshot directory
** Automatic Hourly/Daily/Weekly Schedule via Cron
rsyncshot will install a default schedule:
- every hour at the top of the hour
@@ -58,6 +60,16 @@ Specify what filetype patterns to exclude by editing /etc/rsyncshot/excludes.txt
- Grep
- Rsync
- Flock
+** Uninstalling
+run 'make uninstall' from the cloned directory.
+
+or remove
+
+/etc/rsyncshot
+/usr/local/bin/rsyncshot
+/var/log/rsyncshot.log
+... and the cron entries relating to rsyncshot
+
* Notes
rsyncshot is a simple Bash script and an experiment in literate programming using Emacs. The script is generated from the .org file.