From 94335e6d2327818038f437636440c78a2e79643c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Wed, 13 May 2015 16:22:22 +0200 Subject: [PATCH] L'implem' de 'cipher_spec' comme param optionel ne marche pas en l'etat --- libtisbackup/backup_rsync.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libtisbackup/backup_rsync.py b/libtisbackup/backup_rsync.py index 93b877a..8d08889 100644 --- a/libtisbackup/backup_rsync.py +++ b/libtisbackup/backup_rsync.py @@ -140,8 +140,6 @@ class backup_rsync(backup_generic): else: # case of rsync + ssh ssh_params = ['-o StrictHostKeyChecking=no'] - if self.cipher_spec: - ssh_params.append('-c %s' % self.cipher_spec) if self.private_key: ssh_params.append('-i %s' % self.private_key) if self.ssh_port <> 22: @@ -312,7 +310,7 @@ class backup_rsync_ssh(backup_rsync): """Backup a directory on remote server with rsync and ssh protocol (requires rsync software on remote host)""" type = 'rsync+ssh' required_params = backup_generic.required_params + ['remote_user','remote_dir','private_key'] - optional_params = backup_generic.optional_params + ['compression','bwlimit','ssh_port','exclude_list','protect_args','overload_args', 'cipher_spec'] + optional_params = backup_generic.optional_params + ['compression','bwlimit','ssh_port','exclude_list','protect_args','overload_args'] register_driver(backup_rsync)