I plan to backup Outlook emails from desktop computers to NAS. The tool of choice is rsnapshot as I can install it on the old NAS (Synology DS 1010+). Rsnapshot uses rsync for its job. The classic Outlook (2016) saves messages in pst or ost files, which can grow to gigabytes when contain many email messages. The --append
rsync option can considerably speed up the backup process of large files. I am concerned if it is safe to backup pst and ost files using this option. Namely, after receiving or sending a new email Outlook probably appends these emails to corresponding pst or ost files. However, when one deletes an email, how is it managed in pst and ost files, i.e. is a part in the mid of a pst/ost file removed? If so, this would make the --append
option not-applicable.
So, my question states, is it safe to use the --append
option for backups of Outlook pst and ost files.
Related to this, Thunderbird saves emails to files (without extension) and besides them it writes some msf files which are much smaller than the former ones. Is it safe to use --append
rsync option to backup the large files without extension (which contain actual emails)?
No, and no.
PST and OST files, which are internally the same format, are indexed databases. Appending the new stuff on the end doesn't correctly update indices, and Outlook will also re-index and compact PST and OST files to save space when it finds sufficient messages have been deleted, or when it finds mild mailbox corruption, or when it feels like it.
By the same token, Thunderbird's msf files are indexes into the mailbox files, and while appending normally will work, Thunderbird will also compact and reindex files when it determines that sufficient space (in my case, 200MB) can be recovered by that process. That compaction step would invalidate the append mechanism.
Using the --append option with rsync for backing up Outlook PST and OST files can be problematic. Here’s why:
For Thunderbird, the situation is similar:
Recommended Approach
Instead of using --append, consider the following options: