VirtuBox
b144603690
* remove useless --skip-lock-tables option for mysqldump, already set by --single-transaction * set gzip compression level to 1 instead of 9 : backup process is two times faster, but dump size is only 15% higher * add imapsync script, installation instructions will be added soon |
||
---|---|---|
.. | ||
README.md | ||
credentials.csv | ||
imapsync-from-csv.sh |
README.md
Script to migrate emails between two servers using imapsync - user credentials read from csv
Download the script and csv example
wget https://raw.githubusercontent.com/VirtuBox/bash-scripts/master/mail/imapsync/imapsync-from-csv.sh -O imapsync-from-csv.sh
wget https://raw.githubusercontent.com/VirtuBox/bash-scripts/master/mail/imapsync/credentials.csv -O credentials.csv
chmod +x imapsync-from-csv.sh
Run the script
Put your users crendentials in the csv file, and run imapsync-from-csv.sh this way :
./imapsync-from-csv.sh imap-server-1.tld imap-server-2.tld