image
image

|


Go Back   macosx.com > Content & Information > Apple News, Rumors & Discussion

Reply
 
Thread Tools
  #1  
Old December 11th, 2001, 12:02 PM
Registered User
 
Join Date: Dec 2001
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Andy Hughes is on a distinguished road
Wink OS 10.1 - how to back up system and files?

I have a 20 GB hard drive that has my 10.1 system and files, and a 60 GB drive I can back up to. I have my files in the normal folder locations (applications, docs, etc.). How can I back up my whole main disk to my backup drive such that if my main disk ever crashed I could get things back? I am willing to run a script from the command line, or drag the files to the second drive, but I am concerned about restoring things if the drag and copy doesn't keep the unix files in their correct form. I'd also consider a commercial package to do this, but I assumed unix users have had to do this for a long time. Simple, step by step set of instructions would be great, or a URL where this is explained. I think this would be of great use to other OS X users now that disk space is relatively inexpensive. I am willing to some loss of data if I don't do the backup regularly myself, or if a cron job could do this it would be nice.

Ideally, I would have a script named "backitup" that I or a cron job would run it, and I would just have to get that script and modify it to give some volume name of my second hard drive. Then if I ever lost my main disk to a crash, I could reformat it with a OS X CD or get a new drive, and run a "reinstallit" script from the second drive that would put things back as the were at the last backup.

Show me the power!

Andy Hughes
(long time unix and mac user... never been root...'til now)
Reply With Quote
  #2  
Old December 11th, 2001, 04:18 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
Well...

ATTENTION: Read all of this before doing a backup job in this manner.

You could just do a simple command line copy over, since command line copies copy invisible contents as well, I believe.

Mount your 60 GB drive, and just do a cp, by using the format:

"cp directorytocopy targetdir"

where "directorytocopy" is the path to the directory you want to copy over, and "targetdir" is the path to the folder where you want the contents to go on your 60 gig hard drive.

USE EXTREME CAUTION, though:

DO NOT do a "cp / /Volumes/60gigharddrive", because, for obvious reasons, this will be an infinitely looping copy, since /Volumes/60gigharddrive IS on /, so it will copy all contents onto the backup again, but then it has to copy THOSE again, and so on and so forth.

Because of the way UNIX works, volumes are mounted in the /Volumes directory, but the partition/hard drive you are currently running off of is the root folder, or / . An example:

I have 2 partitions, and an iPod. I run OS X off of C3P0, and OS 9 off of HAL 9000. When running OS X, / will be all the contents of C3P0, and all the contents of HAL 9000 will be in /Volumes/HAL 9000/ . When I connect my iPod, it appears in /Volumes/simmy's iPod/. This is inherent to UNIX.

My reason for telling you all of this is that you REALLY don't want to copy the contents of /Volumes, so you'll have to do a manual copy of everything else, which might be like 50 copy commands, since there are some invisible files that you will need to copy from the root folder (use the command "ls -a" to see all invisible files -- "." is the current folder and ".." is an alias to the previous folder, so those you don't need to worry about).

Another thing: the cp command only copies the data fork, I believe. So you'll actually have to use the "cpmac" command. To use this, you must have the latest Developer Tools installed. If you have the 10.1 Developer Tools CD, you can install it from there -- if not, you can download them for free (with free ADC member activation) from http://connect.apple.com/ .

You might want to do some tests with cpmac, as I really haven't been using it all that much.

If anyone has any more info about backing up in the manner I have described, I would be really interested in how effective this is.

I think there are still some problems with the OS so that Dantz has been unable to release Retrospect X. But 10.1 is a big improvement, and hopefully 10.1.1 has fixed these problems. So I really don't know of any commercial backup software that will work with OS X.

UPDATE: One thing I forgot to say is that there may be special characters in some of your file names or folder names in the root folder. One of them is the space character. To get around this, you can just drag the folder from the Finder onto the Terminal window, and the path to that folder will automatically be added to that window, complete with all the little things needed to make sure that spaces and other special characters get interpreted as part of the filename.

I hope I made myself clear on all of this -- if not, just reply back.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
  #3  
Old December 11th, 2001, 10:34 PM
GadgetLover's Avatar
Senior Member & Tech Guru
 
Join Date: Sep 2001
Location: Planet Earth (last I checked).
Posts: 413
Thanks: 0
Thanked 0 Times in 0 Posts
GadgetLover is on a distinguished road
too complicated

I have a solution that does not take as long to explain (even though that is a thorough and workable UNIX-esq solution) ...

Step 1) Reboot under OS 9 with little/no extensions for simplicity and safety.

Step 2) Run Disk Copy 6.4 (v. 6.3 does not seem to have this feature). Select "Clone" option from menu.

Step 3) Chose SOURCE volume when prompted (must be smaller than destination volume by atleast 10MB for safety).

Step 4) Chose DESTINATION/TARGET volume when prompted.

Step 5) Click "Begin", "Clone", or whatever button.

... relax and wait ... (and wait cuz it'll copy your WHOLE drive including invisible files -- resulting in an IDENTICAL drive (with extra space left over) that can even be booted up from!)

Last edited by GadgetLover; December 12th, 2001 at 04:16 PM.
Reply With Quote
  #4  
Old December 11th, 2001, 10:45 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
Well, fine

While that sure sounds like an elegant solution, I have yet to see Apple release DiskCopy 6.4. Until then, I stand by my original UNIX-esque backup solution as the best one so far, even though it is complicated.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown

Last edited by simX; December 12th, 2001 at 07:35 PM.
Reply With Quote
  #5  
Old December 12th, 2001, 02:41 AM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
WHOA, there.

Apple has failed to deliver the December developer tools, as far as I can tell -- at least to people with free membership on the Apple Developer Connection. At http://connect.apple.com/, under the "Mac OS X" section of the Downloads, the latest release is October 2001. I have reloaded the page, and it still says October. I have been anticipating this download ALSO because it has AppleScript Studio which sounds awesome. But alas, they are not there. And in the October 2001 developer tools, there is no such DiskCopy 6.4. I wish there was.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown

Last edited by simX; December 12th, 2001 at 07:37 PM.
Reply With Quote
  #6  
Old December 12th, 2001, 09:15 AM
lonny's Avatar
Fearless Thinker
 
Join Date: Oct 2001
Location: Italy
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
lonny is on a distinguished road
Talking oooooohhhhhhhhhhhh!!!!!!!

I love happy endings!
Reply With Quote
  #7  
Old December 12th, 2001, 09:46 AM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
Um...

I STILL can't seem to find it. I actually have downloaded the disk image before, and insntalled those developer tools, but Disk Copy 6.4 still hasn't been installed, and it doesn't seem to be on the disk image. Are you SURE it is there?
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
  #8  
Old December 12th, 2001, 01:29 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
Hmm...

I just redownloaded the October developer tools and am installing them now. I will tell you if I find it, but I am kind of doubting it because I did install them before, and Disk Copy 6.4 hasn't shown up. I'm not so dumb that I can't do a simple Sherlock search for Disk Copy to find it.

I'll tell you if I find it in these Developer tools. About the Developer Tools CD, did Disk Copy 6.4 come on the Mac OS X 10.0 Developer Tools CD, cause that's what I have... I bought OS X as soon as it came out. I remember installing those, too, but I have never seen a Disk Copy 6.4.

Watch for my update to this post.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Authoritative Partitioning Discussion mr. k Mac OS X System & Mac Software 13 November 11th, 2003 06:26 PM
The thrill is gone karavite Apple News, Rumors & Discussion 50 August 26th, 2003 04:02 AM
need help backing up my os X 10.1 system disks Rocksteady Mac OS X System & Mac Software 2 June 28th, 2003 02:58 PM
Help! Accidentally deleted vital system files! adambyte Mac OS X System & Mac Software 9 April 22nd, 2002 09:41 PM
System crash due to FW HD in 10.1 Kinniken Mac OS X System & Mac Software 0 October 22nd, 2001 01:10 PM


All times are GMT -5. The time now is 11:32 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.