1 |
These instructions are for Ubuntu, and should work on most distros.
|
2 |
This has only been tested on our Ubuntu servers, so YMMV.
|
3 |
See comments in the actual file for specific details about the script.
|
4 |
|
5 |
|
6 |
|
7 |
### Install ###
|
8 |
The following instructions will set the backup script to run at 7:01AM.
|
9 |
|
10 |
(Put hlds_backup.sh in /home/cs/)
|
11 |
chmod 700 /home/cs/hlds_backup.sh
|
12 |
crontab -e
|
13 |
(Add in the following line, then save and exit.)
|
14 |
01 07 * * * /home/cs/hlds_backup.sh
|
15 |
|
16 |
|
17 |
|
18 |
### Uninstall ###
|
19 |
|
20 |
rm /home/cs/hlds_backup.sh
|
21 |
crontab -e
|
22 |
(Delete the following line, then save and exit.)
|
23 |
01 07 * * * /home/cs/hlds_backup.sh
|