BwFileStorage rsync

From Lsdf
Revision as of 23:30, 22 February 2015 by Obholz (talk | contribs)
Jump to navigationJump to search

Using rsync from UNIX client via the login-cluster

Example:

>rsync -e 'ssh -c arcfour -p 22' --timeout=180 –av /user path/ ka_xy1234@bwfilestorage-login.lsdf.kit.edu:~/bwfs path/ 1>/tmp/ka_xy1234.msg 2>/tmp/ka_xy1234.err

ka_xy1234@bwfilestorage-login.lsdf. kit.edu's password:

We recommend the arcfour- or aes128-cbc-algorithm for the encryption of the transmission.

As during all transfers errors might occur, we recommend controlling the correct transfer by checking the return value and rerun the transfer if it is not zero.

> echo  $?


If you continue to work in bwgrid and delete data there you can use the option ‚--delete‘. With this your copy in bwFileStorage will be kept up to date. The option ‚--delete‘ deletes files in the target directory if they were deleted in the source directory.