| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# I'm just burned by a rather bad crash and even I didn't |
| 4 |
# have my backups correctly setup. So I lost data :-( |
| 5 |
# Warn the user after a monthly and weekly to move |
| 6 |
# the backups to other systems and/or to CD/DVD |
| 7 |
# Miek, 16 Sept 2005. |
| 8 |
|
| 9 |
# one arg |
| 10 |
scheme=$1 |
| 11 |
|
| 12 |
if [ -z $scheme ]; then exit; fi |
| 13 |
|
| 14 |
if [ $scheme = "weekly" ]; then |
| 15 |
echo "** Don't forgot to write this backup to a ** |
| 16 |
** more permanent storage **" |
| 17 |
exit |
| 18 |
fi |
| 19 |
|
| 20 |
if [ $scheme = "monthly" ]; then |
| 21 |
echo "*** IT IS RECOMMENDED THAT YOU WRITE YOUR PREVIOUS *** |
| 22 |
*** MONTH DUMP TO PERMANENT STORAGE ***" |
| 23 |
exit |
| 24 |
fi |