Aalto IT Help

View content in another language: suomi

Restoring a file (Windows, Mac, Linux)

With an Aalto workstation, you can restore previous versions of your files from folders on the Home or Work disks.

Windows 7

File deleted by accident or file missing

1. Open the folder where the file was located.

Windows_restoring file.png

2. Return to a higher level in the file hierarchy. Select the folder that contained the missing file, and click on the right mouse button. Select Restore previous versions from the menu that opens on the screen.

restore previous versions.png

3. From the folder history, select the date and time where the missing file can still be found.

4. Open the folder by double-clicking or by selecting first the folder and then Open. If you select Copy, you can make a copy of the whole folder. We do not recommend selecting the Restore option, because the folder of the time you choose will become the current folder. In such a case, all the current files in the folder will be overwritten permanently.

properties.png

5.Click on the folder of your choice. Click on the right mouse button and select Copy. Open your current folder, click on the right mouse button and select Paste.

6. The file has now been restored.

restore point.png

Instructions for restoring a previous version of a file

1. Restore a previous version of a file by selecting the file and, in the menu that opens, use the right mouse button to select Restore previous versions.

restore previous versions.png

2. Select the date and time of the restoration.

3. Copy the file to a new location and rename it.

file properties.png

Mac

1. In Finder, open Applications. Then select aalto and Remote Desktop Connections (Windows) - rds01.rdp. Alternatively, you can search directly: /Applications/Microsoft Remote Desktop.app

The application is in our distribution, but if it is missing, the administrator of the classroom computer or the user of the laptop can install it with the Managed Software Center program.

edit remote desktops.png

2. Select New "+" in the top left corner of the window.

3. Type the following details in the new window:

  • Connection name: rds01
  • PC name: rds01.org.aalto.fi
  • Username: AALTO\username  (type your own Aalto username)
  • Password: (type your own Aalto password)
  • Resolution: (select a resolution lower than in the monitor you are using, such as 1024x768)
  • Colors: True Color
  • Full Screen Mode: Custom
  • [  ] Start session in full screen (untick the box)
  • [  ] Scale content (untick the box)

4. Log in to your desktop in remote Windows and search for previous versions in the same way as in Aalto Windows; see the Windows instructions above.

 

Linux

This example works with a general server or Aalto’s Linux workstation (desktop only), in the Home or Work folder.

1. Go to the folder where you wish to restore your file(s).

2. Change to a hidden folder with the command cd .snapshot/

3. The snapshot/ folder is not visible in the file list on ls, for example, but it contains subfolders updated on the hourly, nightly and weekly levels. 

In this example is listed the situation on 9 September 2018.  

> cd myDirectory

> cd .snapshot

> ls

daily.2018-08-28_0010/

daily.2018-08-29_0010/

daily.2018-08-30_0010/

daily.2018-08-31_0010/

daily.2018-09-01_0010/

daily.2018-09-02_0010/

daily.2018-09-03_0010/

daily.2018-09-04_0010/

daily.2018-09-05_0010/

daily.2018-09-06_0010/

daily.2018-09-07_0010/

daily.2018-09-08_0010/

daily.2018-09-09_0010/

daily.2018-09-10_0010/

hourly.2018-09-06_1103/

hourly.2018-09-06_1203/

hourly.2018-09-06_1303/

hourly.2018-09-06_1403/

hourly.2018-09-06_1503/

hourly.2018-09-06_1603/

hourly.2018-09-06_1703/

hourly.2018-09-06_1803/

hourly.2018-09-06_1903/

hourly.2018-09-06_2003/

hourly.2018-09-07_0803/

hourly.2018-09-07_0903/

hourly.2018-09-07_1003/

hourly.2018-09-07_1103/

hourly.2018-09-07_1203/

hourly.2018-09-07_1303/

hourly.2018-09-07_1403/

hourly.2018-09-07_1503/

hourly.2018-09-07_1603/

hourly.2018-09-07_1703/

hourly.2018-09-07_1803/

hourly.2018-09-07_1903/

hourly.2018-09-07_2003/

hourly.2018-09-10_0803/

hourly.2018-09-10_0903/

hourly.2018-09-10_1003/

vserverdr.1.855774b0-ace0-11e7-becb-00a098b6943e.2018-09-09_200800/

weekly.2018-07-08_0015/

weekly.2018-07-15_0015/

weekly.2018-07-22_0015/

weekly.2018-07-29_0015/

weekly.2018-08-05_0015/

weekly.2018-08-12_0015/

weekly.2018-08-19_0015/

weekly.2018-08-26_0015/

weekly.2018-09-02_0015/

weekly.2018-09-09_0015/

4. Pick a snapshot from which to restore and change directory to it, e.g.

cd daily.2018-09-10_0010

5. If the name of your missing file is, for example, myLostfile, copy it to your home directory, for instance, so that it is safe.

> cp myLostfile ~/myRestoredFile

6. Your missing file is now in your home directory.

Contact information will be used only in case we need more information about feedback.
Please send only feedback about this instruction. If you have IT-related problems, please send a request to servicedesk@aalto.fi