How to locate files for restore in 4.12 or later
It is easy to find files and folders for restore in for backups taken in version 4.12 or later.
To select a number of files or folders
- Click on Restore Select.
- A file tree will appear.
- Expand the file tree and place a checkmark in the box next to any item you wish to restore.
- If the box is next to a folder, everything within that folder will also be selected.
- Click Save and Close when your selections are complete.
The file tree will not appear for backups taken in version 4.11 or earlier. Please see How to locate files for restore in v4.11 or earlier for information on how to search and filter these backups.
To find a single file or folder
- Visit the Restore page.
- Click on Search.
- Enter the name of the file or folder you wish to Restore in the File Name Pattern box.
- Click Search file/folder by name.
- Select the file or folder you wish to restore from the list of results.
- Click Select this file/folder for Restore when your selection is complete.
How to locate files for restore in v4.11 or earlier
Instead of a file tree, the restore page displays a list of objects in version 4.11 and earlier.
ZCB offers two ways to locate specific files or folders for restore.
- The Search file/folder by name option allows users to search File System backups for the latest version of specific files or folders quickly.
- Advanced filtering is available for all backup types and is designed for more complex searches when multiple results are expected.
Search file/folder by name
This option allows you to search for a file across all backup runs for a backup set and restore its latest version quickly. This can be useful when you have a lot of backup runs and don't remember which backup run contains the file you need.
You cannot use this feature to restore multiple files or folders. To search for and restore multiple files or folders, please see the Advanced Filtering section below.
To search for and restore a file or folder by name:
- Select the backup set you wish to restore from and visit the Restore page.
- Click the Search file/folder by name link on the restore page.
- Enter as much of the file name or the file path as you remember.
- ZCB will search all the backup runs for the current backup set.
- A list of all files and directories that contain the name you entered will appear. The time of the last backup for this item will also be displayed.
- Click the file or folder you wish to restore.
- Click the "Select this file for Restore" button.
- The list of files for restore will update to show only your selection.
- Chose your restore options below the list of files.
- Begin your restore by clicking the Restore button.
Users may specify patterns that include wildcards, "and", "or", and "not" operations. This allows for complex searches that return a range of results instead of a single file.
These operations each have their own syntax.
- "Or" filtering = pattern||pattern
- "And" filtering = pattern&&pattern
- "Not" filtering = !pattern
- The pattern may contain any alphanumeric characters, path separators (only backward slashes), or any characters that are valid in a file path name
- ZCB automatically searches for any result that includes the submitted string.
- For example, if the word test is submitted, all files and directories that contain test will be returned.
- If the submitted string contains an asterisk *, the asterisk will be used as a wildcard.
- If no wildcards are used, any result that matches the string will be returned.
- Absolute paths can be specified as follows: C:\Users\FileServer*.txt or C:\Users\FileServer.
Examples of OR:
- jpg||txt||docx to show either jpg, txt, or docx files.
- C:\Users\FileServer*.txt||.docx to show any .txt files in C:\Users\FileServer or any .docx files in any directory.
Examples of AND:
- C:\Users&&jpg to show all jpg files in the C:\Users directory.
- Products&&TestData to show all files that are both in the Products directory and the TestData directory.
Examples of NOT:
- !pdf to show all files that are not pdf.
- !Users to show all files that are not in the Users directory.
Examples of EXACT:
- "C:\Users\" to show the C:\Users\ directory.
"MSSQL-2005:\WINDEV-REPLACE\MSSQLSERVER\A1" to show the MSSQL-2005:\WINDEV-REPLACE\MSSQLSERVER\A1 database.