CED Help Desk
412-D Poe Hall
CED_Help@ncsu.edu
515-1760
College
of Education
NCSU
last updated
8/23/2006
|
|
About
Back Ups
Backup -- (v) To copy files to a
second
medium (a disk or tape) as a precaution
in case the first medium fails. One of the cardinal rules in using
computers is Back up your
files
regularly.
|
There are two kinds of
people in the world:
those who have lost
data to a hardware failure, and those who will. Given the number of
backup
solutions available for Mac OS X -- iBackup, Psyncx, iMSafe, Rsyncx, Folder
Synchronizer X, Tri-BACKUP, Impression, Intego Personal
Backup, SilverKeeper,
and
Apple's dotMac Backup utility, to name just a few --
there's really no excuse not to backup your work. (Go to VersionTracker or MacUpdate and search on "backup"
to find even more freeware and shareware backup utilities to choose
from.)
Folks who have large multimedia collections
(MP3s, image collections, iMovie projects, etc) should explore backing
up these
files to a local high capacity storage device, like DVD-R, Firewire
drive or iPod. But for those of us whose work
consists mainly of office documents and
web pages, another option is available: backing your files up to your
Home folder on the college's file server, CED3.
When backing up to a
server,
the trick lays in knowing what
you should backup.
Applications and system software can be re-installed from CD after
a disk crash, and music files can be 're-ripped.' Only the truly
irreplaceable
files -- your documents, bookmarks, etc -- should be backed up to a
network
server. Also, backing up your
files is much simpler when you keep them all in one or two central
locations, like the Documents folder and your Desktop, rather than
letting them scatter throughout every directory on your computer.
Although this document demonstrates
how to
back your work up to CED3 using the utility SynkX, you can use any backup app
that you like -- the concepts are the same. Synk was chosen for the
demonstration because: 1) it's free, and 2) its use of "Run Documents"
gives you a lot of control in precisely specifying which directories
you wish to backup. Although there appear
to be a lot of steps in initially configuring Synk, the procedure is
fairly easy and only takes a few minutes.
Please note that because of how CED3 "talks Mac," your file and folder
names will need to abide by certain guidelines
for them to backup to the server properly.
Preparations
Before
performing your
first
backup, you will need to do the following:
- If you've never logged in to the CED3 server
from a Mac before, you will need to send in a request to have an NFA
password created for your CED account.
- Look through your hard drive and make sure
all your
documents are located either in your Documents folder (located at
Macintosh HD\Users\yourloginname\Documents)
or on your desktop.
- (Optional) If you want to avoid backing up
your browser
cache files (which can slow down the backup process) create a
folder on
the root of your hard drive called InternetCache.
Then launch your web
browser(s), empty the cache and repoint the cache to the new InternetCache
folder.
- Internet Explorer
- Under the Explorer
menu, select Preferences
- In the preferences window, select Advanced under the Web Browser settings
- Click Empty
Now
- Click Change
Location... and browse to your new InternetCache folder
- Netscape/Mozilla
- Under the Mozilla
menu, select Preferences
- In the preferences window, select Cache under the Advanced settings
- Click Clear
Cache
- Click Choose
Folder...
and browse to your new InternetCache folder
- Safari
- Go to Macintosh HD\Users\yourloginname\Library\Caches and
drag the Safari folder to your new InternetCache folder
- Create an alias of the Safari folder
back in its
original location by holding down Option + Command (the Apple key) and
dragging the Safari folder into Caches
- Connect to CED3. After entering your name
and password,
click Options. Select the option Add
Password to Keychain (this will allow Synk to log in to CED3 by
itself) and de-select the option Allow
Clear Text Password. Then click Save
Preferences and finish connecting.
Synk
Instructions
Create a backup
location in your
CED3 Home space:
- Log in to CED3
and
open
your Home folder. Create a
folder called Backups, and
inside
backups create three more folders, called Docs, Prefs, and DesktopStuff.
Setup Synk to
backup your
Documents folder
- Download
a copy
of Synk,
and put it in your Applications
folder.
- Launch Synk.
Upon
launch, it should automatically open an untitled
document; if it doesn't, select New
Document from the File
menu.
- In the Folders
tab
of
the Synk document, select Backup
from the
pull-down menu.
- On your computer, go to Home
(the icon in the Finder navigation
bar that looks like a house) and drag your Documents folder onto the
top Undefined Folder on the
Synk document. It should now say Documents
and display the path to your local Documents folder.
- Drag the Docs
folder in
your CED Backups folder onto
the lower Undefined Folder on
the
Synk document. Again, the name and path should
change. (Example)
- Click on the Settings
tab of the untitled Synk document. Check the box labeled Remove items no longer in source. (Example)
- Go to the File
menu and
select Save As .... Name the
document BackupDocs and save
it to
your local Documents folder. Close the
document when you're done.
Setup Synk to
backup your
Preferences folder
- Go to the File
menu and
select New Document.
- In the Folders
tab
of
the Synk document, select Backup
from the
pull-down menu.
- On your computer, go to Home
(the icon in the Finder navigation
bar that
looks like a house). Open the Library
folder and drag the Preferences
folder onto the top Undefined Folder
on the
Synk document. It should now say Preferences
and
display the path to your local preferences folder.
- Drag the Prefs
folder in
your CED Backups folder onto
the lower Undefined Folder on
the
Synk document. Again, the name and path should
change.
- Click on the Settings
tab of the untitled Synk document. Check the box labeled Remove items no longer in source.
- Go to the File
menu and
select Save As .... Name the
document BackupPrefs and save
it to
your local Documents folder. Close the
document when you're done.
Setup Synk to
backup your Desktop
items
- Go to the File
menu and
select New Document.
- In the Folders
tab
of
the Synk document, select Backup
from the
pull-down menu.
- On your computer, go to Home
(the icon in the Finder navigation
bar that
looks like a house). Drag the Desktop
folder onto the top Undefined Folder
on the
Synk document. It should now say Desktop
and
display the path to your local preferences folder.
- Drag the DesktopStuff
folder in your CED Backups
folder onto the
lower Undefined Folder on the
Synk document. Again, the name and path should
change.
- Click on the Settings
tab of the untitled Synk document. Check the box labeled Remove items no longer in source.
- Go to the File
menu and
select Save As .... Name the
document BackupDesktop and
save it
to your local Documents folder. Close the
document when you're done.
Create a Run
Document to execute
your 3 backups
- Go to the File
menu and
select New Run Document.
- Drag the three Synk documents you just
created -- BackupDocs, BackupPrefs, & BackupDesktop -- onto the open area
of the untitled
run document. (Example)
- Select Run
all documents
and
quit in the Run document
options.
- Go
to Synk menu and select Preferences. Uncheck the option Ask before
mounting volumes, then close the preferences window. (This will
let Synk mount your CED3 Home space whenever a backup is started.)
- In
the File menu,
select Save As .... Name the
document RunAllBackups and
save it to your
local Documents folder. This is the file you will launch when you want
to run a backup, so you may want to make a shortcut to it on the
desktop or in the Dock
for easy access. Drag it to the left of the Trash icon to add it to the
Dock.
Test your settings
- Drag CED3
to the
Trash
to disconnect from the server
- Quit Synk
- Launch RunAllBackups
from you shortcut
- The first time you run it, you may see a
message asking
about
allowing keychain access. Select Always
allow so that Synk can connect to the server when it runs its
backups
- Synk will open several windows: the
RunAllBackups
document, the 3 Synk documents you created, and an Activity Queue that
displays the backup progress. (Example) Synk
will quit when the backup is complete. The initial backup may take
several minutes, depending
upon the
number of files you have. Subsequent backups will only copy those files
that have changed since the previous backup.
If everything runs OK, you're ready to go. Just
remember to launch RunAllBackups
occasionally (daily,
weekly, whatever you're comfortable with) or see below for automating a
periodic backup.
Tips
and Tricks
Scheduling
Automatic Backups
with CRON
CRON is a Unix process that runs in the
background of OS X, used for
scheduling periodic system tasks. If you'd prefer to automate your
backups rather than launching RunAllBackups
manually from your Dock:
- Download the freeware utility CronniX, with which you can edit
your
crontab (CRON schedule). Copy it into your Applications folder.
- Launch Cronnix. The CronniX window will
list all scheduled
tasks. (Example)
- Click the New
icon
to bring up a new task.
- In the Schedule
portion of the window you can set the day(s) and time(s) you want to
run your backup by filling in the Minute
(0 - 59), Hour (0 - 23), Day of month, Month, and Day of week.
For example, this CRON job is scheduled to
run at 4:30 PM, every day (Mon - Fri) of every month.
- In the Command
portion of the window, check the box Prepend
"/usr/bin/open" and then Browse...
to the RunAllBackups file in
your Documents folder. Enclose the path in single quotes, so the
command looks something like /usr/bin/open
'/Users/yourname/Documents/RunAllBackups.snkr'.
- Click Apply
at the
bottom of the window and then click Save
in CronniX's main window.
Please note: Backups CRON'ed like this example
can only run when you
are logged in to your computer, so do not schedule backups to run at
3:00 AM if you regularly shutdown or log out of your computer at night.
Note for Mozilla
Users
Mozilla-based
applications do not store user profiles (mail, bookmarks, preferences)
in your Documents or Preferences folders. Mozilla and Thunderbird
profiles are located in /Users/yourloginname/Library
and Sunbird profiles are located in /Users/yourloginname/Library/Application
Support. Adding the Library folder in your local home space to the
backup instructions above will ensure these files are backed up, too.
|
|