User data outside of Home directory
I'm wondering how to deal with programs that store their data outside of the user's home directory. In particular, I use 2 programs that are Openbase databases. The data files are stored at /Library/Openbase/Databases. If working in a Sandbox, wouldn't these files be on the original disk. rather than the Sandbox drive? So therefore, if one had to restore from Sandbox, then the database files would be overwritten.
Or, am I just mixed up? Thanks! |
An interesting case, Howard: I didn't know that Openbase stored its information here (as opposed to, say, the "Shared" folder under Users).
We'll make a change in the next version of the Safety Clone script, but for now here's what to do: * Create a new script (File | New Copy Script) * In the first tab, fill in the description (you can copy/paste the one from the base Safety Clone script) * In the second tab, include the Safety Clone script you want to use -- typically "Safety Clone - Shared Users and Applications" * In the third tab, add the following command: share Library/Openbase That will share the Openbase folder between the Safety Clone and the original. If you prefer, you could only share subfolders (like Databases), but I think it's probably best to share the whole thing, even though subsequent updates might updates parts of the application there... |
Would something similar apply for MySQL databases stored under the default /usr/local/mysql/data directory?
|
Yes. If you've got MySQL installed, you'd have to modify the Safety Clone script appropriately.
We try to cover every one of the 'user' cases in the default Safety Clone scripts. But it's not possible to know where more technical people will install variable items to... but it's easy enough for those users to make modifications to the scripts to cover their case. |
Quote:
Thanks for confirming the Safety Clone issue with MySQL, et.al. |
Sure? No. But we've seen a lot of systems, and most new-to-OSX people don't put files in the root... writable or not.
|
All times are GMT -4. The time now is 08:43 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.