Originally posted by nkuvu
I think testuser's advice is the best I've heard all month.
It doesn't matter if you defrag daily/weekly/monthly/never. A good backup is always a good idea. Then Tormente wouldn't have to worry about system crashes.
I have been making backups, and this works so wonderfully for me (and I have people on here to thank for showing me the ditto command) that I wrote a script (simple bash script in terminal) that I would like to share with the rest of you...
Note: This backus up to a different drive, here called Max40G - change that to whatever drive name you want to back up to... And change "username" to your home directory/user name (launch terminal and it'll be whatever it says just before the "%"
Code:
cd /Volumes/Max40G/
echo "removing the backup2 folder"
rm -rf backup2
echo "moving the backup 1 folder to backup2"
mv -f backup1 backup2
echo "moving the backup folder to backup1"
mv -f backup backup1
echo "now backing up your user folder to Max40G/backup"
ditto -rsrc /Users/username/ /Volumes/Max40G/backup
(you can ignore the echo commands - I just put them in so I know what's happening when)
As you can see, I have 3 backups (backup, backup1, backup2).
But to do a single backup, you can just use the last line:
Code:
ditto -rsrc /Users/username/ /Volumes/Max40G/backup
If using the last line by itself in terminal, you have to stick "
sudo" in front so you don't get permision problems (and enter the admin password - or your password if you're the only user).
I created a directory called
scripts in my user directory, and placed the script in there... to activate it, I launch terminal, cd into my scripts directory
cd scripts
and I do:
sudo ./backup-script
and enter my password.
And now that the rest of my network is finally starting to come online at my home office (50% of my studio is now home! yay! - I think! lol), I'll be modifing the script to send a copy of my backups to my server once it's online. Yeah - I'm officially paranoid! LOL
I just wish it was this easy to do for my Windows boxes.
