Compare commits

..

2 Commits

Author SHA1 Message Date
d383a7ef9d updated readme 2024-08-14 17:00:40 -07:00
cfe62379de fixed hashbang 2024-08-14 17:00:09 -07:00
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# backup.sh # backup.sh
Create incrimental backups using rsync and filesystem hardlinking.
requires: rsync, cron and a filesystem that is capable of hardlinking.
### Usage ### Usage
```bash ```bash
./backup.sh <source dir> <destination dir>/<frequency> <number of backups to keep> ./backup.sh <source dir> <destination dir>/<frequency> <number of backups to keep>

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# A script to perform incremental backups using rsync # A script to perform incremental backups using rsync
set -o errexit set -o errexit