Skip to content Skip to site navigation

Backups

To increase security and reduce risk, Stanford is sunsetting its WebAFS service that is used to upload and download files to AFS.

To optimize AFS and make sure it is serving its intended functions, UIT has also taken these actions:

  • UIT no longer automatically provisions new faculty and staff members with AFS user volumes. New faculty or staff who need a personal user volume must submit a Help request.
    • This change does not impact existing AFS directories or the process for adding permissions for new individuals to those existing directories. Your existing space and everything in it remains intact.
    • This change does not impact the auto-provisioning of new AFS user volumes for students and postdocs.

​Class volumes do not expire and are kept indefinitely. This is an official academic policy, and any change to this policy must be considered by the Faculty Senate.

A feature of AFS is that the system makes backup images of all volumes every night. This image is available to you, online, in your backup volume for 24 hours after the image was made. After 24 hours, a new image is taken and the new image replaces the older one.

Your backup volume is mounted in your home directory under the directory ~/.backup. Although it contains a copy of everything in your account from the day before, it does not consume any of your quota.

Determining when your backup image was last taken

To find out when your home directory's backup image was last taken, type this command at the system prompt:

vos examine user.<username>.backup

Where <username> is your primary (cluster login) SUNetID.

About five lines down there will be a line which begins with the word "Creation" followed by a date and time. That is the date and time that your backup image was made; the time is represented in terms of a 24 hour clock and should always be some time in the very early morning.

Finding the backup volumes for class or group directories

Backup images are also made for most other volumes, although they aren't mounted automatically (the Sweet Hall Consultants can help you mount them). If you want to check the backup image for your class or group directory, replace "user.<username>" with the name of your volume in the vos examine statement above (don't forget to append the ".backup" part!). If you have administrative access to this group or class volume, you can mount it by going to the mountpoint directory (/afs/ir/group/<groupname>), and if there isn't already a directory called ".backup", mount it with:

fs mkmount -dir .backup -vol <volume name>.backup

If you don't know the volume name for your class or group volume, the easiest way to find it is:

fs listquota <path to group or dept volume>

The Volume Name for that directory will be listed along the lefthand side of the output.

Restoring files from your backup image

If you deleted a file before the time that your backup image was made, your file will NOT be available in your .backup directory.

If you created a file AND deleted it between the time one backup image was taken and the next time a backup image was taken, there will not be a backup, and you will have to recreate it because no one can recover it for you.

If the file had existed for at least 24 hours, a version of it should be on backed up. If you really need the file back, submit a HelpSU request detailing the full path and name of the file and the last time you are absolutely certain that you had the file. Be aware that file restores are done on an as-possible basis, and you may have to wait some time for your file to be restored.

If you deleted a file after the time that your backup image was made, whatever version of the file that existed the previous day will be in your .backup directory. You need to retrieve it before the next backup image is taken.

If you need help finding things in your backup volume, submit a HelpSU request.

Last modified July 12, 2021