Backup data from an IMAP account to zipped EML on an S3 bucket

Overview

Using LegacyFlo you can backup email data from an IMAP account to a zipped EML file in an AWS S3 bucket.

Preparation

Before creating migration requests in LegacyFlo, ensure the following:

  1. S3 bucket has been created 
  2. The S3 registered with LegacyFlo 
  3. The source mail server has to be configured to allow IMAP access. 
Note: These steps have to be executed only once.

A. Create an S3 bucket on AWS

Note: We recommend that you use a single S3 bucket in your AWS account to backup the email data for all the users in your email domains.

Create an S3 bucket in a supported region and allow list and write access to LegacyFlo. The steps for the same are given in the links below:

  1. Get an AWS account.
  2. Create an S3 bucket in a region supported by Mithi. 
  3. Allow list and write access to LegacyFlo.

B. Register destination S3 bucket on LegacyFlo

For LegacyFlo to upload data to an S3 bucket, it needs to be added to as a destination S3 bucket in LegacyFlo. The steps for doing the same are as given below:

Note: This step has to be done only once for each destination bucket.

  1. Login to LegacyFlo
  2. Select Add Request
  3. On the left pane,
    1. Give a dummy title 
    2. Select MITHI-S3-ZIP as the Request Type
  4. In the section on Destination Information
    1. Click the [+] icon next to S3 Bucket Name
    2. On the Prepare Bucket page, you will be shown the list of steps to be completed to create and grant access to the S3 bucket. Confirm that you have done as instructed and click on I confirm that the above configuration is complete.
    3. Click Continue
    4. On the Configure, Verify & Save page,  give the Bucket Name and select the Bucket Region.
    5. Click Verify. LegacyFlo will check the access to the bucket.
    6. If LegacyFlo cannot access the bucket, you will be shown an error message similar to All access to this object has been disabled. Check S3 access rights and name and retry.
    7. If the connection is successful then click on Save. LegacyFlo will remember this S3 for further requests.

C. Prepare the SOURCE SERVER to allow IMAP access from LegacyFlo

Before using LegacyFlo to access email data from source servers using the IMAP protocol, confirm the following

  1. The emails to be migrated are available in the mailboxes hosted on the source server. Emails that have been downloaded using the POP protocol and deleted from the server, cannot be migrated using this option.
  2. Your email service provider supports IMAP access to mailboxes.
  3. You should have the rights and the capability to reset the passwords on the source in order to access the mail boxes.
  4. If the source server is hosted at your own premises, you have provisioned sufficient Internet bandwidth to transfer the mailbox data. (This will not apply to SkyConnect, Vaultastic, O365, Yahoo or GSuite.)
  5. The source email service provider should allows large email downloaded via IMAP without any throttling. 
  6. You have configured your email server to allow IMAP access as mentioned in the sections below.
  7. In addition to the above, GMail servers need additional configuration depending on whether you are using less secure or OAuth access. Follow the instructions given in the table below:
GMail with less secure app access Follow the instructions given here.
GMail with OAuth access Follow the instructions given here.
 

Migrate data to S3

Once the preparation is done, you can start the migration by submitting migration requests to LegacyFlo. 

Note: This step has to be executed for each mailbox to be migrated.

The request type used to submit a LegacyFlo request will depend on the source type. The table below gives the details of the preparation and request parameters for different source types:

MITHI-S3-ZIP

  • Use this request type to backup data from a SkyConnect or Vaultastic account to S3.
  • Click here for the details of the request parameters.
O365-S3-ZIP
  • Use this request type to backup data from an O365 mailbox to S3.
  • Click here for the details of the request parameters.
YAHOO-S3-ZIP
  • Use this request type to backup data from an Yahoo mailbox to S3.
  • Click here for the details of the request parameters.
GMAIL-S3-ZIP
  • Use this request type to backup data from a GMail mailbox accessed using Less Secure Access method.
  • Click here to know the parameters to be specified in the Source and Destination information
GMAILOAUTH-S3-ZIP
  • Use this request type to backup data from a GMail mailbox accessed using OAuth.
  • Click here to know the parameters to be specified in the Source and Destination information

Retrieve data from S3

You can retrieve the data by 

  1. Downloading the zip file, either using the AWS console or a tool such as S3 browser.
  2. Migrating the data to a SkyConnect or Vaultastic account.