From 682a75f6a5ddc45a2328f0c913ebe94d431ab59f Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 15 Jul 2015 13:22:54 +0200 Subject: [PATCH] Create upload script for release --- bacula/release/upload | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 bacula/release/upload diff --git a/bacula/release/upload b/bacula/release/upload new file mode 100755 index 0000000000..d115267a4b --- /dev/null +++ b/bacula/release/upload @@ -0,0 +1,34 @@ +#!/bin/sh +# +# Upload to File Release System on server +# +. ./config + +ver="7.0.5" +RSYNC="rsync -av --no-g --progress $upload_opt" + +do_upload() +{ +where=$1 +echo "Creating ${where}:/home/src/$ver" +ssh ${where} <