Our administrator said us to backup our data from one cluster to another because the first has a chance to fall out in the near future.
I encountered a very strange phenomenon with anaconda3 directory (this is not necessary data but I am very interested to figure it out). It weighs 9.4 G before transferring & 20 G after it (I checked through du -sh
).
I use sftp as sftp -Cpr -o ServerAliveInterval=60 -o ServerAliveCountMax=5 -P [*****] user@host.domain
& a command get get -pr ~/anaconda3 ~/backup/
.
Why are the sizes so different?
du -lsh
? – muru Jun 03 '22 at 09:22rsync
has a--hard-links
/-H
option – muru Jun 03 '22 at 09:47sparse
?find
has a%S
print option to report sparseness, but you cannot select files based on sparseness. – Paul_Pedant Jun 03 '22 at 10:06