From 4d46c047a987841180a34c2fda7534d4b8a10552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?s=C3=A9bastien?= Date: Thu, 15 Feb 2024 15:18:37 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20PBS/cephfs=5Fbackup.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PBS/cephfs_backup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PBS/cephfs_backup.sh b/PBS/cephfs_backup.sh index 1d4dffb..dca0fe3 100644 --- a/PBS/cephfs_backup.sh +++ b/PBS/cephfs_backup.sh @@ -2,6 +2,7 @@ RCODE=$? smtp_dest_user=backup@altinea.fr date=`date +%F` -PBS_PASSWORD=password proxmox-backup-client backup CephFS.pxar:/mnt/pve/boutiques/ --repository users@sreveur:Datastore > /root/pbs_report/pbs_save_report_$date.txt +encryption_path=/root/pbs_report/enc.key +PBS_PASSWORD=password proxmox-backup-client backup CephFS.pxar:/mnt/pve/boutiques/ --repository users@sreveur:Datastore --keyfile $encryption_path > /root/pbs_report/pbs_save_report_$date.txt echo `cat /root/pbs_report/pbs_save_report_$date.txt` | mutt -s 'Rapport de sauvegarde Cephfs_torop' -a /root/pbs_report/pbs_save_report_$date.txt -- $smtp_dest_user exit 1;