Pages: 1
RSS
How to save all settings when moving data directory?, I changed directories and the settings didn't transfer
 
I had to change the root directory where all my bat data was stored.  All i did was copy everything in the "emaildata" directory (where all my accounts and messages are stored) and put them in a new directory.  All the emails show up and all the accounts are there, but none of the settings and options transferred.  As in, even though all the accounts show in my list, none of the smpt/pop servers and account settings were transferred.  And none of the filters transferred or anything.  Is there a way to recover this or am i screwed?  I don't have the original directory anymore.

I also have a the bat's own backup available, but since then, I've received a couple of emails so the backup is now older than the new files, so I don't completely want to restore it.  I know what you're thinking...how did I get new messages when the settings weren't set?  Well, initially after transferring the files, a wizard popped up in the bat asking about overwriting some files or something.  i said no.  Then everything was working ok and the account settings looked to be fine.  I even received a couple of emails.

Then i don't quite remember what i did, but i think I was worried that I should have overwritten the files i said no to.  So I copied them over the existing files.  Now, all the account settings are gone.

Any advice is appreciated.
 
When you copy the entire mail directory to a different location, the account settings should be copied along with it as those files are stored there too.

Basically your mail directory has a subdirectory for every account and your account directories contain subdirectories for every folder.
For any common folders you're using you'll find directories in the mail directory.
The account settings, quick templates, filters, etc are stored as files in the account directories in files with the name account.* (varying extensions)
The messages are stored in the folder directories with the name messages.* (varying extensions, depending on your version and whether you're using OTFE)
Basically you want to restore the account.* files without restoring the messages.* files, unfortunately TB's internal restore isn't up to that. So you'll have to use a workaround.
Close TB
Copy your entire mail directory
Start TB
Restore your backup
Close TB
Rename your restored mail directory
Rename your copied mail directory to the original name
Copy all account.* files from the restored mail directory (and its subdirectories) to the matching location in the actual mail directory.
Start TB
Everything should be fine now
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Thanks!  That...almost...worked.  Everything came back to normal as far as the "look" goes.  unfortunately, the server information for all the accounts is still missing.  Is there no way to recover those?  It's a pain, but i guess i can reenter everything.

Wait...one of them just suddenly reappeared, but not the others.  i don't know what's happening.  it wasn't there one second, now it is.  But my other 5 accounts have the server info missing.
 
What version are you using? With what version did you make the backup?
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
I'm using 4.0.38

This is a disaster.  i just found out my address book is also gone.  i followed your instructions correctly (I think) but only one of my account information was restored.  it doesn't make sense...why would the backup also have missing account information?
 
OK, everything is back to normal.  i think i botched your directions a little.  Fortunately, i had yet another backup available on another drive.  Thanks!  FYI...to restore the address book i replaced the ini file.
Pages: 1