Submitted originally by: petter.olsson
We currently receive many question how to sync large files or many files to your Domino project. The most common idea is to sync using the Domino CLI or using our GUI to do so but there are some limitations. Here we show an alternative solution that will also continue from where it stopped should your connection be interrupted and might increase sync performance.
Workspace and Command line option
Requirements: ssh key added to your account settings
Create a new Domino project without any files and launch your Workspace.
Now find your ssh command to login into your container. Depending on your version of Domino this varies a bit but generally you can find this on your Runs/Jobs page at the bottom of the logs panel. Here is an example from my version:
Find the directory you want to sync and run this rsync command:
Note: If you are using our cloud environment, the max file size is 5GB. This is a limitation of AWS S3. If your file is larger than 5GB contact Domino or use the AWS multipart upload API (https://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html)
rsync -avx --numeric-ids --progress -e "ssh -p 49021 -T -o Compression=no -x" /mylocaldir firstname.lastname@example.org:/mnt
a: archive mode - recursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
v: increase verbosity
x: don't cross file-system boundaries
--numeric-ids: don't map uid/gid values by user/group name
--progress: show progress during transfer
T: turn off pseudo-tty to decrease cpu load on destination.
o Compression=no: Turn off SSH compression.
x: turn off X forwarding if it is on by default.