Comment #9 on issue 25959 by mrosse...@chromium.org: Chrome history &  
thumbnails fill up timemachine
http://code.google.com/p/chromium/issues/detail?id=25959

Excluding an item from a TM backup is simplicity:

    bool success = CSBackupSetItemExcluded((CFURLRef)url, true, true) ==  
noErr;

Unfortunately, we must not just exclude the main database but also the  
associated '-journal' and any associated
'Index nnnn-nn' and their journal's, too.  Excluding the main database file  
is easy: just exclude it immediately after
opening.  The -journals are created by SQLite each time an outermost  
transaction is begun, which is somewhat
more complex.  And the Index files are created by SQLite when a view is  
indexed, which is even more 'interesting'.

Fortunately, the -journal and Index files are always created in the same  
directory as the main database.

The best approach, IMO, would be to put the History and Thumbnail database  
files into a 'History' sub-directory
and then mark the directory to be excluded from Time Machine.  This would,  
unfortunately, require a migration.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to