Differences between revisions 5 and 14 (spanning 9 versions)
Revision 5 as of 2016-05-31 14:01:26
Size: 1614
Editor: mreimers
Comment:
Revision 14 as of 2018-04-03 15:34:43
Size: 0
Editor: mreimers
Comment: currently obsolete after HOME migration from ID to ISG/verdi
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Data Restore ==

In the case of data loss due to deletion my mistake the more or less classic scenario was to restore the data from backup tape.
Since the access to the backup is limited to the root user a support request has to been filed each time.

With the introduction of the new storage system data can be restored from so called snapshots by the owner himself.

Some details about snapshots:

 * The snapshots are provided for the last 6 days
 * Restoring older data still requires a support request and a restore from tape
 * In general a snapshot is taken once per day, approx. between 0:00 and 2:00 am.
 * All snapshots have the same file permissions as their original data.
 * Snapshot are read-only (NOT writable)


General Info: Backup data on tape are kept for 90 days. Older data '''can not''' be restored.


=== Restore from Linux ===
In your home a directory `SNAPSHOT` provides access to all your personal snapshots.
{{{
 /home/$username/SNAPSHOT
}}}

The available snapshots are named from 0 to 5 with 0 being the newest and 5 the oldest snapshot. The snapshot names are updated in a rotation manner once per day.
A further snapshot link is called `last` and points as the named indicates to the latest (i.e. the newest) snapshot.

A snapshot behaves like a filesystem so you can navigate inside the snapshot by using a shell or your favorite file manager. You can apply most of the linux file tools on the snapshots' content like `ls`, `stat`, `diff`, `cp` etc.

To restore data from a snapshot simply copy the data from the snapshot to the final destination.