How do I recover lost files on Shell?


How do I recover lost files on Shell (


Files stored on are backed up periodically using "snapshots". In case of data loss, you can restore files from these snapshots if you have a working knowledge of UNIX.

  1. Login via SSH to
  2. Go to the directory where you want to restore files.
  3. List all of the files to restore within all of the available snapshot directories.
  4. Identify the version that you want and copy it to the desired destination.

Opening the directory where the file is stored:

cd <desired-path>

Viewing the different versions of the file that are available in the snapshots:

ls -Alt .snapshot/*/<file-to-restore>

Example: viewing the different available versions of the file "trace.txt"

ls -Alt .snapshot/*/trace.txt

Actually restoring a file by copying a snapshot version of it back:

cp -p .snapshot/<version>/<file-to-restore> <new-file>

Example: restoring "trace.txt" to a new file name "new_trace.txt"

cp -p .snapshot/4hour.2017-01-01_0000/trace.txt new_trace.txt

For assistance restoring files please contact the Technology Service Desk.


Article ID: 32280
Mon 6/19/17 1:00 PM
Wed 11/15/23 3:30 PM

Related Articles (2)

Users may SSH into or access files using an SFTP client with
Information about how files stored on Shell are backed-up.