daily_and_weekly_backup_with_rsync
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| daily_and_weekly_backup_with_rsync [2009/06/04 15:09] – created k2patel | daily_and_weekly_backup_with_rsync [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== Daily and Weekly Backup with Rsync ==== | ||
| - | <code bash | backup-cron.sh> | ||
| - | #!/bin/bash | ||
| - | #exclude file will contain strings or directories that should not be archived: | ||
| - | #euroco/* | ||
| - | #lithium/* | ||
| - | # | ||
| - | #logs | ||
| - | DAY=$(/ | ||
| - | DOW=$(/ | ||
| - | |||
| - | if [ $DOW == ' | ||
| - | |||
| - | / | ||
| - | else | ||
| - | / | ||
| - | fi | ||
| - | |||
| - | </ | ||
daily_and_weekly_backup_with_rsync.1244128198.txt.gz · Last modified: 2020/08/10 02:29 (external edit)
