Difference between revisions of "Backups"

From CCRMA Wiki
Jump to: navigation, search
Line 15: Line 15:
 
So, if you deleted a critical soundfile from your home directory (e.g. <code>~/sounds/best-sound-ever.ogg</code>) you could copy that file back into your home directory by visiting the most recent date directory where the soundfile exists and copy it back, somewhere into your home directory, like this:
 
So, if you deleted a critical soundfile from your home directory (e.g. <code>~/sounds/best-sound-ever.ogg</code>) you could copy that file back into your home directory by visiting the most recent date directory where the soundfile exists and copy it back, somewhere into your home directory, like this:
  
<pre>~> cp /usr/ccrma/backup/<username>/<date-directory>/tree/sounds/best-sound-ever.ogg sounds/</pre>
+
<pre>~> cp /usr/ccrma/backup/<username>/<date-directory>/tree/sounds/best-sound-ever.ogg ~/sounds</pre>
  
 
The backup images are deleted over time inside a 3 month window according to the following schedule:
 
The backup images are deleted over time inside a 3 month window according to the following schedule:

Revision as of 09:07, 2 October 2007

Your home directory is backed up automatically each day to backup server. You can access these daily images by going to:

/usr/ccrma/backup/<username>

There, you will see directories with names like '20070804,' which corresponds to the date of the backup.

Inside this directory you'll see another directory named 'tree.'

/usr/ccrma/backup/<username>/<date-directory>/tree

'tree' corresponds to your home directory. So, in side it you'll see all the files and dictories backed up on that date. This is an 'image' or snapshot of what your home directory looked like at backup time. Backups are taken sometime between midnight and 8am generally.

You can read from (copy from) these directories, but cannot write to them.

So, if you deleted a critical soundfile from your home directory (e.g. ~/sounds/best-sound-ever.ogg) you could copy that file back into your home directory by visiting the most recent date directory where the soundfile exists and copy it back, somewhere into your home directory, like this:

~> cp /usr/ccrma/backup/<username>/<date-directory>/tree/sounds/best-sound-ever.ogg ~/sounds

The backup images are deleted over time inside a 3 month window according to the following schedule:

0-2 weeks2 - 5 weeks5 - 12 weeksbeyond 12 weeks
DailyMWFFnone

That is, for two weeks back from the present day, you have an image available for each day. Further back than two weeks, but less than five, you have MWF images available (T,Th,Sa, and Su images have been deleted). From five to twelve weeks, you have only each Friday's image available (M and W are deleted), and after twelve weeks, all images are deleted.