Difference between revisions of "File system"
Albensoeder (talk | contribs) |
|||
Line 1: | Line 1: | ||
== | == User directories == | ||
== Snapshot functionality == | |||
Note that within your homedirectory, several states of your system | Note that within your homedirectory, several states of your system | ||
Line 12: | Line 16: | ||
amended by the changes you make in bit-by-bit fashion. | amended by the changes you make in bit-by-bit fashion. | ||
The folder that contains your particular snapshots is located in your homedirectory. It | The folder that contains your particular snapshots is located in every directory an subdirectory of your homedirectory. It | ||
is a ''hidden'' directory that is also '''not''' visible if you list the content of your | is a ''hidden'' directory that is also '''not''' visible if you list the content of your | ||
directory via | |||
To | |||
ls -la | |||
To see the snapshots you have to enter the respective hidden directory by | |||
cd .snapshot | |||
Within that directory the snapshots with timestamps are visible, e.g. | |||
<nowiki> | <nowiki> | ||
hpc_user_daily_2013-06-28_01-00 | hpc_user_daily_2013-06-28_01-00 | ||
hpc_user_daily_2013-06-29_01-00 | hpc_user_daily_2013-06-29_01-00 | ||
Line 42: | Line 50: | ||
hpc_user_weekly_recent | hpc_user_weekly_recent | ||
</nowiki> | </nowiki> | ||
I.e., snapshots | |||
time where they where taken. Within these folders you find the | I.e., the snapshots distinguished by the precise points in | ||
file-structure | time where they where taken. Within these folders you find the | ||
file-structure at the timestamp of the parent directory you are in. |
Revision as of 08:53, 5 July 2013
User directories
Snapshot functionality
Note that within your homedirectory, several states of your system at particular points in time, termed snapshots, are available. In case you deleted or overwrote files accidentally, this comes in handy and can be used to restore the respective files as they appeared in previous versions. However, note that the term version is not fully correct: actually, the appearance of the files at previous times is stored and the available snapshots can be distinguished by means of their time-stamps. As a technical aside and from a more coarse grained point of view, note that a snapshot is not a full copy of your full data. Instead, from one snapshot to the next (in time), it is amended by the changes you make in bit-by-bit fashion.
The folder that contains your particular snapshots is located in every directory an subdirectory of your homedirectory. It is a hidden directory that is also not visible if you list the content of your directory via
ls -la
To see the snapshots you have to enter the respective hidden directory by
cd .snapshot
Within that directory the snapshots with timestamps are visible, e.g.
hpc_user_daily_2013-06-28_01-00 hpc_user_daily_2013-06-29_01-00 hpc_user_daily_2013-06-30_01-00 hpc_user_daily_2013-07-01_01-00 hpc_user_daily_2013-07-02_01-00 hpc_user_daily_2013-07-03_01-00 hpc_user_daily_2013-07-04_01-00 hpc_user_daily_recent hpc_user_hourly_2013-07-03_20-00 hpc_user_hourly_2013-07-04_00-00 hpc_user_hourly_2013-07-04_04-00 hpc_user_hourly_2013-07-04_08-00 hpc_user_hourly_2013-07-04_12-00 hpc_user_hourly_2013-07-04_16-00 hpc_user_hourly_recent hpc_user_weekly_2013-06-10_02-00 hpc_user_weekly_2013-06-17_02-00 hpc_user_weekly_2013-06-24_02-00 hpc_user_weekly_2013-07-01_02-00 hpc_user_weekly_recent
I.e., the snapshots distinguished by the precise points in time where they where taken. Within these folders you find the file-structure at the timestamp of the parent directory you are in.