Show pageOld revisionsBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== Backup on MOGON I===== All user home directories and project directories are regularly backed up completely, with the exception of directories named ''scratch'', ''temp'' or ''tmp''. Also directories named ''work'' are not backed up for project directories. You should use those scratch directories to store data that is reproducible and/or temporary (e.g. the build directory of some software). ==== Restore from backup -- MOGON I ==== On MOGON I, you can view the available backup versions of a file (it is important that you use the full filesystem path - e.g. by prepending ''/gpfs/fs1'' to paths in your home directory; sometimes adding ''-subdir=yes'' might be helpful): <code bash> [...@login01 ~]$ dsmc q backup -inactive -se=mogonfsbackup /gpfs/fs1/home/.../.../... IBM Tivoli Storage Manager Command Line Backup-Archive Client Interface [...] Size Backup Date Mgmt Class A/I File ---- ----------- ---------- --- ---- 3,769 B 10/05/2013 03:37:56 DEFAULT A /gpfs/fs1/home/.../.../... </code> You can then restore files from backup using the command (the last parameter is optional and can be used not to overwrite the file if it sill exists): <code bash> [...@login01 ~]$ dsmc restore -pick -inactive -se=mogonfsbackup /gpfs/fs1/home/.../.../... [/optional/path/where/to/restore] </code> You will be presented with a terminal GUI window where you can select a backup version by entering the corresponding number and pressing enter and afterwards pressing ''o'' and enter. The file will then be fetched from the backup (which might take a while). When asking to restore all files within a directory be sure to add a wild card asterisk at the end of the selected path: ''/*''. <callout type="info" icon="true"> If you try to restore both an active and inactive version of a file at the same time, only the active version is restored. </callout> start/fs_dm/filesystems/backup.txt Last modified: 2020/04/16 11:58by jrutte02