Back up mac thunderbird profiles. Backing up mail from Thunderbird. GUI Address Book Backup


It just so happened that in this mail client at the time of this writing, the function of automating the backup of letters by built-in means is not implemented. Of course, it is possible to add letters to the archive, but you need to do this manually, which is not so convenient, especially for the administrator, who, in which case, will remain the last one. There are many others mail clients, the built-in functionality of which allows you to set up an automatic backup, but they are usually paid. Apart from this small flaw, the Mozilla Thunderbird mail client is generally quite good and functional, especially since it is completely free. Fortunately, it is very easy to cope with the difficulty that has arisen; you just need to install an extension that makes up for the missing functionality of the mail client. And extensions such as Awesome Auto Archive and AutoarchiveReloaded can help us with this. On the example of the latter, since it is Russified, we will show how to set up automatic archiving of letters.

1. Launch Mozilla Thunderbird and expand the drop-down menu.

2. Select the menu item "Add-ons"

3. In the search, enter the name of the extension. In the resulting list, select the desired one and click "Install".

4. You will need to restart your mail client.

5. After restarting, open the menu again, select the "Add-ons" item and in the "Extensions" tab we find the newly installed AutoarchiveReloaded. Press the button"Settings" to set the conditions for archiving.

6. Put a check mark “At startup” and “extended log”, if required.

7. The rest of the settings are made in the parameters account... There are two ways to invoke the account settings menu. Via the "Tools" menu

or by placing the cursor on the account name, right-click context menu, where to select the item "Parameters".

8. In the window that opens, first select the "Copies and Folders" section, then click the "Archive settings" button.

9. Here we select the desired folder structure for the archive that we want to create.

10. And, finally, in the "Autoarchive settings" section, select the conditions that must be met by the letters being archived.

This completes the configuration of the mail client.
To protect the archive from users, which will be updated every time you start, it will not be superfluous to create a script that will copy archive folder to another place. And in the planner Windows jobs you can set a schedule to run this script. After you complete these simple manipulations, you can be sure that all your letters or letters from other users are in local network are safely hidden, and it will not be difficult to get the lost letter, in case of such a need.

There are two categories of any computer user. Those who don't backups and who is already doing them. Through trial and error, many (and yours truly) came to the need to create backups. This also applies to the Thunderbird profile, since it's easy and simple to do. Moreover, you can get by with the simplest means. There is special utility MozBackup, but you don't need to use it. So, let's figure out how to archive the Thunderbird mail client profile using the available tools.

To do this, we need a 7zip archiver and a built-in Windows scheduler. Archiving will be done with a bat-file of the following content.

MS DOS

@rem Archiving Variables @set BackupPass = Password @set BackupPath = D: \ @set TBProfileFolderPath = D: \ alex \! System \ Thunderbird \ @set CloudPath = D: \ alex \! System \ Docs \ Yandex.Disk \ Archives \ Backups \ Thunderbird @rem Archiving process @echo Thunderbird profile backup starts ... @ "C: \ Program Files \ 7-Zip \ 7z.exe" a -p% BackupPass% -mhe = on -mx = 9% BackupPath% \ ThunderbirdProfileBackup_% computername% _% date: ~ 0.2 %% date: ~ -7.2 %% date: ~ -4.4% .7z% TBProfileFolderPath% @echo Move the Thunderbird profile archive to the backup folder ... @ move% BackupPath% \ ThunderbirdProfileBackup_% computername% _% date: ~ 0.2 %% date: ~ -7.2 %% date: ~ -4.4% .7z% CloudPath% @echo Thunderbird profile has been archived.

@rem Archive Variables

@set BackupPass = Password

@set BackupPath = D: \

@set TBProfileFolderPath = D: \ alex \! System \ Thunderbird \

@set CloudPath = D: \ alex \! System \ Docs \ Yandex. Disk \ Archives \ Backups \ Thunderbird

@rem Archiving

@echo Thunderbird Profile Archiving Begins ...

@ "C: \ Program Files \ 7-Zip \ 7z.exe" a -p% BackupPass% -mhe = on -mx = 9% BackupPath% \ ThunderbirdProfileBackup_% computername% _% date: ~ 0.2%% date: ~ -7.2%% date: ~ -4.4%. 7z% TBProfileFolderPath%

@echo Moving Thunderbird Profile Archive to Backup Folder ...

@move% BackupPath% \ ThunderbirdProfileBackup_% computername% _% date: ~ 0.2%% date: ~ -7.2%% date: ~ -4.4%. 7z% СloudPath%

@echo Thunderbird profile archiving is complete.

The lion's share of the archive script settings are made variables. In principle, everything is clear and so, but it is better to explain. The variable BackupPass sets the password for the archive (change Password to your password), BackupPath contains the path to store created archive... Next: TBProfileFolderPath - the path to the folder with the Thunderbird profile, СloudPath - the path to the folder on Yandex.Disk where the archive is uploaded. As you can see, everything is simple. It is enough to change the specified variables and the archive batch file will be adapted to your needs. Uploading the archive is optional to Nextcloud. Anyone can be used cloud service or other storage (for example, external HDD or flash drive). The archive file name is automatically completed current date and the name of the computer on which the archiving process is taking place. Of course, it would be necessary to add some kind of check for the Thunderbird running at the time of creating the copy and for some errors in archiving, but for now it will do well 🙂

Archive recovery is also very simple. Thunderbird must be installed, create new profile(I am using a folder other than system disk) and unpack the archive created by the bat file into this folder. And enjoy.

And to create an archive on a schedule, you need to use windows scheduler and a task that runs once a week on Wednesday at 9:00 pm and creates an archive with the profile. If the computer was turned off at the time of the scheduled start, then the task will run at the next turn on.

P.S. Thunderbird profile is created like this:

Is there a terminal command that backs up the thunderbird address book?

I would like to create a cron entry for it. Please note that I want to back up my address book, not my entire profile.

Mozilla Address Book .mab

Open Thunderbird>

Mozilla Address Book .mab

Backup address books GUI

It is recommended that you regularly back up all your Thunderbird application data, including mail files, address books, and account settings, so that you can restore your full profile (s) if necessary.

In addition, you can sometimes create separate backups of all your address books by exporting them as LDIF files.This way, if your address books ever get corrupted, you will still have a separate backup that you can import into any Thunderbird profile. To do this, export each address book as an LDIF file using the above procedure, and then burn the LDIF files to a CD or save them elsewhere for storage.

To export an address book:

Open Thunderbird> Tools - Address Book * In the Address Book window, select the address book that you want to export. * Go to the "Tools" menu and select "Export ...". * Enter a name for the address book, select "LDIF" from the drop-down list, choose where on your computer you want to save the address book, and then click to save the file.

GUI Address Book Backup

Your address book stored in your profile to find out where it runs:

Mozilla Address Book .mab

GUI Address Book Backup

To export an address book:

] sudo locate * .mab -> find something like abook.mab

Blockquote>

Mozilla Address Book .mab

GUI Address Book Backup

It is recommended that you regularly back up all of your Thunderbird application data, including mail files, address books, and account settings, so that you can restore your full profile (s) if necessary.

In addition, you can sometimes create separate backups of all your address books by exporting them as LDIF files. This way, if your address books ever get corrupted, you still have a separate backup that you can import into any Thunderbird profile. To do this, export each address book as an LDIF file using the above procedure, and then burn the LDIF files to a CD or save them elsewhere for storage.

To export an address book:

Open Thunderbird & gt; Tools - Address Book * In the Address Book window, select the address book you want to export. * Go to the "Tools" menu and select "Export ...". * Enter the name of the address book, select "LDIF" from the dropdown list, select where on your computer you want to save the address book, and then click to save the file.

Command-Line Address Book Backup

See your address book in your profile to see where it runs:

] sudo locate * .mab -> find something like abook.mab

Blockquote>

Mozilla Address Book .mab

GUI Address Book Backup

It is recommended that you regularly back up all of your Thunderbird application data, including mail files, address books, and account settings, so that you can restore your full profile (s) if necessary.

In addition, you can sometimes create separate backups of all your address books by exporting them as LDIF files. This way, if your address books ever get corrupted, you still have a separate backup that you can import into any Thunderbird profile. To do this, export each address book as an LDIF file using the above procedure, and then burn the LDIF files to a CD or save them elsewhere for storage.

To export an address book:

Open Thunderbird & gt; Tools - Address Book * In the Address Book window, select the address book you want to export. * Go to the "Tools" menu and select "Export ...". * Enter the name of the address book, select "LDIF" from the dropdown list, select where on your computer you want to save the address book, and then click to save the file.

Command-Line Address Book Backup

See your address book in your profile to see where it runs:

] sudo locate * .mab -> find something like abook.mab

Blockquote>

Mozilla Address Book .mab

GUI Address Book Backup

It is recommended that you regularly back up all of your Thunderbird application data, including mail files, address books, and account settings, so that you can restore your full profile (s) if necessary.

In addition, you can sometimes create separate backups of all your address books by exporting them as LDIF files. This way, if your address books ever get corrupted, you still have a separate backup that you can import into any Thunderbird profile. To do this, export each address book as an LDIF file using the above procedure, and then burn the LDIF files to a CD or save them elsewhere for storage.

To export an address book:

Open Thunderbird & gt; Tools - Address Book * In the Address Book window, select the address book you want to export. * Go to the "Tools" menu and select "Export ...". * Enter the name of the address book, select "LDIF" from the dropdown list, select where on your computer you want to save the address book, and then click to save the file.

Command-Line Address Book Backup

See your address book in your profile to see where it runs:

] sudo locate * .mab -> find something like abook.mab

Blockquote>

Mozilla Address Book .mab

GUI Address Book Backup

It is recommended that you regularly back up all of your Thunderbird application data, including mail files, address books, and account settings, so that you can restore your full profile (s) if necessary.

In addition, you can sometimes create separate backups of all your address books by exporting them as LDIF files. This way, if your address books ever get corrupted, you still have a separate backup that you can import into any Thunderbird profile. To do this, export each address book as an LDIF file using the above procedure, and then burn the LDIF files to a CD or save them elsewhere for storage.

To export an address book:

Open Thunderbird & gt; Tools - Address Book * In the Address Book window, select the address book you want to export. * Go to the "Tools" menu and select "Export ...". * Enter the name of the address book, select "LDIF" from the dropdown list, select where on your computer you want to save the address book, and then click to save the file.

Command-Line Address Book Backup

See your address book in your profile to see where it runs:

] sudo locate * .mab -> find something like abook.mab

Blockquote>

Mozilla Address Book .mab

GUI Address Book Backup

It is recommended that you regularly back up all of your Thunderbird application data, including mail files, address books, and account settings, so that you can restore your full profile (s) if necessary.

In addition, you can sometimes create separate backups of all your address books by exporting them as LDIF files. This way, if your address books ever get corrupted, you still have a separate backup that you can import into any Thunderbird profile. To do this, export each address book as an LDIF file using the above procedure, and then burn the LDIF files to a CD or save them elsewhere for storage.

To export an address book:

Open Thunderbird & gt; Tools - Address Book * In the Address Book window, select the address book you want to export. * Go to the "Tools" menu and select "Export ...". * Enter the name of the address book, select "LDIF" from the dropdown list, select where on your computer you want to save the address book, and then click to save the file.

Command-Line Address Book Backup

See your address book in your profile to see where it runs:

] sudo locate * .mab -> find something like abook.mab

Blockquote>

Mozilla Address Book .mab

GUI Address Book Backup

It is recommended that you regularly back up all of your Thunderbird application data, including mail files, address books, and account settings, so that you can restore your full profile (s) if necessary.

In addition, you can sometimes create separate backups of all your address books by exporting them as LDIF files. This way, if your address books ever get corrupted, you still have a separate backup that you can import into any Thunderbird profile. To do this, export each address book as an LDIF file using the above procedure, and then burn the LDIF files to a CD or save them elsewhere for storage.

To export an address book:

Open Thunderbird & gt; Tools - Address Book * In the Address Book window, select the address book you want to export. * Go to the "Tools" menu and select "Export ...". * Enter the name of the address book, select "LDIF" from the dropdown list, select where on your computer you want to save the address book, and then click to save the file.

Command-Line Address Book Backup

See your address book in your profile to see where it runs:

] sudo locate * .mab -> find something like abook.mab

Blockquote>

to something like this

Yo can use bash script. Check this link. There is a script to back up your thunderbird directory. This folder should also contain your address book. The author also provides instructions on how to set up this script as a cron.

Note: the script creates a backup of your complete folder. You have to customize this line

Tar zcf thunderb-mail - $ (x) .tgz ~ roger / .thunderbird

to something like this

Tar zcf thunderb-mail - $ (x) .tgz ~ / .thunderbird / youradressbookfilename.mab

And it will just make a backup copy of your address book file.

Yo can use bash script. Check this link. There is a script to back up your thunderbird directory. This folder should also contain your address book. The author also provides instructions on how to set up this script as a cron.

Note: the script creates a backup of your complete folder. You have to customize this line

Tar zcf thunderb-mail - $ (x) .tgz ~ roger / .thunderbird

to something like this

Tar zcf thunderb-mail - $ (x) .tgz ~ / .thunderbird / youradressbookfilename.mab

And it will just make a backup copy of your address book file.

Yo can use bash script. Check this link. There is a script to back up your thunderbird directory. This folder should also contain your address book. The author also provides instructions on how to set up this script as a cron.

Note: the script creates a backup of your complete folder. You have to customize this line

Tar zcf thunderb-mail - $ (x) .tgz ~ roger / .thunderbird

to something like this

Tar zcf thunderb-mail - $ (x) .tgz ~ / .thunderbird / youradressbookfilename.mab

And it will just make a backup copy of your address book file.

Secures Thunderbird emails on your local machine and helps you transfer and clone data. Handy Backup can create and restore Thunderbird backups using various storage locations.

Benefits of Automatic Thunderbird Backups

Automation of all actions

After creating a task, all subsequent actions (backup, Thunderbird archiving, cloning, etc.) are performed according to the specified schedule or when an event occurs associated with the scheduled launch of the task.


Choosing Thunderbird backup methods and tools

For Thunderbird, a backup can be created using various algorithms ( local access to the folders in which Thunderbird stores mail, incremental backups, storing multiple backup versions, encryption, etc.).


Effective recovery

Handy Backup allows you to organize mail recovery, cloning or transfer for Thunderbird mailboxes or simply view unencrypted emails in storage using a previously created backup copy of emails (Thunderbird backup).

Other features of Handy Backup

In addition to the advantages described above, Handy Backup contains a wide variety of tools and plugins to improve efficiency and usability, including a Mozilla Thunderbird backup. Some of the features that deserve special mention:

  • Thunderbird Mail Archiving
    Compress your Thunderbird messages into ZIP archives to reduce network transfer time and storage space. This feature is built into the Handy Backup tools.
  • Security
    You can encrypt backups using the built-in algorithm, choose a secure data store, or create a password archive to restrict access to your backed up mailboxes.
  • Safe storage
    Use local and local Thunderbird backups. network drives, NAS devices, FTP / SFTP / FTPS servers, cloud storage(for example, a backup to Yandex.Disk), as well as special storage HBDrive.
  • Direct access to the mail server via IMAP
    In addition to Thunderbird backup, Handy Backup can use the built-in "E-mail" plugin to create mail backup, backup and restore emails directly from mail server.

How to back up Thunderbird to Handy Backup

To back up your mail in Thunderbird, please follow these steps.

  1. Use the Thunderbird settings panel to look at the paths to your local folders with mail, addresses, profiles, etc. Copy or remember these paths.
  2. Open Handy Backup. Use the Ctrl + N keys or the button on the main panel to create a new task. Select the task type - backup - in Step 1.
  3. In Step 2, open the Computer plugin in the list of local drives. You will see the structure of disks and directories this computer... Select the Thunderbird folders you found.

  1. Mark the folders you found with a checkmark. (You can also use the "File Filters" function to select the desired data by name). Click OK.
  2. Your data is included in the backup list; continue to create the task as described in the User Guide.

To restore mail from the archive (Mozilla Thunderbird backup), create a data recovery task and select the location with the Mozilla Thunderbird backup in Step 2. Next, find the file in the backup directory backup.hbi and select it; it contains recovery data.

Advice: You can change the location of data recovery by creating a copy or clone of your Mozilla Thunderbird mail from a backup. To do this, click Change Location in the recovery dialog, then select a new location for the Thunderbird emails to be recovered.

Back up Thunderbird mail with Handy Backup - convenient, reliable and simple solution to backup any data!

Backup is one of the most important factors in the safety of your data, whether it be your website files or your mail archive. In this tutorial, you will learn how to back up your mail using three popular email clients.

Quick navigation:

Before the start of this manual it is worth expanding your knowledge of incoming mail protocols and the differences between them a little. There are two mail protocols: IMAP and POP3. The main difference is that IMAP allows you to sync your emails across multiple devices, while POP3 does not.

Another big drawback of POP3 is the inability to export outgoing emails to the email client. Therefore, it is recommended that you use IMAP if your email provider allows it. For a more detailed explanation of the difference between IMAP and POP3 take a look at.

Before we start this tutorial, you need the following:

  • Access to the hosting control panel.
  • Mail client.

Step 1 - Collecting Mail Server Data

First, you need to get information about your mail server. In Hostinger's control panel, it can be found in a dedicated section. To obtain it, follow the steps below:

  1. Login to Hostinger control panel and enter Mail accounts into the search box.
  2. Or find the icon Mail accounts In chapter mail and click on it.

  1. Click on the button Control opposite your email account, then Information.

  1. A window with all the necessary data will come out. Write them down or copy them to text editor on your computer. We'll need them later.

Step 2 - Backing Up Mail

After you have received the required mail server data, you can proceed with setting up your mail client and creating backup copies of your emails. Below you can find 3 options for how to back up your mail using different mail clients.

Option 1 - Back up mail in Outlook

Let's start by adding your account to Outlook. For this tutorial, we will be using Outlook 2016. For instructions on how to complete this process in more earlier versions Outlook take a look at this guide.

  1. Open Outlook and click File -> Add Account.

  1. In the window that appears, select Manual setting or additional types servers and press Further.

  1. Press Protocol POP or IMAP, then Further.

  1. In the new window, enter the data received in the first Step and press the button Further.

  1. Press the button to complete the setting. Ready.

  1. Click on File, select Open and export and click on the button Import and export.

  1. In the new window, select the option Export to file and press the button Further.

  1. Select the file type. In this tutorial, we will use Outlook data files (.pst)... Click on Further.

  1. Now choose your mail account from the list and press again Further.

  1. Finally, select a folder to export and click the button Ready.

  1. You will be able to find a backup copy of your emails in the selected folder in .pst format.

Backing up your emails to Outlook is a fairly easy process and only takes a few minutes.

Option 2 - Backing Up Mail in Thunderbird

Start Thunderbird and enable the wizard for setting up new mail accounts. If this is your first time starting Thunderbird, the setup wizard will appear automatically. You can also call it by clicking on the button mail:

  1. In the first window select Skip this and use my existing mail since you already have an email account.

  1. Now fill in your name, address Email, password from it and press Proceed.

  1. In the next step, Thunderbird will try to automatically retrieve the mail server data. However, in most cases, this process does not work. Therefore, you need to enter data manually. Just enter the data from the first Step and press the button Retest... If you don't get any errors, click Ready.

You may have noticed that Thunderbird is not showing any of your messages right now. To download your messages from the server, click the button Receive messages.

You have successfully configured your Thunderbird client. Now let's move on to backing up your emails. This can be a little tricky since Thunderbird does not have a built-in message export feature. However, there is a workaround:

  1. Create new folder on your computer and name it Mail backup.
  2. In Thunderbird, go to the mail folder you want to back up.
  3. Use CTRL + A (CMD + A for MacOS) to highlight all messages in the folder.
  4. Right click on messages and select option Save as…

  1. Select the folder you created as the save location.
  2. That's it, Thunderbird will automatically export all selected emails to the format eml.

You have successfully backed up all your inboxes and saved them on your computer.

Option 3 - Back Up Mail to Mac Mail

MacOS users can back up their mail using the Mac Mail client. Follow these steps to add your email account to Mac Mail:

  1. Launch Mac Mail and select Mail → Add account.
  2. Next option Other mail accounts ... and press the button Proceed.

  1. Enter your mail server details from Step 1 and press To come in.

  1. If the information you entered is correct, Mac Mail will log into your email account and download your latest emails.

The process of backing up emails to Mac Mail is very simple:

  1. Right-click on the folder with the letters you need and select Export mailbox.

  1. Select a location to export your emails and click the button Select.
  2. Mac Mail will export your emails in format mbox archive.

That's it, you have successfully backed up your mail using the Mac Mail client. Format mbox supported by most major email clients. Therefore, you shouldn't have any problems if you decide to migrate your emails to other email clients.

Conclusion

In this tutorial, you learned how to back up your mail using 3 different mail clients. You also learned about the main differences between POP3 and IMAP.