custom server backup_dir

Change-Id: I1264b6a3c15b7053e54afe0e2fda4132ecef90fa
diff --git a/README.rst b/README.rst
index 8450bf9..e782434 100644
--- a/README.rst
+++ b/README.rst
@@ -693,7 +693,7 @@
           hours_before_full: 24
           target:
             host: cfg01
-
+            backup_dir: server-backup-dir
 
 Backup client with local backup only
 
diff --git a/ceph/files/backup/ceph-backup-client-runner-call.sh b/ceph/files/backup/ceph-backup-client-runner-call.sh
index bc69521..60e6c36 100644
--- a/ceph/files/backup/ceph-backup-client-runner-call.sh
+++ b/ceph/files/backup/ceph-backup-client-runner-call.sh
@@ -6,6 +6,7 @@
 # Configuration
 # -------------
     BACKUPDIR="{{ backup.backup_dir }}/full"
+    SERVERBACKUPDIR="{{ backup.client.target.get('backup_dir', backup.backup_dir) }}"
     TMPDIR="$( pwd )/tmp_ceph_backup"
     HOSTNAME="$( hostname )"
     TIMESTAMP="$( date +%m%d%k%M )"
@@ -61,7 +62,7 @@
     ssh-keygen -R {{ backup.client.target.host }} 2>&1 | > $RSYNCLOG
     ssh-keyscan {{ backup.client.target.host }} >> ~/.ssh/known_hosts  2>&1 | >> $RSYNCLOG
     echo "Rsyncing files to remote host"
-    /usr/bin/rsync -rhtPv --rsync-path=rsync --progress $BACKUPDIR/* -e ssh ceph@{{ backup.client.target.host }}:$BACKUPDIR >> $RSYNCLOG
+    /usr/bin/rsync -rhtPv --rsync-path=rsync --progress $BACKUPDIR/* -e ssh ceph@{{ backup.client.target.host }}:$SERVERBACKUPDIR >> $RSYNCLOG
 
     # Check if the rsync succeeded or failed
     if [ -s $RSYNCLOG ] && ! grep -q "rsync error: " $RSYNCLOG; then