From c33e1286125eb94b8de7eab433f8d52a8c38c49c Mon Sep 17 00:00:00 2001 From: Jack-Benny Persson Date: Sat, 4 Jan 2014 20:31:17 +0100 Subject: [PATCH] Renamed script and updated README to reflect name-change --- README.md | 2 +- serverbackup.sh => proxmox-backup.sh | 0 taperotate.sh | 23 ++++++++++++++++++++--- 3 files changed, 21 insertions(+), 4 deletions(-) rename serverbackup.sh => proxmox-backup.sh (100%) diff --git a/README.md b/README.md index 1f12f35..5afcdcd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Serverbackup # +# Proxmox-backup # This script was written as a part of a Programming & Scripting class. The script takes a backup of the backup files created by Proxmox, ie take all the backup files (vzdump-openvz-111-2013\_11\_19-08\_20\_20.tar.lzo and so on) diff --git a/serverbackup.sh b/proxmox-backup.sh similarity index 100% rename from serverbackup.sh rename to proxmox-backup.sh diff --git a/taperotate.sh b/taperotate.sh index 74ee18a..cd08f8b 100755 --- a/taperotate.sh +++ b/taperotate.sh @@ -1,8 +1,25 @@ #!/bin/bash -# Jack-Benny Persson -# LX13 -# Rotate tapes +################################################################################ +# # +# Copyright (C) 2014 Jack-Benny Persson # +# # +# This program is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 2 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +################################################################################ + TapeFile=tape.txt HowMany=6