| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| hpc:best_practices [2024/10/07 08:15] – [HPC cluster user departure procedure] Adrien Albert | hpc:best_practices [2026/02/02 15:08] (current) – Yann Sagon |
|---|
| * This is optional, but you can specify the level of details you want with the ''<nowiki>--mail-type</nowiki>'' parameter | * This is optional, but you can specify the level of details you want with the ''<nowiki>--mail-type</nowiki>'' parameter |
| |
| ====== Transfer data from cluster to another with ====== | ====== Transfer data from one cluster to another ====== |
| ===== Rsync ===== | ===== Rsync ===== |
| This help assumes you want transfer the directory ''<nowiki>$HOME/my_projects/the_best_project_ever</nowiki>'' from baobab to yggdrasil at the same path. You can adapt your case by changing the variables. | This help assumes you want transfer the directory ''<nowiki>$HOME/my_projects/the_best_project_ever</nowiki>'' from baobab to yggdrasil at the same path. You can adapt your case by changing the variables. |
| * ''<nowiki>-u</nowiki>'' makes rsync transfer skip files which are newer in dest than in src | * ''<nowiki>-u</nowiki>'' makes rsync transfer skip files which are newer in dest than in src |
| * ''<nowiki>-z</nowiki>'' turns on compression, which is useful when transferring easily-compressible files over slow links | * ''<nowiki>-z</nowiki>'' turns on compression, which is useful when transferring easily-compressible files over slow links |
| * ''<nowiki>-P</nowiki>'' turns on --partial and --progress | * ''<nowiki>-P</nowiki>'' turns on ''<nowiki>--partial</nowiki>'' and ''<nowiki>--progress</nowiki>'' |
| * ''<nowiki>--partial</nowiki>'' makes rsync keep partially transferred files if the transfer is interrupted | * ''<nowiki>--partial</nowiki>'' makes rsync keep partially transferred files if the transfer is interrupted |
| * ''<nowiki>--progress</nowiki>'' shows a progress bar for each transfer, useful if you transfer big files | * ''<nowiki>--progress</nowiki>'' shows a progress bar for each transfer, useful if you transfer big files |