From a357f65e311237ebc545338c136ebf570c63add5 Mon Sep 17 00:00:00 2001 From: anaxios Date: Wed, 14 Aug 2024 16:52:14 -0700 Subject: [PATCH] add readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e50fa8 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# backup.sh + +### Usage +```bash +./backup.sh / +``` +Setup backup strategy in `crontab -e` +```bash +0 */3 * * * /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/daily 56 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt +0 0 * * 4 /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/weekly 4 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt +0 0 1 * * /mnt/DOOM/BACKUPS/backup.sh /home/bob/ /mnt/DOOM/BACKUPS/bob/monthly 12 | tee -a /mnt/DOOM/BACKUPS/bob/log.txt +```