Macintosh OSX:
How to recover your UVM Zoo files on a Mac
If you ever delete a file or folder from your Zoo space, do not worry, it can be recovered!
Please note however, that this process will only work for files and folders which have been backed up by the server overnight. This means that files and folders which were created and deleted in the same day, cannot be recovered.
Lets get started, click the “Go” menu.
Select “Utilities”


From the Utilities menu, scroll down and double-click on the “Terminal” icon.
A white box will appear. You will need to login using your NetID and password (same username and password you use to login to your UVM email).
To login type: ssh your_netid@zoo.uvm.edu
then press Enter.
(Reference the image below)
You will then be asked to enter your password.
Enter your password, then press Enter.
(NOTE** the cursor will not more while entering your password, this is normal.)
The next step is to enter recovery mode. We do this by typing the “recover” command, and then pressing Enter.
Now that we are in recovery mode, we need to access a backup from a time before the file was deleted.
To do this we will use the “changetime” command. This command allows us to retrieve backups from an earlier date.
In this example we are using July 10th 2010 as our desired backup.
Example:
changetime 07/10/2010
then press Enter.
(reference the image below)
After changing the time to your desired date, you will want to view which files or folders are available within that backup.
To view a list of available files and folders use the “ls” command (LS)*, then press Enter.
As you can see in the image below, I have multiple files and folders available at this backup point.
In this example, I am going to pretend I have deleted an important paper from my “Class work Summer 2010” folder.
First I need to change my directory to the “Class work Summer 2010” folder. I can do this by using the “cd” command.
Example:
cd “Class work Summer 2010″
then press Enter.
(NOTE** you must use quotations around file and folder names that include _spaces_ and/or Caps.)

I then want to use the “dir” command to see whats inside my “Class work Summer 2010” folder.
Now I need to mark a file or folder for recovery. This lets the system know exactly which file you want to be recovered.
This is done using the “add” command.
IF YOU WANT TO RECOVER A SPECIFIC FILE WITHIN A FOLDER:
In this example I want to recover my “Reflection paper 1.doc” file.
To do this, I need to type:
add “Reflection paper 1.doc”
then press Enter.
(NOTE** enter the filename EXACTLY as it appears. You will need to put quotations around any filename with _spaces_ or CAPS.)
IF YOU WANT TO RECOVER THE ENTIRE FOLDER:
You could choose to recover an entire folder, in this example I could retrieve the backup of my
entire “Class work Summer 2010” folder by typing:
add “Class work Summer 2010”
However, you would only want recover an entire folder if you happened to delete many or all of the contents within that folder.
(NOTE** enter the foldername EXACTLY as it appears. You will need to put quotations around any foldername with _spaces_ or CAPS.)
Now that I have marked “Reflection paper 1.doc” for recovery, I am ready to use the “recover” command.
This command will start the recovery process.
Enter the “recover” command, then press Enter.
Eventually you will get some feedback saying that things were recovered.
THE FINAL STEP!!!
Make sure you use the “exit” command. The files and folders are not actually moved until after you type the “exit” command.
That’s it, you’re done!




















