Started working on serverbackup.sh (Övning 6)

This commit is contained in:
2013-12-17 13:10:18 +01:00
parent a6aa483024
commit aefe472d78
3 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# Specs for serverbackup #
1. Look at the files in backup directory
2. Extract the dates from the filenames
3. Check whatever a tape drive is on and contains a tape
4. Check whatever the external harddrive is connected
* If not, try to mount it
* If mount fails, abort script and write error log
5. Copy the latest backup to tape drive and external harddrive
6. Write everything to a logfile (script will run headless)