Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Moving my Thunderbird profile to a different drive

  • 4 답장
  • 0 이 문제를 만남
  • 1 보기
  • 최종 답변자: christ1

more options

I'm running Win10 and Thunderbird 128.6.0esr. I wanted to move my profile from C: to a different drive (in my case, the D drive). I Googled and got lots of hits, both on the Thunderbird support site and elsewhere, that seemed to indicate to me that some users were seemingly having issues getting this task completed.

Also, looking around in my Windows "AppData" subdirectories, I noticed that there are actually two "profile" directories.

For example: C:\Users\xxx\AppData\Local\Thunderbird\Profiles\abcdefgh.default C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles\abcdefgh.default

Many of the instructions I found were dated from two years ago or more and only discussed moving one profile directory (the one in "Roaming") and I wondered if, in the interim, there's been an addition of a second profile directory that wasn't being addressed in the "old" instructions I was finding on the Web.

So instead of trying any of the suggested procedures I decided to try something else that seemed to be simpler and more straightforward to me. After performing the process I decided to try, testing seems to indicate it works just fine. However, I thought I'd leave this message to ask if there's some issue that can result by doing it as I did.

All I did was to create a new directory on my D drive to hold to two profile directories. Inside this new directory, I created two subdirectories called "AppData-Local" and "AppData-Roaming" to hold the two respective profile directories. With Thunderbird closed, I then copied the two original profile directories into their new respective directories on the D drive:

D:\Thunderbird Profiles\AppData-Local\abcdefgh.default D:\Thunderbird Profiles\AppData-Roaming\abcdefgh.default

Just to be safe, I then renamed the original profile directories under the "...\AppData\..." directory on C: so that if my idea went south, I could just restore the original configuration easily because they weren't deleted. So the original profile directories became...

C:\Users\xxx\AppData\Local\Thunderbird\Profiles\abcdefgh.default.delete_me C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles\abcdefgh.default.delete_me

All that was left was to open a Windows "cmd" console window (running as administrator) and create a symbolic link in each of the original directories on the C drive that point to the new locations of the directories on the D drive:

C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles>mklink /D "abcdefgh.default" "D:\Thunderbird Profiles\AppData-Roaming\abcdefgh.default"

C:\Users\xxx\AppData\Local\Thunderbird\Profiles>mklink /D "abcdefgh.default" "D:\Thunderbird Profiles\AppData-Local\abcdefgh.default"

(Note that I changed the "current directory" before running each "mklink" command to put the symlink in the right directory.)

Then, I started up Thunderbird and... it was as if nothing happened. Everything (old messages, settings, etc.) was still there exactly as before. So far, my limited testing seems to indicate that this process worked without a hitch. I even tried the Thunderbird "backup profile" feature and it created a zip file that seems to contain a subset of the contents of the "Roaming" profile directory, which I suspect is perhaps all that really needs to be saved in a profile backup? Right?

Just in case, I haven't deleted the original, but renamed, profile directories yet. I thought I'd post this message and see if anyone has a reason why moving the profile to a different drive by this symlink process is a "big mistake." Or even a "little mistake" for that matter.

I'm running Win10 and Thunderbird 128.6.0esr. I wanted to move my profile from C: to a different drive (in my case, the D drive). I Googled and got lots of hits, both on the Thunderbird support site and elsewhere, that seemed to indicate to me that some users were seemingly having issues getting this task completed. Also, looking around in my Windows "AppData" subdirectories, I noticed that there are actually two "profile" directories. For example: C:\Users\xxx\AppData\Local\Thunderbird\Profiles\abcdefgh.default C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles\abcdefgh.default Many of the instructions I found were dated from two years ago or more and only discussed moving one profile directory (the one in "Roaming") and I wondered if, in the interim, there's been an addition of a second profile directory that wasn't being addressed in the "old" instructions I was finding on the Web. So instead of trying any of the suggested procedures I decided to try something else that seemed to be simpler and more straightforward to me. After performing the process I decided to try, testing seems to indicate it works just fine. However, I thought I'd leave this message to ask if there's some issue that can result by doing it as I did. All I did was to create a new directory on my D drive to hold to two profile directories. Inside this new directory, I created two subdirectories called "AppData-Local" and "AppData-Roaming" to hold the two respective profile directories. With Thunderbird closed, I then copied the two original profile directories into their new respective directories on the D drive: D:\Thunderbird Profiles\AppData-Local\abcdefgh.default D:\Thunderbird Profiles\AppData-Roaming\abcdefgh.default Just to be safe, I then renamed the original profile directories under the "...\AppData\..." directory on C: so that if my idea went south, I could just restore the original configuration easily because they weren't deleted. So the original profile directories became... C:\Users\xxx\AppData\Local\Thunderbird\Profiles\abcdefgh.default.delete_me C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles\abcdefgh.default.delete_me All that was left was to open a Windows "cmd" console window (running as administrator) and create a symbolic link in each of the original directories on the C drive that point to the new locations of the directories on the D drive: C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles>mklink /D "abcdefgh.default" "D:\Thunderbird Profiles\AppData-Roaming\abcdefgh.default" C:\Users\xxx\AppData\Local\Thunderbird\Profiles>mklink /D "abcdefgh.default" "D:\Thunderbird Profiles\AppData-Local\abcdefgh.default" (Note that I changed the "current directory" before running each "mklink" command to put the symlink in the right directory.) Then, I started up Thunderbird and... it was as if nothing happened. Everything (old messages, settings, etc.) was still there exactly as before. So far, my limited testing seems to indicate that this process worked without a hitch. I even tried the Thunderbird "backup profile" feature and it created a zip file that seems to contain a subset of the contents of the "Roaming" profile directory, which I suspect is perhaps all that really needs to be saved in a profile backup? Right? Just in case, I haven't deleted the original, but renamed, profile directories yet. I thought I'd post this message and see if anyone has a reason why moving the profile to a different drive by this symlink process is a "big mistake." Or even a "little mistake" for that matter.

글쓴이 sbear45 수정일시

모든 댓글 (4)

more options

As long as it works, all is good. Here is another way: - exit thunderbird - copy profile to wherever desired - click windows key and 'r' key and press enter - enter thunderbird.exe -p and press enter - you are now in profile manager. click 'create profile', then click next, then enter shortcut name, then click 'choose' and then locate and select the profile and click finish (You can also do these steps after copying profile by clicking help>troubleshootinginformation, scroll down to 'profile folder', click 'about:profiles' and then click the above mentioned 'create profile' button and continue. - when done, you can remove the old profile at appdata\roaming\thunderbird\profile

도움이 되셨습니까?

more options

Thanks for your reply, David.

I've waited for a few days to see if any issues became apparent with the "symlink" procedure I've tried.

So far, there hasn't been any serious issues, but there's one issue that has occurred occasionally that doesn't seem to cause any real damage but it's enough of an annoyance that I'll probably switch to your suggested solution.

What I'm finding is that, since moving my profile using the "symlink" approach, performing an action in Thunderbird (like deleting a message, moving a message, etc.) will occasionally result in Tbird "losing" all the messages in the UI. All the message folders in Tbird's UI suddenly display as completely empty. The first time it happened, I thought it could have been a huge mistake trying the "symlink" idea and I'd corrupted my profile. But I exited TBird, restarted it and discovered that everything was restored in the UI. Even the operation I did (message deletion, move, etc.) when the UI seemed to "lose everything" had been successfully performed. It seems that after the operation the UI doesn't update successfully and creates a scary, but harmless, result.

This has only happened 2 or 3 times over the past few days. And each time it's happened everything was restored in the UI by just closing and restarting Tbird, but it's enough of an annoyance that I'll probably abandon using the symlinks. And since this seems to me to be an indication that using symlinks is somehow causing Tbird to act unstable or "flaky" leaves me concerned that something more consequential could occur in the future. So it's probably not worth it, given the annoyance and the existence of another technique that is regarded as safe.

Thanks again.

도움이 되셨습니까?

more options

I'm glad to assist. And all the official steps do is simplify for many what is really a simple process: - when thunderbird starts, it opens the text file, profiles.ini, at c:\users\<yourid>\appdata\roaming\thunderbird - that little text file has the location of the profile and thunderbird opens it. that's what the profile manager steps update that I listed. - it is also possible to just open that file in Notepad and make the necessary change to point to the profile.

도움이 되셨습니까?

more options
I thought I'd leave this message to ask if there's some issue that can result by doing it as I did.

I don't think so. By using the symlinks nothing changed for Thunderbird, and you did avoid the hassle having to tell Thunderbird about the new location of the profile.

I then copied the two original profile directories into their new respective directories on the D drive:

Typically the data underneath the AppData\Roaming folder is called the 'profile'. It contains all your settings, mail, address book, etc. This is what should be backed up on a regular basis.

The data underneath AppData\Local is primarily cache data, and doesn't need to be backed up. To avoid backing up the cache along with the profile it's deliberately located outside of the profile folder.

I even tried the Thunderbird "backup profile" feature and it created a zip file that seems to contain a subset of the contents of the "Roaming" profile directory, which I suspect is perhaps all that really needs to be saved in a profile backup?

Correct. Just make sure your backup program follows the symlink.

since moving my profile using the "symlink" approach, performing an action in Thunderbird (like deleting a message, moving a message, etc.) will occasionally result in Tbird "losing" all the messages in the UI.

I've seen a similar effect after automatic compacting has been triggered. Not sure what's causing it, but I'm pretty certain it has got nothing to do with your "symlink" approach.

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.