Select files and folders to restore the same way that you select files and folders to back up. For a restore, in addition you must specify which version of the file you want to restore.
Select Files to Restore
When you select a file to restore, the most recent version of the file is selected by default. You can also change the name of the restored file or restore it to a new location.
To select files to restore:
- View the properties of the restore job and click on the Selection page.
- Check the selection boxes next to the files, folders, or other containers you want to restore.
- To select a specific version of the folder or file, highlight it and select the version from the list in the bottom part of the window. If you do not select a version then the most recent version is restored.
- Optionally, click Selection filters on the tool bar and specify filter selection criteria.
The selected files are restored to their original locations.
Select Versions of Files to Restore
Each time a file is backed up, Yosemite Server Backup creates a version of that file. There may be several versions of a file stored on media by different backup jobs. Yosemite Server Backup keeps track of all versions of each file in its catalog and identifies the media on which each version is stored. When the media is overwritten or deleted, Yosemite Server Backup deletes those versions from its catalog as well.
When you select an object (file, folder, database, etc.) to restore, Yosemite Server Backup automatically selects the latest version. If you want to select a version other than the latest version, select the desired version from the version list below the object selection tree. The version list shows all versions of the object, the media on which each version is stored, and object details including its backup date and its modify date.
In the case of folder objects, the selected folder version is used to select files contained within that folder. Specifically, a file is selected for restoring only if a file version matches the folder version.
In general, if you want to restore a version of a file other than the latest, you must select the file directly and specify in the Versions of window the version you want to restore.
Select Folders to Restore
You can select the contents of a folder in one of two ways:
- Individually by selecting each object in the folder
- Selecting the folder itself
The method you choose affects which files Yosemite Server Backup includes in the selection list after changes have been made to that folder.
For example, if you select a folder, all of the contents of that folder are restored. If a new backup job is run before the restore job, Yosemite Server Backup restores files using the folder’s new contents. Yosemite Server Backup also restores any new files were created in the folder. Additionally, if you select the latest version of the folder, Yosemite Server Backup restores the latest version of each file in its catalog. These files may be newer than the files that you originally selected for the restore job.
Restore a File with a New Name
To rename a file that you have selected to restore:
- On the Selection page of the restore job, right-click the file and select Rename from the shortcut menu.
- In the Rename dialog box, type the new name.
Once you run the job, the renamed file is restored to the directory where the original file was located.
Restore Files and Folders to a Different Folder
You can also restore files and folders to different folders. When Yosemite Server Backup restores an object, it temporarily creates the object in the new location. Relocating objects to different containers (called a move restore) prevents Yosemite Server Backup from overwriting files and folders that currently exist on disk.
To restore to a file to a different folder:
- On the Selection page of the restore job, right-click the file name and click Move on the command bar.
- In the Select destination for move operation window:
- Select a destination container.
- If the destination folder does not exist, navigate to the parent folder, click New directory on the task bar, and enter a name in the New Directory dialog box.
You can also restore folders and volumes in new locations. The contents of these containers move with them and are restored, along with container, in their new location.