Restoring Files in macOS

One TIme Step - Create nsmb.conf

On your macOS computer create the file ~/Library/Preferences/nsmb.conf containing the following two lines:
   [default]
   file_ids_off=yes

Use the editor of your choice, or open the application Terminal and paste the following commands:
   echo "[default]" >> ~/Library/Preferences/nsmb.conf
   echo "file_ids_off=yes" >> ~/Library/Preferences/nsmb.conf

Please ensure that the file was created correctly, then reboot the computer.

For System Administrators,, the same content in the file /etc/nsmb.conf can be used for all users on the computer.

Find and Restore Content

To restore files to your Home Drive, please follow the steps below. Please note that these steps are very similar to Mapping or Mounting Your Home Drive in macOS

  1. From the Finder Menu, click Go --> Connect to server
  2. In the Server Address field enter the following information:
    smb://files.ubc.ca/<your CWL username>/.snapshot


     
  3. Click Connect

     
  4. Enter the following , then click Connect
    Name: <your CWL username>
    Password: <your CWL password>
  5. A mounted drive will appear showing snapshots.

  6. Navigate to the folder you wish to restore from (based on the timestamp in the folder name)
  7. Select the content you wish to restore and from the Menu Bar select Edit > Copy or press Cmd + C.
  8. Browse to the folder to which you will restore the file or folder and from the Menu Bar select Edit > Paste or press Cmd + V. The version of the file or folder from the Snapshot is copied into the folder.

 

For files.ubc.ca (UBCV employees) , snapshots are taken:

  • every 2 hours between 6:00 am and 6:00 pm and kept for 5 days
  • every day at midnight and kept for 30 days

 

Page last updated on April 7, 2025


UBC Crest The official logo of the University of British Columbia. Urgent Message An exclamation mark in a speech bubble. Bluesky The logo for the Bluesky social media service. Bookmark A bookmark in a book. Browser A web browser window. Caret An arrowhead indicating direction. Arrow An arrow indicating direction. Arrow in Circle An arrow indicating direction. Arrow in Circle An arrow indicating direction. Time A clock. Chats Two speech clouds. E-commerce Cart A shopping cart. Facebook The logo for the Facebook social media service. Help A question mark in a circle. Home A house in silhouette. Information The letter 'i' in a circle. Instagram The logo for the Instagram social media service. Linkedin The logo for the LinkedIn social media service. Location Pin A map location pin. Mail An envelope. Menu Three horizontal lines indicating a menu. Minus A minus sign. Pencil A pencil indicating that this is editable. Telephone An antique telephone. Play A media play button. Plus A plus symbol indicating more or the ability to add. Search A magnifying glass. Settings A single gear. Arrow indicating share action A directional arrow. Speech Bubble A speech bubble. Star An outline of a star. Twitter / X The logo for the X (aka, Twitter) social media service. User A silhouette of a person. Vimeo The logo for the Vimeo video sharing service. Youtube The logo for the YouTube video sharing service.