Profile backup: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(added link to moving from windows to linux)
m (Manually back up the profile - changed show folder to open folder)
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
The [[profile folder]] is a folder on your computer that stores all of your data such as settings, bookmarks, extensions, themes, mail (if you're using Thunderbird or SeaMonkey) etc. Its a good idea to occasionally backup your profile in case something happens to your computer. This article describes how to backup the profile, and to restore it.
The [[Profile_folder | profile folder]] is a folder on your computer that stores your Mozilla application user data such as preference settings, passwords, extensions, themes,   Firefox or SeaMonkey bookmarks,  and Thunderbird or SeaMonkey mail.   It's a good idea to periodically back up your profile to safeguard your data, in case something happens to your computer. Make sure to keep the backup ''not'' on the same disk (or even computer) as your profile folder, to avoid it being lost along with the profile in case of disk failure (or theft). This article describes how to back up your profile and restore it.


If you want to move your profile to a different place on your computer (or a different computer), see [[Moving your profile folder]]. It has different (and more complicated) instructions because it has to tell the application where the profile is stored.  See [[Transferring data to a new profile]] if you're trying to recover data from a profile to reuse in another profile.  
If you want to move your profile to a different place on your computer (or a different computer), see [[Moving your profile folder]]. It has different (and more complicated) instructions because it has to tell the application where the profile is stored.  See [[Transferring data to a new profile]] if you're trying to recover data from a profile to reuse in another profile.  
Line 6: Line 6:


==Third party profile backup software==
==Third party profile backup software==
'''Recommended:'''  If you're a Windows user and want a simple way to back up and restore profiles,  it's recommended that you use the [[MozBackup]] program.  [http://mozbackup.jasnapaka.com/ MozBackup] is a profile backup utility for Mozilla Suite, Firefox, and Thunderbird.   This eliminates the need to find where your profile is stored, and it has options to backup just part of the profile. Its also a very convenient way to migrate a profile to another computer (or restore a profile on a reformatted boot disk).
'''Recommended:'''  If you're a Windows user and want a simple way to back up and restore profiles,  it's recommended that you use the [[MozBackup | MozBackup]] program.  [http://mozbackup.jasnapaka.com/ MozBackup] is a profile backup utility for Mozilla Suite, Firefox, and Thunderbird. This eliminates the need to find where your profile is stored, and it has options to back up just part of the profile. Its also a very convenient way to migrate a profile to another computer (or restore a profile on a reformatted boot disk).
 
 
Many other programs are available for backing up a profile. Some support scheduling a unattended backup. Below is a partial list.
'''While Mozbackup is extremely popular in the forums, it's no longer maintained. Its recommended that you verify that you can restore a backup it creates before relying upon it'''. Use Mozbackup 1.5.2 Beta 1 (there is a [http://mozbackup.jasnapaka.com/files/1.5.2-beta/MozBackup-1.5.2-beta1-EN.zip download link for it in the News section]) rather than the version available at the normal download link. Mozbackup 1.5.1 usually works fine but a few users have had problems where it doesn't backup everything it is supposed to. The beta doesn't seem to have that problem.  
* [http://forum.addonsmirror.net/index.php?showtopic=2953 BackupFox]: Backup your profiles of Firefox and Thunderbird. (Windows)
 
* [http://www.pikey.me.uk/mozilla/#bb Bookmark Backup]: Profile backup utility for Firefox. (Windows and Linux)
If you're using [http://portableapps.com/apps/internet/thunderbird_portable Portable Thunderbird] or [http://portableapps.com/apps/internet/firefox_portable Portable Firefox] Mozbackup won't back up your profile because it expects to find it via the [[Profiles.ini_file | profiles.ini]] file, and one of the goals of portable applications is to avoid having to register and install the application on each PC. [http://portableapps.com/suite Portable Apps Suite (Base Edition)] includes a PortableApps Backup utility. [http://portableapps.com/apps/utilities/toucan Toucan] is a stand alone utility with more options, that lets you synchronize, back up and secure your data. It also supports command line arguments.
* [http://homepage.mac.com/minge/emailbackup/index.html Email backup]: Profile backup utility for Thunderbird (Mac OS X)
 
* [http://customsoftwareconsult.com/extensions/febe/febe.html FEBE]: Backup extension for Firefox. (Windows, Linux, Mac OS X)
See [[Third party profile backup software and services| this article]] for other alternatives, including automated online backup.
* [http://www.hiteksoftware.com/jaba/download_backup_software.htm Jaback] : A file backup utility for Windows or Mac OS X that supports scheduling and email notification of task failures. The main downside is its not Mozilla aware, so you have to understand the profile layout if you don't want to backup the whole profile.


==Manually back up the profile==
==Manually back up the profile==
If you are comfortable with copying files and folders,  or if you can't or don't want to use a program to backup the profile,  you can back it up manually.  This process can be as simple as copying a single directory to a backup location.  Most of the work is in finding where the [[profile folder]] is stored.
If you are comfortable with copying files and folders you can manually back up your profile.  This process can be as simple as copying a single directory to a backup location.  Most of the work is in finding where the [[Profile_folder | profile folder]] is stored.
 
It's a good idea to first get rid of any unnecessary files to reduce the size of your backup.
:* Firefox: "[[Menu differences| Tools -> Options]]-> Advanced -> Network -> (under Offline Storage or Cached Web Content) -> Clear Now"
:* Mozilla Suite/SeaMonkey: [[Menu differences|Edit -> Preferences]] -> Advanced -> Cache -> Clear Cache, as well as [[Compacting folders | compact your mail]].
:* Thunderbird: [[Compacting folders | Compact your mail]].


# Its a good idea to first get rid of any unnecessary files to reduce the size of your backup.
The simplest solution is to use Help -> Troubleshooting Information -> Open Folder to open your systems file manager at the current profile, and then copy/paste that directory somewhere safe. If your application doesn't support that menu command see [[Profile_folder]] or [[Finding_the_profile_folder_on_Windows | Finding the profile folder on Windows]] to find where your profiles are stored. The profile   whose [[prefs.js]] file was modified most recently is probably the profile you normally use.  
#* Firefox: "Tools -> Clear Private Data... -> checkmark "Cache" and other unneeded items  -> Clear Private Data Now".
#* Mozilla Suite and SeaMonkey: Edit -> Preferences -> Advanced -> Cache -> Clear Cache, as well as [[Compacting folders | compact your mail]].
#* Thunderbird: [[Compacting folders | Compact your mail]].
# [[Kill application |Completely exit or quit the application]]. Mozilla Suite and SeaMonkey users on Windows should also exit Mozilla Quick Launch if its enabled.
# Find the "Mozilla" "Firefox" or "Thunderbird" folder in the profile folder path that <u>contains</u> the registry.dat file or [[profiles.ini file]] and the "Profiles" folder (Windows and Mac) or <profile name> folder (Linux) .  See [[Profile folder - Firefox]] , [[Profile folder - Thunderbird]] and [[Profile folder - SeaMonkey]] for the location.
# Copy the "Mozilla" "Firefox" or "Thunderbird" folder to the backup location.  This will back up all profiles in the default location.
#If you have created any profiles in a custom location, copy them to the backup location.


Mail is stored by default within the profile. If you re-configured Thunderbird, Mozilla Suite or SeaMonkey to store an accounts messages outside of the profile, you need to also copy the "local directory" for that account. Look in [[Account settings]] to find the location of each account's local directory.
A more complete solution is:
# [[Kill application |Completely exit or quit the application]].  Mozilla Suite and SeaMonkey 1.x users on Windows should also exit Mozilla Quick Launch if its enabled.
# Find the "Mozilla" (for Mozilla Suite/SeaMonkey 1.x), "SeaMonkey" (for SeaMonkey 2),  "Firefox", or "Thunderbird" folder in the profile folder path that <u>contains</u> the registry.dat file  or [[Profiles.ini_file | profiles.ini file]] and the "Profiles" folder (Windows and Mac) or <profile name> folder (Linux).  See [[Profile folder - Firefox]] , [[Profile folder - Thunderbird]] and [[Profile folder - SeaMonkey]] for the location. 
# Copy the "Mozilla" "SeaMonkey" "Firefox" or "Thunderbird" folder to the backup location.  This will back up all profiles in the default location and the "registry.dat" or "profiles.ini" file that keeps track profiles.
#If you have created any profiles in a custom location, copy them to the backup location and make a note of the original location.
#Mail is stored by default within the profile. If you re-configured Thunderbird, Mozilla Suite or SeaMonkey to store an accounts messages outside of the profile, you need to also copy the "local directory" for that account. Look in [[Account settings]] to find the location of each account's local directory.


==Manually restore the profile==
==Manually restore the profile==
To restore a profile backup:
To restore a profile backup:
# Close the application whose profile you're going to restore. If you're using Mozilla Suite or SeaMonkey you should also exit Mozilla Quick Launch if its enabled.
# Close the application whose profile you're going to restore. If you're using Mozilla Suite or SeaMonkey 1.x you should also exit Mozilla Quick Launch if its enabled.
# Copy each folder you backed up to the '''exact''' same location that it was in when you made the backup.
# Copy each folder you backed up to the '''exact''' same location that it was in when you made the backup.


Line 38: Line 40:


==See also==
==See also==
* [[IMAP_backup | IMAP backup]]
* [[Mail Utilities]] (has links to several other backup programs)
* [[Moving address books between profiles | Migrating and backing up address books]]
* [[Moving address books between profiles | Migrating and backing up address books]]
* [[Moving your profile folder]]
* [[Moving your profile folder]]
* [[Moving your mail storage location - Thunderbird]]
* [[Moving your mail storage location - Thunderbird]]
* [[Moving your mail storage location - SeaMonkey]]
* [[Recovering a missing profile]]
==External links==
* [http://support.mozilla.com/kb/Backing+up+your+information Backing up your information (Firefox Support)]
* [http://en.wikipedia.org/wiki/Areca_Backup Areca Backup] supports incremental, differential and delta backups. If you have a very large Thunderbird profile, this would help avoid backing up the same data repeatably (due to all of the messages for a folder being stored in the same  file).
* [https://addons.mozilla.org/en-us/thunderbird/addon/automatic-export/ Automatic Export] add-on automatically backups Lightning calendars.
[[Category:Profiles]]
[[Category:Profiles]]

Revision as of 12:55, 12 November 2018

The profile folder is a folder on your computer that stores your Mozilla application user data such as preference settings, passwords, extensions, themes, Firefox or SeaMonkey bookmarks, and Thunderbird or SeaMonkey mail. It's a good idea to periodically back up your profile to safeguard your data, in case something happens to your computer. Make sure to keep the backup not on the same disk (or even computer) as your profile folder, to avoid it being lost along with the profile in case of disk failure (or theft). This article describes how to back up your profile and restore it.

If you want to move your profile to a different place on your computer (or a different computer), see Moving your profile folder. It has different (and more complicated) instructions because it has to tell the application where the profile is stored. See Transferring data to a new profile if you're trying to recover data from a profile to reuse in another profile.

If you're migrating from Windows to Linux see this article instead.

Third party profile backup software

Recommended: If you're a Windows user and want a simple way to back up and restore profiles, it's recommended that you use the MozBackup program. MozBackup is a profile backup utility for Mozilla Suite, Firefox, and Thunderbird. This eliminates the need to find where your profile is stored, and it has options to back up just part of the profile. Its also a very convenient way to migrate a profile to another computer (or restore a profile on a reformatted boot disk).

While Mozbackup is extremely popular in the forums, it's no longer maintained. Its recommended that you verify that you can restore a backup it creates before relying upon it. Use Mozbackup 1.5.2 Beta 1 (there is a download link for it in the News section) rather than the version available at the normal download link. Mozbackup 1.5.1 usually works fine but a few users have had problems where it doesn't backup everything it is supposed to. The beta doesn't seem to have that problem.

If you're using Portable Thunderbird or Portable Firefox Mozbackup won't back up your profile because it expects to find it via the profiles.ini file, and one of the goals of portable applications is to avoid having to register and install the application on each PC. Portable Apps Suite (Base Edition) includes a PortableApps Backup utility. Toucan is a stand alone utility with more options, that lets you synchronize, back up and secure your data. It also supports command line arguments.

See this article for other alternatives, including automated online backup.

Manually back up the profile

If you are comfortable with copying files and folders you can manually back up your profile. This process can be as simple as copying a single directory to a backup location. Most of the work is in finding where the profile folder is stored.

It's a good idea to first get rid of any unnecessary files to reduce the size of your backup.

The simplest solution is to use Help -> Troubleshooting Information -> Open Folder to open your systems file manager at the current profile, and then copy/paste that directory somewhere safe. If your application doesn't support that menu command see Profile_folder or Finding the profile folder on Windows to find where your profiles are stored. The profile whose prefs.js file was modified most recently is probably the profile you normally use.

A more complete solution is:

  1. Completely exit or quit the application. Mozilla Suite and SeaMonkey 1.x users on Windows should also exit Mozilla Quick Launch if its enabled.
  2. Find the "Mozilla" (for Mozilla Suite/SeaMonkey 1.x), "SeaMonkey" (for SeaMonkey 2), "Firefox", or "Thunderbird" folder in the profile folder path that contains the registry.dat file or profiles.ini file and the "Profiles" folder (Windows and Mac) or <profile name> folder (Linux). See Profile folder - Firefox , Profile folder - Thunderbird and Profile folder - SeaMonkey for the location.
  3. Copy the "Mozilla" "SeaMonkey" "Firefox" or "Thunderbird" folder to the backup location. This will back up all profiles in the default location and the "registry.dat" or "profiles.ini" file that keeps track profiles.
  4. If you have created any profiles in a custom location, copy them to the backup location and make a note of the original location.
  5. Mail is stored by default within the profile. If you re-configured Thunderbird, Mozilla Suite or SeaMonkey to store an accounts messages outside of the profile, you need to also copy the "local directory" for that account. Look in Account settings to find the location of each account's local directory.

Manually restore the profile

To restore a profile backup:

  1. Close the application whose profile you're going to restore. If you're using Mozilla Suite or SeaMonkey 1.x you should also exit Mozilla Quick Launch if its enabled.
  2. Copy each folder you backed up to the exact same location that it was in when you made the backup.

Partial backup

In some situations you might want to manually back up or restore only certain files in the profile folder. See Transferring data to a new profile for a list of suggested files.

See also

External links