|
#1
|
|||
|
|||
how a safety clone works
I have only a dim understanding about how a safety clone works...I know that there are symbolic links between items on the SC and the original volume, but that's about it.
I'm running MySQL/PHP, and I'd like to upgrade the MySQL version. When I'm mucking around in the MySQL directiories, am I on the safety clone, or am I "symbolically linked" to the main volume? Put another way, will upgrading MySQL work the same way any other installing works, which is that I affect only the safety clone and then need to reinstall everything again on the main volume? What about the databases? Do they exist on the main volume and then are symbolically linked in the safety clone, or are there two copies, one on the safety clone and one on the main volume? |
#2
|
||||
|
||||
If you've got special folders that aren't shared by the default scripts, you need to customize the script to add those folders, if you want them to be shared.
In general, MySQL is not shared, so anything you do on the Safety Clone is going to stay there, including the database itself...
__________________
--Dave Nanian |
#3
|
|||
|
|||
OK, thanks. That explains why/how I lost some changes to a mysql database a while back when I upgraded OS versions...
Do you know whether it is possible to share the databases themselves WITHOUT sharing the MySQL installation? It would seem to be useful to be able to upgrade MySQL versions on the safety clone without affecting the main drive, just in case...but I see no reason to not share the databases themselves. Similar question for PHP...since PHP comes preinstalled on OS X, is that a shared directory so that when I upgraded PHP versions it affected a shared copy? Now that I think about it, when I installed PHP5 I think it created a new PHP5 directory, which, presumably, only exists on the safety clone. Am I correct? Another question...spotlight does not do a good job (in fact, ANY job) of locating files/folders inside the system....is there a way you know of to search for such folders so I can see what is there? Final question: If I'm in terminal, is there any way of knowing if I'm following a symbolic link when I navigate around the directory structure to see if I'm on the safety clone or the main drive? Thank you again for your help. |
#4
|
||||
|
||||
Yes, that's definitely why. And you can certainly share the databases without MySQL -- just find the folder where the data is, and share it.
Installing PHP would only happen on the Sandbox. We only share applications in /Applications, not the stuff that's considered to be part of "the system", and PHP is definitely part of that. There are a lot of Terminal-level tools to locate files, including "find". Not quite sure what you mean about symlinks, though -- you can check to see if a folder has symlinks in it with "ls -l" -- the link will show what the file is, and what it points to. But it doesn't work for aliases...
__________________
--Dave Nanian |
#5
|
|||
|
|||
Thanks...I thought symlinks was the way SD! worked its magic of sharing apps and files between volumes. Do I misunderstand?
|
#6
|
||||
|
||||
No, you're right. Just warning you that aliases won't show their targets the same way as symlinks.
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
using safety clone | nalsdixit | General | 1 | 10-23-2005 11:06 AM |
Safety Clone or Clone | na goodman | General | 3 | 08-10-2005 07:14 AM |
Upgrading a safety clone to tiger | 00afro | General | 12 | 07-09-2005 11:53 AM |
Safety clone usage | camner | General | 3 | 05-17-2005 12:03 AM |
Safety Clone fails to start up after shut down | macWish | General | 4 | 06-23-2004 05:29 PM |