User Tools

Site Tools


services:firstyearacct

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
services:firstyearacct [2020/02/10 09:31] jasservices:firstyearacct [2022/04/05 10:44] jas
Line 24: Line 24:
 ====== Backups ====== ====== Backups ======
  
-Each time the user logs out, files that the user has changed that are greater than 1 byte and less than or equal to 25 MB are archived into /local/user-backup into a directory named MMDDYYYY-HHMMSS.  That is, two digit month, two digit day, four digit year, then two digit hour, two digit minute, and two digit seconds.   Faculty and lab technicians can access these archives to retrieve lost contents.  Monitors, grad students, and TAs cannot access this directory.+Each time user //user// logs out, files that the user has changed that are greater than 1 byte and less than or equal to 25 MB are archived into /local/user-backup into a directory named MMDDYYYY-HHMMSS.  That is, two digit month, two digit day, four digit year, then two digit hour, two digit minute, and two digit seconds.   Only faculty and lab technicians can access these archives.  Monitors, grads, and TAs cannot access this directory directly.  Local backups will not occur for EECS accounts.
  
-If you are a Faculty member, and logged into a workstation that supports //user// login, you can access these backups in the /local/user-backup directory.  All the files are owned by user //labtech// and group //faculty//Lab technicians  must first use the "bu labtech" command to become the //labtech// user.  +If you are a Faculty member, and logged into a workstation that supports //user// login, you can access these backups in the /local/user-backup directory.  Lab technicians  must first use the "bu labtech" command to become the //labtech// user.  
  
 After changing into the /local/user-backup directory, do an "ls" to see the available archives.  Change into the appropriate dated directory, and retrieve the files.  The last directory in the list will be the latest backup.  Up to 40 backups will be kept from the last 40 logins.  After that, the oldest backups will be automatically removed. After changing into the /local/user-backup directory, do an "ls" to see the available archives.  Change into the appropriate dated directory, and retrieve the files.  The last directory in the list will be the latest backup.  Up to 40 backups will be kept from the last 40 logins.  After that, the oldest backups will be automatically removed.
Line 32: Line 32:
 Faculty and lab technicians can also SSH to lab workstations, and access each machines archives in /local/user-backup.  Remote access to machines is restricted when the machine is in labtest mode. Faculty and lab technicians can also SSH to lab workstations, and access each machines archives in /local/user-backup.  Remote access to machines is restricted when the machine is in labtest mode.
  
 +====== Recovery/Restore ======
  
 +From time to time, the graphical interface on a machine may hang, and the user will not be able to continue working.  For example, the mouse cursor may move, but nothing can be clicked.  In these cases, faculty, lab technicians, monitors, and grad students can carry out a procedure to restore the user files and allow the user to continue.
  
-====== Crash Recovery ====== +Follow these steps:
- +
-From time to time, the graphical interface on the machines seems to crash.  The mouse cursor will move, but nothing can be clicked.  A process has been setup whereby you can tell the system to preserve the user home directory, and restart the display manager, automatically logging the user back in. Faculty, lab technicians, monitors, and grad students can carry out this procedure.  It is expected that it will completely restore the student environment in most cases.  Follow these steps+
- +
-  - Hit Ctrl-ALT-F2 to switch to a text console.  If this step does not work, you will have to reboot the machine and follow the procedure below under "When Crash Recovery Fails" Rebooting the machine will clear the home directory. +
-  - Login with your EECS account. +
-  - Type the command: /eecs/local/bin/restoreuser +
-  - Select option 1 in the menu provided.  The system will restart the display manager.  It will not delete the users files.  It will automatically log back in as user //user// It will also automatically log you out.  The user should be able to continue their work. +
- +
-====== When Crash Recovery Fails ====== +
- +
-When the basic procedure above fails, and a system reboot is necessary, Faculty, lab technicians, monitors, and grad students can carry out a slightly different procedure to allow the student access to their files:+
  
   - Reboot the system.   - Reboot the system.
Line 55: Line 46:
 </code> </code>
   - Run the "restoreuser" command.     - Run the "restoreuser" command.  
-  - Selection option 2 in the menu.  The last copy of saved files for the user will be restored right into the users home directory.+  - Select the backup you wish to restore.  Option 1 will be the latest backup. 
 +  - The files will be restored into the //user// home directory.
   - Exit your account:<code>   - Exit your account:<code>
 % exit % exit
 </code> </code>
- +  - Now the user can continue working.
- +