Snapshots on NIRD
Both home directories (/nird/home/$USER
) and all project areas in
NIRD TS (/nird/projects/NSxxxxK
) and NIRD DL (/nird/datalake/NSxxxxK
)
have temporary backup in the form of snapshots.
Snapshots are taken with the following frequencies:
/nird/home/$USER
:daily snapshots for the last 7 days
weekly snapshots for the last 6 weeks
/nird/projects/NSxxxxK
:daily snapshots for the last 7 days
weekly snapshots for the last 6 weeks
/nird/datalake/NSxxxxK
:daily snapshots for the last 7 days
weekly snapshots for the last 6 weeks
Warning
Kindly note that snapshots are temporary and if the datasets needs higher level of security and permanent back up, project leaders must use Backup as a Service on NIRD.
Where the snapshots are located
The NIRD $HOME
and NS project snapshots are available under:
/nird/home/.snapshots
/nird/projects/NSxxxxK/.snapshots
/nird/datalake/NSxxxxK/.snapshots
A deleted/overwritten file in the home directory on NIRD can be recovered like this:
$ cp /nird/home/.snapshots/DATE/$USER/mydir/myfile /nird/home/$USER/mydir/
Note that snapshots are taken every night only. This means that deleted files which did not exist yet yesterday cannot be recovered from snapshots.
To recover a deleted or overwritten file in NIRD TS /nird/projects/NSxxxxK/dataset1/myfile
,
you can copy a snapshot back to the folder and restore the deleted/overwritten file like this::
$ cp /nird/projects/NSxxxxK/.snapshots/DATE/dataset1/myfile /nird/projects/NSxxxxK/dataset1/
To recover a deleted or overwritten file in NIRD DL /nird/datalake/NSxxxxK/dataset1/myfile
,
you can copy a snapshot back to the folder and restore the deleted/overwritten file like this:
$ cp /nird/projects/NSxxxxK/.snapshots/DATE/dataset1/myfile /nird/projects/NSxxxxK/dataset1/
Select the DATE accordingly to your case.