How to recover data in from your CVL account

From CVL Wiki

(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Oops!  I deleted some files!  Can I get them back?===
+
'''This article is out of date. Please fill out a [https://helpdesk.ece.vt.edu helpdesk] ticket for file recovery.'''
 
+
----
+
  
 +
===Oops!  I deleted some files!  Can I get them back?===
 
*Files saved on the CVL machines are backed up nightly. You can recover any file deleted up to 31 days prior.
 
*Files saved on the CVL machines are backed up nightly. You can recover any file deleted up to 31 days prior.
  
 
----
 
----
 
===How to Retrieve Lost Data===  
 
===How to Retrieve Lost Data===  
# Log into the CVL machines.
+
1. Log into the CVL machines.
# Look for the directory called "/backup".  
+
 
# Look for the directory with the '''date''' in the name.  
+
2. Look for the directory called "/backup".  
 +
 
 +
3. Look for the directory with the '''date''' in the name.  
 
::*The date reflects when that particular snap shot of the files was taken.   
 
::*The date reflects when that particular snap shot of the files was taken.   
# Look under that directory and find a directory called "home" .
+
 
# Look under that directory where you will find your home directory (named with your login name) and all of your files as of that date.
+
4. Look under that directory and find a directory called "home" .
 +
 
 +
5. Look under that directory where you will find your home directory (named with your login name) and all of your files as of that date.
  
  
Line 19: Line 22:
 
[[Image:Backup-2.jpg|thumb|(fg.2) The "/backup/Backup.03.Sun_25_Mar_2007_05:07/home directory.]]
 
[[Image:Backup-2.jpg|thumb|(fg.2) The "/backup/Backup.03.Sun_25_Mar_2007_05:07/home directory.]]
  
===Still Having Issues?==
+
===Still Having Issues?===
  
 
*Here's an example:
 
*Here's an example:
 
::*Suppose today is March 28, and three days ago you deleted a file.   
 
::*Suppose today is March 28, and three days ago you deleted a file.   
::*The first thing to do, would be to login and go to the /backup directory and take a look. To goto the /backup directory you would type  
+
:::1. First, login.
cd /backup
+
:::2. Go to the backup directory.  
and to take a look at whats there, type
+
::::* To go to the backup directory type cd / backup .
ls
+
:::3. Once in the backup directory type ls .
See figure 1.
+
:::4. See figure 1.
 
+
::*Three days back would be March 25.
Three days back would be March 25, so we would goto the backup called, ''Backup.03.Sun_25_Mar_2007_05:07''. To do that change to that directory with
+
:::5. Go to the backup called: ''Backup.03.Sun_25_Mar_2007_05:07''.  
cd Backup.03.Sun_25_Mar_2007_05:07
+
:::6. See figure 2.
See figure 2.
+
::::'''Note:''' Remember, we have '''tab''' completion for long file names.  
 
+
:::::*Rather than type out the long name of the directory, just type cd B<TAB>.
Remember, we have '''tab''' completion for long file names. Rather than typing out the whole long name of the directory, just type  
+
:::::*This completes the name as far as it can: cd Backup.
cd B<TAB>
+
:::7. Type the '''03''' for the third backup and type the '''tab''' button again.  
this completes the name as far as it can:  
+
::::* The computer will finish typing the long name for you: cd Backup.03.Sun_25_Mar_2007_05:07  
cd Backup.
+
:::8. Once in the directory Type: cd Home
Now, type the '''03''' for the third backup and type the '''tab''' button again. The computer will finish typing the long name for you:
+
:::9. Go to your files.
cd Backup.03.Sun_25_Mar_2007_05:07
+
:::10. Type: cd <login_name> .
Once in this directory Type
+
:::11. Type '''ls'''.  
cd Home
+
::::* You will see your files in the same state that they were when the backup was done.   
Now go to your files. Type
+
:::12. Find your file.
cd <login_name>
+
:::13. Copy it to your home directory.  
and type '''ls'''. You will see your files in the same state that they were when the backup was done.  Go find your file and copy it to your
+
::::* The easist way to do this is type something like '''cp <file> /home/<login_name>'''.
home directory. The easist way to do that is just type something like '''cp <file> /home/<login_name>'''.
+

Latest revision as of 16:07, 17 September 2014

This article is out of date. Please fill out a helpdesk ticket for file recovery.

[edit] Oops! I deleted some files! Can I get them back?

  • Files saved on the CVL machines are backed up nightly. You can recover any file deleted up to 31 days prior.

[edit] How to Retrieve Lost Data

1. Log into the CVL machines.

2. Look for the directory called "/backup".

3. Look for the directory with the date in the name.

  • The date reflects when that particular snap shot of the files was taken.

4. Look under that directory and find a directory called "home" .

5. Look under that directory where you will find your home directory (named with your login name) and all of your files as of that date.



(fg.1) The "/backup" directory.
(fg.2) The "/backup/Backup.03.Sun_25_Mar_2007_05:07/home directory.

[edit] Still Having Issues?

  • Here's an example:
  • Suppose today is March 28, and three days ago you deleted a file.
1. First, login.
2. Go to the backup directory.
  • To go to the backup directory type cd / backup .
3. Once in the backup directory type ls .
4. See figure 1.
  • Three days back would be March 25.
5. Go to the backup called: Backup.03.Sun_25_Mar_2007_05:07.
6. See figure 2.
Note: Remember, we have tab completion for long file names.
  • Rather than type out the long name of the directory, just type cd B<TAB>.
  • This completes the name as far as it can: cd Backup.
7. Type the 03 for the third backup and type the tab button again.
  • The computer will finish typing the long name for you: cd Backup.03.Sun_25_Mar_2007_05:07
8. Once in the directory Type: cd Home
9. Go to your files.
10. Type: cd <login_name> .
11. Type ls.
  • You will see your files in the same state that they were when the backup was done.
12. Find your file.
13. Copy it to your home directory.
  • The easist way to do this is type something like cp <file> /home/<login_name>.
Views
Personal tools
Support