-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to RESTORE an incremental backup file #202
Comments
@Al-NN4ZZ |
@Al-NN4ZZ |
Hi Christopher, Thanks...Al |
@Al-NN4ZZ |
Christopher,
Please let me know if I've misstated the steps or what I'm missing. I can't understand how overwriting the 8GB backup with the smaller 300MB INCREMENTAL backup file will maintain all of the data since it is all stored in the profile. Thanks...Al |
Gentlemen, I, too, am looking for a simple backup\incremental\restore add-on for TB. Installed I\E\T-NG & started looking for instructions (OLD school). Was dissapointed so came here & found #187, the dialogue didn't help. Came here to #202 & after this dialogue, I have a Q - why is backup\incremental\restore an option in import\export\tools? I don't use import\export\tools, just want backup\incremental\restore, but had to install excess to get a simple function. Apparently, other people are in the same boat. Suggestion: simplify by creating a separate Backup\Incremental\Restore Tool-NG add-on. Why have a Swiss Army Knife when all I want to do is cut up some carrots? If I'm missing something, please school me, I love to learn. And to Al-NN4ZZ, I believe your item #11 question is valid. Ljohn (Christopher - thank you for your persistence) |
Hi @LjohnB72 , With that being said, I'd prefer to get the process for the current incremental restore figured out first. I'm back to doing full backup until it is. And I've also submitted an idea to create a pop-up reminder for when the backup is due. Issue #195 is the enhancement request and it would be very helpful for those of us that want to run regular backups. Christopher seems to be very busy so I don't expect a new add-on is in the short term. But again It is a good idea and I hope we do see it some day. Hopefully we'll hear from him about the restore process and his thoughts on a new AutomatedBackup add-on. ...Al |
@Al-NN4ZZ /all I will also comment more on the enhancement for automated schedule pop-up. shortly. |
@LjohnB72 |
@Al-NN4ZZ |
Hi Christopher, Here is the info on the screen capture tool I use. It is called HyperSnap and I've been using it for more than 15 years. Link here: It supports keyboard shortcuts and lets you customize them. There is also a "voice commands" feature. I'm still on an older version (V6.x) and the latest is V8.X. I should also note that the "help" information above is from the V6 version so there may be different details on the newer V8 versions. Thanks again and looking forward to hearing the results of your incremental backup tests. Please also let me know if my 14 step process from above is correct or what I'm missing. ...Al |
@Al-NN4ZZ
So I think the confusion/incorrect interpretation starts at step 10 where you look at the size of the bk and then have step 11 as a "file overwrite" implying the incremental small "file" overwrites the full bk. what actually happens is only the individual changed files replace the older ones. Here are a couple screenshots with descriptions. this first one is a partial example of the final changes doing a complete comparison with files/folders . I compared to complete backup trees that were done around ten minutes apart. I made no changes to anything. as you can see hundreds of files have changed, most of this is all cache or metadata. this shows just the main mail folder of a full bk before doing the incremental this next one shows the changed files (only mail) after receiving a single e-mail. you can see that there are just 3 files changed the actual mbox top-level file along with its index, and state file. these 3 files are complete so they now include all the e-mails not just the new one. so when you do an incremental overw you still have all the e-mails. same for all of the other data. I hope this clears things up, if not please let me know. Regarding adding restore like ability, unfortunately I do not think this is possible as it would require being able to intercept the startup to allow retrieving the bk files while TB is running. Christopher |
Christopher, I think I understand the process now. Here is an example:
Step 1 is to delete the contents (files, folders) of the active profile folder named syx1o14g.default-release Step 2 is to copy the contents (files, folders) of the FULL backup file to the active profile folder. Step 3 is to copy the contents (files, folders) of the incremental backup file over the existing content of the profile folder. This would only overwrite any items (files and folders) with an identical name and add any new items (file and folders) that did not exist. Please advise if this is the correct process. I'm going to do some tests over the next week to see if this works like I expect. Here is the name of my active profile: Here is the name of a BACKUP file: Thanks...Al P.S. I also now understand why the restore can not be done while TB is running. |
yes your set of steps above are correct |
Christopher, Thanks...Al Process to restore a corrupted Profile folder from the profile backups when the active file becomes corrupted. Notes: Steps to restore your Profile from your Full and Incremental backup files.1 - Locate your active Profile using the HELP/Troubleshooting option in Thunderbird. Click on "Profile Folder/Open Folder" which will bring up it up in Microsoft File Explorer. The folder name will be named syx1o14g.default-release or similar. 2 - Stop Thunderbird. This insures no changes will be made to the Profile during the next steps. 3 - Make a backup copy of the Active Profile Folder (suggest appending -Backup to the file name.). This is just in case you need to restore it. You can delete it later in step 9. 4 - Delete the CONTENTS of the Active Profile Folder but not the folder itself. 5 - Copy the CONTENTS from your FULL backup file to the Active Profile Folder. 6 - Copy the CONTENTS from your FIRST ( i.e. oldest) INCREMENTAL backup file to the Active Profile Folder. Matching files will be updated, new files added, pre-esxisting files will be maintained. 7 - Copy the CONTENTS from any subsequent INCREMENTAL backup files to the Active Profile Folder. Copy them in the order they were created. Matching files will be updated, new files added, pre-esxisting files will be maintained. 8 - Start Thunderbird and verify the contents were restored correctly and everything is working correctly. 9 - Delete the backup copy from step 3 once you are assured the profile has been restored. |
@Al-NN4ZZ |
Christopher, There is one more thing I'd like to run by you before I close this out. I would like to do a full backup every 2 weeks and then incremental backups every day between the full backups. I would need to remember to set the option to do the full, then set it back the next day to do the incremental and then after 2 weeks set it back to the full. And repeat. It is a lot to keep up with the manually. I have an enhancement idea that would automate the process. Here is a mockup of the OPTIONS/Backup Scheduling tab to illustrate the process. The change are highlighted in YELLOW. The idea is to automate the alternating of the full and incremental backups. Basically just set it up and forget it. If you think this is an idea that is feasible, I'll create a new issue to describe the request. Thanks...Al |
@Al-NN4ZZ |
Christopher, ...Al |
This issue was spun off of issue #187. There is an option to create FULL or INCREMENTAL backup files. The incremental backup files only contains the changes made to the profile and local storage since the last full backup.
Here is an example of the FULL backup and 2 INCREMENTAL backup files, note the files sizes. The FULL backup file is much larger than the incremental files as expected.
The Question is: How to RESTORE the data from the incremental files? In a previous issue ( #187) this was explored, however I don't believe the answer to just overwrite the profile is correct. See note below.
There must be a process to APPLY the incremental data to an EXISTING profile that was restored from a FULL backup.
Thanks...Al
The text was updated successfully, but these errors were encountered: