...
No Format |
---|
ec_restore_local_ssd -r |
Note |
---|
title | Always remember to restore |
---|
|
If you do not restore after starting a new session and you use the $LOCALSSD in the new session, a new archive will be created when the job ends and so you will not have the previous data in this archive. You may still recover the last-but-one archive with: No Format |
---|
ec_restore_local_ssd -p |
Note that if you don't use your $LOCALSSD , your last saved archive will not be overwritten at the end of the job. |
Beyond the basic usage, the ec_restore_local_ssh
command has some additional options that allow you to customise your restore.
You may run the command with no arguments to see your saved SSD backups and all the available options:
No Format |
---|
$ ec_restore_local_ssd
These are your available archives:
-rw-r--r-- 1 root root 10119290880 Dec 13 23:36 /hpcperm/user/.DO_NOT_DELETE_LOCALSSD_ARCHIVE/user-ecinteractive.LOCALSSD.tar.latest
-rw-r--r-- 1 root root 45649920 Oct 31 01:07 /hpcperm/user/.DO_NOT_DELETE_LOCALSSD_ARCHIVE/user-ecinteractive.LOCALSSD.tar.prev
/usr/local/bin/ec_restore_local_ssd [OPTIONS]
OPTIONS:
-h: usage
-r: Restore the .latest (most recent) archive
-p: Restore the .prev version of the archive
-d: Delete any data currently in your /etc/ecmwf/ssd/ssd1/ecinteractive/user-ecinteractive for fresh start
__ ___ ____ _ _ ___ _ _ ____
\ \ / / \ | _ \| \ | |_ _| \ | |/ ___|
\ \ /\ / / _ \ | |_) | \| || || \| | | _
\ V V / ___ \| _ <| |\ || || |\ | |_| |
\_/\_/_/ \_\_| \_\_| \_|___|_| \_|\____|
The following flags for FORCE restoring is AT YOUR OWN RISK.
Consider using the delete flag first to cleanup, otherwise you are just adding to/overwriting the current data
-R: Force the restore of /hpcperm/user/.DO_NOT_DELETE_LOCALSSD_ARCHIVE/user-ecinteractive.LOCALSSD.tar.latest file into a populated /etc/ecmwf/ssd/ssd1/ecinteractive/user-ecinteractive
-P: Force the restore of /hpcperm/user/.DO_NOT_DELETE_LOCALSSD_ARCHIVE/user-ecinteractive.LOCALSSD.tar.prev file into a populated /etc/ecmwf/ssd/ssd1/ecinteractive/user-ecinteractive |
How much LOCALSSD space can I use?
...
Multiexcerpt |
---|
MultiExcerptName | localssd_limits |
---|
|
| Default size | Maximum size |
---|
HPC interactive session | 3 GB | 100 GB |
---|
ECS Interactive session | 3 GB | 20 GB |
---|
|