Strumenti Utente

Strumenti Sito


oph:cluster:archiver

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisioneRevisione precedente
Prossima revisione
Revisione precedente
oph:cluster:archiver [2023/10/18 07:58] – versione precedente ripristinata (2023/10/18 08:43) carlo.cintolesi@unibo.itoph:cluster:archiver [2025/04/30 04:36] (versione attuale) – [Which data] diego.zuccato@unibo.it
Linea 5: Linea 5:
 ==== Which data ==== ==== Which data ====
  
-Archiving concerns data folders not currently in use, i.e. data that you want to keep in memory but do not plan to use 'soon' (like in one month, not one year). These must be compressed and stored in ''[[oph:cluster:storage#scratch|/scratch]]'' partition.+Archiving concerns data folders not currently in use, i.e. data that you want to keep available but do not plan to use 'soon' (like in one month, not one year). These must be compressed and stored in ''[[oph:cluster:storage#archive|/archive]]'' partition.
  
 ==== Why mandatory ==== ==== Why mandatory ====
Linea 12: Linea 12:
  
 ==== How to do ==== ==== How to do ====
-The archiving procedure comprises two steps: compressing the folders into a .tgz format and storing the archive in its own folder on the ''/scratch'' partition. To simplify the operation, the archiver utility was created for this task. The source code for the utility is located in ''/home/software/utils/archiver'' in read-only mode.+The archiving procedure comprises two steps: compressing the folders into a .tgz format and storing the archive in its own folder on the ''/archive'' partition. To simplify the operation, the archiver utility was created for this task. The source code for the utility is located in ''/home/software/utils/archiver'' in read-only mode.
  
 == Practical guide to using ''archiver'' == == Practical guide to using ''archiver'' ==
  
-  - Create a folder in ''/scratch/yourGroup/name.surnameNumber'' (**if it is not already there!**), where //yourGroup// is the research group of affiliation and //name.surnameNumber// is the beginning of your institutional e-mail.<code> +  - Create a folder in ''/archive/yourGroup/name.surnameNumber'' (**if it is not already there!**), where //yourGroup// is the research group of affiliation and //name.surnameNumber// is the beginning of your institutional e-mail.<code> 
-$ mkdir /scratch/yourGroup/name.surnameNumber</code>+$ mkdir /archive/yourGroup/name.surnameNumber</code>
   - Load the cluster utilities by adding ''module load utils'' to the ''.bashrc'' file in your home folder (**do this just once**).<code>   - Load the cluster utilities by adding ''module load utils'' to the ''.bashrc'' file in your home folder (**do this just once**).<code>
 cd  cd 
 echo "module load utils" >> .bashrc</code> echo "module load utils" >> .bashrc</code>
   - Use archiver to archive and move individual folders in one shot. You need to specify (first argument) the path to where to store the compressed folder and (second argument) the path to the original uncompressed folder.<code>   - Use archiver to archive and move individual folders in one shot. You need to specify (first argument) the path to where to store the compressed folder and (second argument) the path to the original uncompressed folder.<code>
-archiver /scratch/yourGroup/name.surnameNumber/foldername.tgz /path-to-folder-to-be-archived/folderName</code>+archiver /archive/yourGroup/name.surnameNumber/foldername.tgz /path-to-folder-to-be-archived/folderName</code>
  
 == Important notes: == == Important notes: ==
oph/cluster/archiver.1697615928.txt.gz · Ultima modifica: 2023/10/18 07:58 da carlo.cintolesi@unibo.it

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki