To be able to use these scripts, the Python Client must be installed on the machine.
restore.sh will restore user data from the backup directory into a user's or another user's mailbox, as required, into a sub-folder named
To start it:
USER|MAILSHARE: to restore a user use the keyword USER, to restore a shared mailbox use the keyword MAILSHARE
BACKUP_PATH: path to the data in the BlueMind backup directory (/var/backups). The path looks like:
/var/backups/bluemind/dp_spool/rsync/<IP>/mail/imap/<backup number>/var/spool/cyrus/data/<bluemind domain>/domain/<domain initial>/<domaine bluemind>/<user initial>/user/<user>/
E.g. for the user "jdoe" on the domain "bluemind.loc":
You can see that for a mailbox, the path stops at the domain level. Therefore, the path is always the same for all mailshares of the domain.
E.g. in our sample domain "bluemind.loc", path will be:
USER|MAILSHARE: as for first keyword, indicates the target mailbox type
EMAIL_ADDRESS: email address for the target mailbox you want to restore the data into
Then, you have 4 possibilities: