Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: How to run Carbon Copy Cloner Apps
Tiger only hintTiger seems to have broken Carbon Copy Cloner (CCC) 2.3 because of some authentication issue. The immediate fix was to run it is root, but that brings its own dangers. I combined the method suggested by two forum threads at the Bombich.com forums in order to fix a problem some people had with the text:
  1. In the Finder, open the window of the folder where you keep CCC.
  2. Launch Terminal (in /Applications/Utilities).
  3. Type bash --noprofile and press Return.
  4. Type sudo open, and then press the Space Bar.
  5. Drag CCC into the Terminal window from the Finder -- that will complete the line with the full path.
  6. Hit Return and, at the prompt, enter your admin password -- your typing will not show. Hit Return after typing your password.
I hope this helps.
    •    
  • Currently 2.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[46,589 views]  

10.4: How to run Carbon Copy Cloner | 20 comments | Create New Account
Click here to return to the '10.4: How to run Carbon Copy Cloner' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: How to run Carbon Copy Cloner
Authored by: rotaiv on Jun 17, '05 10:52:21AM
This method does not work for me - Carbon Copy Cloner is still pruning as my local user ID. I get an error message saying, "You must be root to perform this operation". I was able to verify this by using ps -auwxx | grep Cloner from the terminal prompt and it shows the process running as my User ID.

What has worked for me is using "Psuedo" from http://personalpages.tds.net/~brian_hill/pseudo.html. I have been able to successfully clone my local hard drive to my FW drive using Mac OS X 10.4.1.

[ Reply to This | # ]

10.4: How to run Carbon Copy Cloner
Authored by: john7jr on Jun 17, '05 11:29:18AM
The best way is to do it is just use Pseudo. Launch the app, drag CCC on it and away you go as if it never broke to begin with. =)

[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: atshoom on Jun 17, '05 11:30:25AM

another way to do the same is to log a session as root to use CCC



[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: rpaul on Jun 17, '05 12:17:21PM
An alternative method for a straight clone is to use 'asr' from the command line. e.g.:
    sudo asr -source / -target /Volumes/firewireBU -erase
where the target path is to a mounted backup partition.

The -erase flag will bless the copy (so that you can boot from it) but obviously erase the previous contents of the backup partition.

Use with caution and check out the man pages for use of asr.

Personally I'm looking forward to CCC being updated soon.

[ Reply to This | # ]

Disk Utility is potentially faster
Authored by: Froderick on Jun 20, '05 12:20:37PM

Actually, Disk Utility has a built-in block-level copy cloner that my tests have shown to be faster and more efficient than CCC.

Running CCC, in my lab-cloning experience, effectively prohibits multitasking on the machine in question (although making any changes to the filesystem during cloning is highly suspect in general). It sucks up MASSIVE system resources and more or less removes the interactive interface. I can barely move the program window around because it takes so long to register keyboard/mouse input.

Disk Utility in Panther or greater has this built in feature, in the "Restore" tab. Select any drive in the list (I don't think it actually matters), then drag a drive or disk image (I haven't gotten it to work properly the way I wanted with disk images, but for pure CCC replacements, a disk-disk transfer is easiest) into the Source Field, your destination disk into the Destination field (surprise!), check the "Erase Destination" box (otherwise it won't use block-level copying), skip the cheksum if you want (though not recommended for the first few clones or any critical data/operation), and click the "Restore" button.

This is preferable to me because it works out of the box without needing any network connections or separate devices to transfer CCC over. Every Apple computer will come with this, so I don't need to take one machine out of a new shipment, set it up first the way I want, and then do a transfer; I can take a pocket Firewire drive and hook it up directly and begin copying and transferring immediately with little to no lag time. From there I can start daisy-chaining.

---
--
Nick McSpadden
W00t?



[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: nofxosx on Jun 17, '05 12:32:48PM

I created a small applescript:

[code]
tell application "Terminal"
do script "sudo open /Applications/Carbon*.app /"
end tell
[/code]

Is gonna ask for your admin password then launch CCC.

then in the terminal.app preferences there is an option in there to tell the terminal to close the window if all processes are exited cleanly that way the terminal window goes away after it processes fine.

Then I did an automator app (named run-ccc) and invoke it on spotlight.



[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: Nonsanity on Oct 29, '05 12:42:43PM
I modified this Applescript to get rid of the last of the errors.

tell application "Terminal"
     do script "sudo 'DRAG-TO-HERE' &"
end tell
Don't type the DRAG-TO-HERE, instead right-click (control-click) the CCCloner app in Finder and choose "Show Package Contents". Open "Contents" then "MacOS". Now drag the "Carbon Copy Cloner" file with the "exec" icon into the script. It should paste a long pathname there.

Make sure it is inside single quotes as it will have spaces in it. Finish that line off with an ampersand and a closing quote, and you should be good to go.

I saved it as an Applescript app called "Run As Root" and put it in the CCCloner's folder. You'll have to type in your password into the Terminal window that pops up, but once the program starts running you can quit Terminal.

[ Reply to This | # ]

10.4: How to run Carbon Copy Cloner
Authored by: mm2270 on Jun 17, '05 12:33:28PM

I like CCC, but I stopped using it in favor of SuperDuper!
http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html
It works under Tiger just fine, and offers some additional features. It also feels a bit faster, though that might be just in my head. I ended up paying the reasonable $20 shareware fee for the extra features, such as the 'smart update' clone, which only copies changed files over to an existing system, and it really works!



[ Reply to This | # ]
Superduper is too complicated.
Authored by: PopMcGee on Jun 17, '05 04:09:33PM

After hearing good things, I tried out Superduper: It has 4 main modes of operation, but none of the 4 actually sounds like "safely copy my whole drive":

The 4 modes are:
- Backup user files: obviously not, I want to backup not only user files
- Backup all files: sound good, but...
- Safety clone shared users and apps: Hey, the last entry is not so good after all, I need backup AND safety! But I want to not only copy users + apps, I want to copy everything.
- Safety clone - shared users: Even less than the previous point.

So - no option that copies everything, right? :-( I'll stick with CCC, thank you.



[ Reply to This | # ]
Superduper is too complicated.
Authored by: wheeles on Jun 18, '05 02:18:21AM
Sounds like you didn't RTFM. You seem to want the backup all files option.

The safety clone thing is obviously causing a little confusion. I'll quote the bit about safety clones from the manual, given that you didn't read it.

A Safety Clone is a bootable copy of your system, stored on another hard drive or partition, that shares your personal documents and data with the original. In the past, you might have stored this copy away in a drawer as a backup. With SuperDuper, you actually use the Safety Clone as your startup volume.

You can safely install any system updates, drivers or programs on the Safety Clone, without worrying about what might happen to your system. If anything goes wrong, you can simply start up from the original system. SuperDuper has preserved it in its original, pre-disaster state – but all your new and changed personal documents are totally up to date. Within minutes, you're up and running again – without having to go through a difficult and time-consuming restore process.

Of course, the original volume, being a "checkpoint", doesn't have any of the programs or system updates that you might have installed since you made the copy. That's a good thing, since they're probably what caused the problem in the first place!

Safety Clones are different than (and don't substitute for) a rigorous regular backup program. While backup programs excel at recovering specific files, and are great for archiving incremental changes to a set of documents, they're less useful when you don't know what's wrong, and therefore don't know what to restore! Restoring the entire system can take a long time, and it's difficult to restore a running system without going through the "disaster recovery" process... and that can take hours. With the Safety Clone, you only need to reboot!


[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: fud on Jun 17, '05 08:18:48PM

Since CCC has been broken with 10.4, I have used SuperDuper "Backup all files" free mode a couple times. It's worked great. Good doumentation, straight forward to use. I haven't missed CCC, to the point I will probably buy SuperDuper. I always do full backups, then boot form the backup, make sure things work on the backup, and run Diskwarrior from the backup on the original drive. I've had CCC not compete a backup on a rare ocassion anyway.



[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: baltwo on Jun 18, '05 01:00:36AM
We (the Bombich forum moderators) posted this AppleScriptStudio authentication workaround over a month ago at
    http://forums.bombich.com/viewtopic.php?t=5264
This hint isn't anything new. The described procedures there are pretty straight forward. Launch Terminal type in sudo open, drag the CCC app into the Terminal window, and enter the admin user password. When CCC pops up, click on the lock, enter the same password, and, when the error message "You must be root to perform this operation" pops up, click on the ignore button. CCC works normally. For anyone, please post your problem, configuration, etc. at the CCC Troubleshooting forum and maybe we can figure out why it isn't working.

[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: Ubaduba on Jun 17, '05 02:37:52PM

I found another way to clone a Tiger system yesterday. My Powerbook harddrive is failing and to clone it, I started it in Firewire mode connected to an iMac with Panther. Then I connected an external harddrive to the iMac. I could then clone the Tiger system using CCC in the Panther system. The clone took longer than normal but works well so far. This obviously requires a second computer with Panther on it and at least two Firewire ports.



[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: pmbuko on Jun 17, '05 03:42:40PM

Can't NetRestore Helper (which is compatible with Tiger) do everything CCC does?



[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: thelamecamel on Jun 18, '05 10:38:19AM
I believe the command should be:
 sudo /Applications/CarbonCopyCloner.app/Contents/MacOS/CarbonCopyCloner 
or something like that (i don't have the program to test with). This worked for me with System Preferences.app, and (hopefully) has just set my (root owned) login window to the Dvorak keyboard layout...

[ Reply to This | # ]
10.4: How to run Carbon Copy Cloner
Authored by: bdog on Jun 18, '05 09:15:44PM

I've always ran CCC as root, just because...

Actually, what I read was that CCC has a problem with the Target volume and SpotLight. You need to add the target to the list in System Prefs>Spotlight>Privacy



[ Reply to This | # ]
10.4: run Carbon Copy Cloner - this method cannot work
Authored by: fact0r on Jun 25, '05 04:20:40AM

This cannot work (unless you login to the Mac as root as standard practice). The way "open" works:

The Terminal command "open" launches an Application by calling "Launch Services". "Launch Services" launches the application using the security context of the currently active window manager.

That is - "open" always launches an Application as the user currently "Logged In" to the Mac.

This is a major limitation when compared to both Windows and Linux.

If Carbon Copy Cloner doesn't get upgraded for 10.4 soon I will write my own clone tool (that uses identical system commands to get the job done). Should take me less than 6 hours starting from scratch. Carbon Copy Cloner has been a fantastic tool - it is hugely inconvenient not to be able to clone the currently active volume at the moment.



[ Reply to This | # ]
custom backup script?
Authored by: sjk on Oct 29, '05 04:16:31PM

So, did you spend six hours writing that custom backup script? Spending $20 for SuperDuper! has been worth well more than the time it would have taken me to write and maintain a custom "clone backup" utility.



[ Reply to This | # ]
10.4: run Carbon Copy Cloner - this method cannot work
Authored by: Anonymous on Jan 04, '07 03:20:55PM
Comment on "running as root"...
Authored by: resuna on Jun 04, '06 10:59:48AM

Whether you use "pseudo", "sudo", or any other mechanism to "su", or log in as root, the result is the same... you are running Carbon Copy Cloner as root. There's no difference in your privileges and the risks involved.

A lot of people seem to be confused about the Mac OS X adimistrator account privileges. The thing that makes it an administrator account is that it's in the right group to sudo to root, so Apple's variant sudo that's called whenever that "administrator password" dialog comes up will work.

There's code in other applications that looks at this group as well, but that's all at the application level. As far as OS-level privileges are concerned, the administrative user is just a normal user.



[ Reply to This | # ]