LSDF Online Storage: Snapshots: Difference between revisions

From Lsdf
Jump to navigationJump to search
(Created page with "Snapshots are used to create a point-in-time copy of a file system or file sets. Snapshots can be used to quickly restore files or folders that were unintentionally deleted. S...")
 
No edit summary
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Snapshots can be used to quickly restore files or folders that were unintentionally deleted. Snapshots also provide a form of file versioning and the ability to revert to a previous version of a file, depending on the time interval between snapshots.
Snapshots can be used to quickly restore files or folders that were unintentionally deleted. Snapshots also provide a form of file versioning and the ability to revert to a previous version of a file, depending on the time interval between snapshots.


Snapshots for LSDF storage projects are available in the sub directory ''.snapshots'' in the base directory of you OE (e.g. ''/lsdf/kit/scc/projects/.snapshots''). Snapshots for user home directories are available in the directory ''/lsdf/kit/.snapshots''. On the [[LSDF Online Storage:_Secure_Shell|login machines]] these directories are mapped with two environment variables ''$PROJECTSNAPSHOTS'' and ''$SNAPSHOTS''.
'''LSDF User Snapshots:'''


To access the snapshots of the user directories on the login machines:
<pre>
<pre>
>ssh loginname@os-login.lsdf.kit.edu
$ ssh loginname@os-login.lsdf.kit.edu
>cd $SNAPSHOTS
$ cd $SNAPSHOTS
>ls
$ ls
daily-2018.02.02-03.00.12 monthly-2017.11.30-23.00.12
daily-2018.02.02-03.00.12 monthly-2017.11.30-23.00.12
daily-2018.02.03-03.00.12 monthly-2017.12.31-23.00.12
daily-2018.02.03-03.00.12 monthly-2017.12.31-23.00.12
Line 17: Line 18:
</pre>
</pre>


To access the snapshots of the project directories on the login machines:
'''LSDF Project Snapshots'''
<pre>
<pre>
>ssh loginname@os-login.lsdf.kit.edu
$ ssh loginname@os-login.lsdf.kit.edu
>ls $PROJECTSNAPSHOTS
$ ls $PROJECTSNAPSHOTS
daily-2018.02.06-05.00.58
daily-2018.02.06-05.00.58
daily-2018.02.07-05.00.58
daily-2018.02.07-05.00.58
Line 27: Line 28:
</pre>
</pre>


Additional information can be found in the description of the [[LSDF_Online_Storage:_Filesystems|LSDF file system characteristics]].
[[LSDF_Online_Storage_Filesystem|Some of the characteristics of the file systems are shown in Table. ]]
<hr>
<br>
<br>


[[Category:LSDF_Online_Storage|Snapshots]]
[[Category:LSDF_Online_Storage|Snapshots]]

Revision as of 14:45, 9 August 2019

Snapshots are used to create a point-in-time copy of a file system or file sets. Snapshots can be used to quickly restore files or folders that were unintentionally deleted. Snapshots also provide a form of file versioning and the ability to revert to a previous version of a file, depending on the time interval between snapshots.

Snapshots for LSDF storage projects are available in the sub directory .snapshots in the base directory of you OE (e.g. /lsdf/kit/scc/projects/.snapshots). Snapshots for user home directories are available in the directory /lsdf/kit/.snapshots. On the login machines these directories are mapped with two environment variables $PROJECTSNAPSHOTS and $SNAPSHOTS.

To access the snapshots of the user directories on the login machines:

$ ssh loginname@os-login.lsdf.kit.edu
$ cd $SNAPSHOTS
$ ls
daily-2018.02.02-03.00.12  monthly-2017.11.30-23.00.12
daily-2018.02.03-03.00.12  monthly-2017.12.31-23.00.12
daily-2018.02.04-03.00.12  monthly-2018.01.31-23.00.12
daily-2018.02.05-03.00.12  weekly-2018.01.14-14.30.12
daily-2018.02.06-03.00.12  weekly-2018.01.21-14.30.12
daily-2018.02.07-03.00.12  weekly-2018.01.28-14.30.12
daily-2018.02.08-03.00.12  weekly-2018.02.04-14.30.12

To access the snapshots of the project directories on the login machines:

$ ssh loginname@os-login.lsdf.kit.edu
$ ls $PROJECTSNAPSHOTS
daily-2018.02.06-05.00.58 
daily-2018.02.07-05.00.58
daily-2018.02.08-05.00.58
...

Additional information can be found in the description of the LSDF file system characteristics.