Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Backup only local folders?

  • 27 件の返信
  • 0 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Graeme (UK)

more options

I would like create a back up of my local folders (26 years of emails) in the cloud. Reading questions posted here, the recommendation is to backup the complete 'Profiles' folder. However, when I try and do so, I am not successful because at some point the backup process glitches out. (I am trying to upload the folder to a Microsoft OneDrive folder and have tried on both my PC running Windows 7 Pro and a Macbook running OS Monterey.) I suspect that my internet connection is not stable enough to copy 30 GB (about the size of the 'Profiles' folder). Is there any alternative to backing up the complete 'Profiles' folder?

I would like create a back up of my local folders (26 years of emails) in the cloud. Reading questions posted here, the recommendation is to backup the complete 'Profiles' folder. However, when I try and do so, I am not successful because at some point the backup process glitches out. (I am trying to upload the folder to a Microsoft OneDrive folder and have tried on both my PC running Windows 7 Pro and a Macbook running OS Monterey.) I suspect that my internet connection is not stable enough to copy 30 GB (about the size of the 'Profiles' folder). Is there any alternative to backing up the complete 'Profiles' folder?

選ばれた解決策

If you're trying to upload a 30GB profile, it's probably going to be constrained by the daily upload limit imposed by the cloud provider. I would suggest uploading folders one at a time: Help/More Troubleshooting, Profile Folder, Open Folder (Show in Finder on Mac). Close TB and open the Mail/Local Folders subfolder. Each mail folder is represented by an mbox file, a file with no extension and named after the folder, e.g. Archive2021. Look also in sbd (subdirectory folders) for mbox files and upload them as needed to stay within upload quotas. Restoring an mbox is just a matter of copying it into Mail/Local Folders on any TB profile.

You might also consider simply copying the entire Mail/Local Folders to a USB flash drive (~ $5 for a 32GB drive).

この回答をすべて読む 👍 0

すべての返信 (20)

more options

Short-term, I suggest exporting the messages via importexport addon into smaller chunks that can then be uploaded. Long-term, to allow backing up the profile, I suggest putting the accounts on a separate drive or separate folder. You can achieve that by exiting Thunderbird, copying the account from the Imapmail or Mail folder to a new location, restart Thunderbird, change the account location to wherever you copied it, then you can delete the account from within profile.

more options

選ばれた解決策

If you're trying to upload a 30GB profile, it's probably going to be constrained by the daily upload limit imposed by the cloud provider. I would suggest uploading folders one at a time: Help/More Troubleshooting, Profile Folder, Open Folder (Show in Finder on Mac). Close TB and open the Mail/Local Folders subfolder. Each mail folder is represented by an mbox file, a file with no extension and named after the folder, e.g. Archive2021. Look also in sbd (subdirectory folders) for mbox files and upload them as needed to stay within upload quotas. Restoring an mbox is just a matter of copying it into Mail/Local Folders on any TB profile.

You might also consider simply copying the entire Mail/Local Folders to a USB flash drive (~ $5 for a 32GB drive).

more options

@david - I like your idea about using the import/export addon. That something I do know how to do. However, I don't understand what this would accomplish:

Long-term, to allow backing up the profile, I suggest putting the accounts on a separate drive or separate folder. You can achieve that by exiting Thunderbird, copying the account from the Imapmail or Mail folder to a new location, restart Thunderbird, change the account location to wherever you copied it, then you can delete the account from within profile.

more options

Doing that would separate the core profile (settings, addressbook) from the accounts, letting you backup the profile easily, separate from the email message folders.

more options

@sfhowes: Thanks for your suggestions. However, I'm not sure I understand. I have located the mbox files that you refer to in your post. They are located under "Mail/Local Folders" in two different folders: "Deleted History.sbd" and "Sent History.sbd". You wrote: Look also in sbd (subdirectory folders) for mbox files and upload them as needed to stay within upload quotas", which made me think that there are mbox files in other places. But I only see them under Mail/Local folder/Deleted History.sbd and Mail/Local folder/Sent History.sbd. I have attached screenshots of all files and folders under "Mail/Local Folders". Please clarify.

Thanks for your help.

more options

In Deleted History.sbd you see (large) files like 1997-2003 and 2007. Those are mbox files, and it turns out all the folders with content are in subdirectories of LF, i.e. they are subfolders of subfolders of LF, instead of subfolders of LF.

more options

@sfhowes: Okay, I think I got it. So, I just copy each of those mbox files to the cloud and nothing else?

more options

Yes, copy just the mbox files. As a test, close TB, copy an mbox to another folder, rename it e.g. Copy of..., then copy it back to Mail/Local Folders. Restart TB and you should see the folder under Local Folders.

more options

@sfhowes. Thank you. I will try that.

more options

@sfhowes: I tried it and it worked! Thanks for the suggestion. Just one more question. When I downloaded the renamed mbox file from OneDrive, it downloaded 3 files. I have attached a screenshot of the downloaded files. Can I assume the last two are not needed?

more options

I think you can ignore the files with zero size, as long as the size of the downloaded mbox is the same as the original. Consider adding mbox files to a zip or rar archive before uploading, to save uploading time and OneDrive storage; since mbox are text files, the compression savings are significant.

more options

@sfhowes: Yes, they were the same size so I will ignore the other two. Zipping the files before uploading is a good idea. Thanks for the tip and your prompt responses.

more options

Okay, I finally got around to trying this. I have uploaded all the mbox files under my "Sent History" to the cloud (on OneDrive). Then, I tried to copy one of them into the following location:

C:\Users\(username)\AppData\Roaming\Thunderbird\Profiles\6r6w8bqh.default-release\Mail\Local Folders\Sent History

I have attached a copy of the files in "Local Folders" as well as the above folder.

However, when I open TB, it shows a folder named "Sent History" but there's nothing in it.  :-( What am I doing wrong?

more options

Copy the mbox 1997-2002 into ....\Mail\Local Folders, if 6r6w8bqh.default-release is the active profile, then restart TB.

more options

Will try that. Thanks.

more options

Okay, that worked. Now, is there any way to create a folder called "Sent History" and have mbox 1997-2002 as a subfolder in that folder?

more options

I tried clicking it and dragging it into "Sent History" and it now shows it as a subfolder but when I click on 1997-2002, it appears to be blank.

more options

Instead of moving the folder, I would create a subfolder of Sent History named 1997-2002, then select all the messages in the original 1997-2002 and drag and drop them onto the subfolder. Confirm the move then delete the original.

more options

Will try that. Thanks for your help.

more options

I did as you suggested by creating a subfolder of Sent History named 1997-2002 and then tried to move all the emails (about 9400 of them!) from the original folder to that folder. I get the attached message. After doing as directed in the error message, I tried again and got the same message. I tried to move just one email from the original folder to the new subfolder. Although I did not get an error message, there's nothing in the new subfolder. Any ideas?

  1. 1
  2. 2