BwFileStorage rsync: Difference between revisions

From Lsdf
Jump to navigationJump to search
(Created page with "<H1>Using rsync from UNIX client via the login-cluster</H1> '''Example:''' <pre> >rsync -e 'ssh -c arcfour -p 22' --timeout=180 –av /user path/ ka_xy1234@bwfilestorage-logi...")
 
No edit summary
Line 3: Line 3:
'''Example:'''
'''Example:'''
<pre>
<pre>
>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
>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:
ka_xy1234@bwfilestorage-login.lsdf. kit.edu's password:

Revision as of 23:30, 22 February 2015

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.