Difference: RecoVerLxPlusFilEs (1 vs. 2)

Revision 22017-02-14 - AnnaCimmino

Line: 1 to 1
 
META TOPICPARENT name="AnnaCimmino"
Added:
>
>

Recover Files from LXPLUS Home and Work Areas

<!-- 
  • Set ALLOWTOPICCHANGE = cimmino
-->
 
Deleted:
<
<
--++ Home Directory
 
Changed:
<
<
Your AFS home directory is backed up nightly. Therefore, if you need to recover files from afs home that are as recent as yesterday, these are already cached. You can find these files at: /afs/cern.ch/ubackup/<a>/<account>/<path_to_missing_files>. I f you need to recover a backup that is more than a day old, follow the same steps, described bellow, for recovering files from you work directory.
>
>
 
Changed:
<
<

Work Directory

  • If the files live on AFS home, this will be something similar to /afs/cern.ch/user/<a>/<account>/<path_to_missing_files>.
  • If the files live on your work area, the path will look something like /afs/cern.ch/work/<a>/<account>/<path_to_missing_files>.
  • In both of the above, paths, <a> is the first letter of your AFS user name, and <account> is your full AFS user name.

Step 3: Request recovery

  • Create a temporary mount point. This can be any directory, but it's best if you use an empty directory to avoid name conflicts.
  • The backups are stored on tape, so you will need to request the backup be found, and copied to a disk where it can be read.
  • To do this, use the following command:
    • afs_admin recover <full_afs_path>
  • Where <full_afs_path> is the path you came up with in step 2.
  • This will ask you what backup you would like to recover (from which date).
>
>

Home Directory

 
Added:
>
>
  • Recent files : Your AFS home directory is backed up nightly. Therefore, if you need to recover files from afs home that are as recent as yesterday, these are already cached. You can find these files at: /afs/cern.ch/ubackup/<a>/<account>/<path_to_missing_files>.
  • Files older than a day : If you need to recover a backup that is more than a day old, follow the same steps, described bellow, for recovering files from you work directory.
 
Added:
>
>

Work Directory

 
Added:
>
>
If the files live on your work area, the path will look something like /afs/cern.ch/work/<a>/<account>/<path_to_missing_files>. In this case, backups are stored on tape, so you will need to request the backup be found, and copied to a disk where it can be read. To do this, from an empty afs folder use the following command:
  $  afs_admin recover /afs/cern.ch/work/<a>/<account>/<path_to_missing_files>
This will ask you what backup you would like to recover (from which date). Once decided, your backup will be recovered (this will take a long time), and mounted to a temporary directory. Once the the files have been recovered, you'll get a message like this one:
 
Added:
>
>
 2017-02-13 12:53:06,926 INFO : * Volume mounted at /afs/cern.ch/project/afs/var/ABS/recover/R.1934435512.02131203 *

ARC:RESTORE_SUCCESS

Line: 29 to 31
  They files are available via the path shown above for 24 hours and cleaned up afterwards. You may want to copy the files as soon as possible.
Added:
>
>

Copy all necessary files as soon as possible.

Original Source of Recovery Information

Information on this page has been originally found here: https://twiki.cern.ch/twiki/bin/view/Main/BrettJacksonRecoverAFS

 
Deleted:
<
<
https://twiki.cern.ch/twiki/bin/view/Main/BrettJacksonRecoverAFS
 

-- AnnaCimmino - 2017-02-13

Revision 12017-02-13 - AnnaCimmino

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="AnnaCimmino"

--++ Home Directory

Your AFS home directory is backed up nightly. Therefore, if you need to recover files from afs home that are as recent as yesterday, these are already cached. You can find these files at: /afs/cern.ch/ubackup/<a>/<account>/<path_to_missing_files>. I f you need to recover a backup that is more than a day old, follow the same steps, described bellow, for recovering files from you work directory.

Work Directory

  • If the files live on AFS home, this will be something similar to /afs/cern.ch/user/<a>/<account>/<path_to_missing_files>.
  • If the files live on your work area, the path will look something like /afs/cern.ch/work/<a>/<account>/<path_to_missing_files>.
  • In both of the above, paths, <a> is the first letter of your AFS user name, and <account> is your full AFS user name.

Step 3: Request recovery

  • Create a temporary mount point. This can be any directory, but it's best if you use an empty directory to avoid name conflicts.
  • The backups are stored on tape, so you will need to request the backup be found, and copied to a disk where it can be read.
  • To do this, use the following command:
    • afs_admin recover <full_afs_path>
  • Where <full_afs_path> is the path you came up with in step 2.
  • This will ask you what backup you would like to recover (from which date).

2017-02-13 12:53:06,926 INFO : * Volume mounted at /afs/cern.ch/project/afs/var/ABS/recover/R.1934435512.02131203 *

ARC:RESTORE_SUCCESS

The requested volume has been recovered from backup and mounted into the AFS filesystem. They files are available via the path shown above for 24 hours and cleaned up afterwards. You may want to copy the files as soon as possible.

https://twiki.cern.ch/twiki/bin/view/Main/BrettJacksonRecoverAFS

-- AnnaCimmino - 2017-02-13

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback