Hi all - new to the list, loving TextMate so far.
Quick question that I cannot seem to find the answer to. After having customized all my snippets and such, what is the recommended backup procedure, so that I don't someday lose all my customizations?
Will backing up the TextMate app suffice? Will I need to write a script to exit the application before backup or is it possible to backup the bundles and all in-place with the app running? [normally I do not backup applications - just necessary prefs and such]
Just thought I'd ask.
At 14:23 Uhr -0500 25.05.2006, Chris Chapman wrote:
Quick question that I cannot seem to find the answer to. After having customized all my snippets and such, what is the recommended backup procedure, so that I don't someday lose all my customizations?
Will backing up the TextMate app suffice? Will I need to write a script to exit the application before backup or is it possible to backup the bundles and all in-place with the app running? [normally I do not backup applications - just necessary prefs and such]
TextMate saves some stuff at ~/Library/Application Support/TextMate/. But I don't know if this is all that you need to backup.
Regards, Tobias
The HD in my powerbook died a couple months ago. I restored my home directory with rsync and TM worked perfect.
While I'm typing, let me pass a small message to the list:
BACKUP BACKUP BACKUP DO IT NOW BACK IT ALL UP don't wait go buy a large external hard disk and use SuperDuper and just do it regardless of cost or convenience. Clone your entire HD and make it bootable so you can swap in the previous day's backup and keep on working.
I had been using Apple's rsync (with -E) to backup but learned during the last crash how inadequate that was. Anything that used plain text files (TM included) was fine, but much else was toasted. The RsyncX version is also flawed. The only tools I would recommend is /usr/sbin/ asr or SuperDuper!.
Here's an article I found helpful: http://blog.plasticsfuture.org/2006/03/05/the-state-of-backup-and- cloning-tools-under-mac-os-x/
Q
On Thu, 25 May 2006 21:53:41 +0200, Tobias Jung wrote:
TextMate saves some stuff at ~/Library/Application Support/TextMate/. But I don't know if this is all that you need to backup.
On 25/5/2006, at 21:23, Chris Chapman wrote:
Quick question that I cannot seem to find the answer to. After having customized all my snippets and such, what is the recommended backup procedure, so that I don't someday lose all my customizations?
5.2 Editing Default Bundles / Items
Some of the default items may not be to your exact liking, for example the coding style in snippets may differ from yours, so you may want other tab triggers, key equivalents, or similar modifications.
If you edit a default item, a copy will be stored in ~/Library/Application Support/TextMate/Bundles. This copy will take precedence over the default version even after upgrading TextMate. All new items you create also end up in this location.
So backup ~/Library/Application Support/TextMate and it includes all your custom stuff.
[...] Will I need to write a script to exit the application before backup or is it possible to backup the bundles and all in-place with the app running?
TextMate flush to disk when you close the bundle editor (or preferences window for themes). So it is not necessary to quit it to backup bundles.
General preferences can be found as ~/Library/Preferences/ com.macromates.textmate.plist -- here you do need to quit TextMate to ensure that changes done in the current session are flushed. The file does however only contain things of minor value.