Skip to content
Snippets Groups Projects
Commit b7de3eaa authored by efer's avatar efer
Browse files

new backup server

parent 66baba42
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
# Main Variables # Main Variables
SCRIPTNAME="comp-backup" SCRIPTNAME="comp-backup"
VERSION=5 VERSION=6
LOGNAME="backup_logfile" LOGNAME="backup_logfile"
TARGETNODE="userbackup1.compute.dtu.dk" TARGETNODE="backup.compute.dtu.dk"
HOST=$(hostname -s) HOST=$(hostname -s)
H=$HOME H=$HOME
BIN_DIR="$H/bin" BIN_DIR="$H/bin"
...@@ -40,7 +40,7 @@ case $ANS in ...@@ -40,7 +40,7 @@ case $ANS in
*) *)
RUSER=$ANS ;; RUSER=$ANS ;;
esac esac
RHOME=/backup/$RUSER RHOME=/home/$RUSER
SCRIPTNAME="$SCRIPTNAME-$RUSER" SCRIPTNAME="$SCRIPTNAME-$RUSER"
# SUDO # SUDO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment