Browse Source

supprimé : zimbra/Migration/3_exports_mailbox.sh

zimbra/Migration/3_exports_mailboxes.sh
	zimbra/Migration/5_exports_filters_and_sig.sh
	zimbra/Migration/6_imports_filters_and_sig.sh
master
Sébastien Faton 11 months ago
parent
commit
71eef92c35
  1. 19
      zimbra/Migration/3_exports_mailbox.sh

19
zimbra/Migration/3_exports_mailbox.sh

@ -1,19 +0,0 @@
#!/bin/bash
RCODE=$?
echo "Export mailboxes :"
for user in `cat /opt/zimbra/nfsbackup/migration/accounts/users.txt`;
do
echo "Exporting mailbox : $user" ;zmmailbox -z -t 0 -m $user getRestURL -u "https://127.0.0.1:7071" "//?fmt=tgz" > /opt/zimbra/nfsbackup/migration/archives/$user.tgz;
done
if [ $RCODE -eq 1 ]; then
echo "erreur dans l'export'"
exit 1;
fi
if [ $RCODE -eq 0 ]; then
echo "Export terminée'"
echo "Lancer import sur serveur de destination"
exit;
fi
Loading…
Cancel
Save