Backing-up and Exporting Volumes and Files

Users should regularly backup any critical data in their Instance, especially data contained on Volumes, as no automated backup functions are currently provided by Jetstream.

Listed below are examples of methods to transfer files from Volumes though similar syntax would work from any directory of the Instance.

In the following examples, the user is assumed to be using the command line from within an Instance, thus local-user means a user id on the Instance and remote-user means a user id on a computer outside of Jetstream.

SCP, SSH, and TAR:

scpOne simple way to transfer the data on your Volume is using scp:

$ scp /vol_b/file remote-user@destination_server_ip:/path/


tar with ssh: Use tar with ssh to transfer an entire directory or a file:

$ tar czf - /vol_b/directory-or-file | ssh remote-user@destination_server_ip 'tar xzf -'


tar with ssh: As above, but leave the files in a remote archive:

$ tar czf - /vol_b/directory | ssh remote-user@destination_server_ip 'cat - > archive.tar.gz'


DD with SSH:

dd with ssh: Use dd with ssh to copy your entire Volume to a remote image file:

$ df -kh
/dev/sdb        9.9G  151M  9.2G   2% /vol_b
$ dd if=/dev/sdb | ssh remote-user@destination_server_ip 'dd of=vol1.img'



rsync: Use rsync to transfer an entire directory without encryption:

$ rsync -avtr /vol_b remote-user@destination_server_ip:/path/


rsync with ssh: Use rsync with ssh to transfer an entire directory with encryption and between different local and remote users:

$ rsync -avtr -e 'ssh -l local-user' /vol_b remote-user@destination_server_ip:/path/


GLOBUS File Transfer Tools:

Instructions for installing and using /wiki/spaces/JWT/pages/17465379.