You are here:
Vanderbilt Biostatistics Wiki
>
Main Web
>
TWikiUsers
>
DalePlummer
>
DalesNotes
>
MacBackup
(07 Apr 2015,
DalePlummer
)
(raw view)
E
dit
A
ttach
---+ Backup for Macintosh Computers ---++Links [[http://www.bluepiccadilly.com/2012/10/mac-os-x-automatically-connect-network-drive-when-your-computer-starts-or-wakes-sleep][Mac OS X: Automatically connect to a network drive when your computer starts up or wakes from sleep]] <br> http://www.makeuseof.com/tag/turn-nas-windows-share-time-machine-backup/ ---++Steps How to set up a Macintosh computer to be backed up to a department server * Ask Dale to create an account and backup space on the server * Mount the backup share =smb://biostat064a.dhcp.mc.vanderbilt.edu/vunetid_backup= where "vunetid" is your <nop>VUNetID * Finder...Go menu...Connect to Server * Enter server address =smb://biostat064a.dhcp.mc.vanderbilt.edu/vunetid_backup= and click Connect * Enter username as "vanderbilt\vunetid" and use your epassword * Set remember password if you don't want to enter the password each time you log on * Set share to be connected automatically when logging on * Open System Preferences and click on "Users & Groups" * Click on Login items tab (right side, near top) * Click on + sign to add a new item to open automatically * Highlight the mounted backup space and click the Add button * Make a directory to hold the backup script <verbatim> $ mkdir ~/bin </verbatim> * Copy the backup script [[%ATTACHURL%/backup-userhome][backup-userhome]] to ~/bin * Edit backup-userhome script and replace "vunetid" with your <nop>VUNetID * Copy the exclude file [[%ATTACHURL%/rsync-exclude.txt][rsync-exclude.txt]] to ~ * Set up a cron job to run the backup script on a schedule <verbatim> $ crontab -l $ crontab -e </verbatim> e.g. <verbatim> 00 20 * * * /Users/vunetid/bin/backup-userhome >> /Users/vunetid/bin/backup-userhome.log 2>&1 </verbatim> This command will cause the backup script to be run at 8:00 PM each day. A log file called "backup-userhome.log" is written to the ~/bin directory. By default, the computer will not wake up for a cron job if it is asleep. The solution to this is to schedule a wake up just before the cron job is to run. * System Preferences * Energy Saver * Click the Schedule button * Select Start or Wake and set the days and time appropriately.
Attachments
2
Attachments
2
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
EXT
backup-userhome
manage
3.6 K
12 Nov 2014 - 16:10
DalePlummer
txt
rsync-exclude.txt
manage
0.1 K
12 Nov 2014 - 16:09
DalePlummer
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r5 - 07 Apr 2015,
DalePlummer
Main
Department Home Page
Biostatistics Graduate Program
Vanderbilt University Medical Center
Main Web
Main Web Home
Search
Recent Changes
Changes
Topic list
Biostatistics Webs
Archive
Main
Sandbox
System
Register
|
Log In
Copyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki?
Send feedback