IT-Wissen/datentransfer
2024-10-03 20:47:28 +02:00
..
README.md various 2024-10-03 20:47:28 +02:00

Table of Contents

Datentransfer

SCP

lokal auf server

scp -oProxyCommand="ssh -W %h:%p ubuntu@jumphost-cosmos.docuteam.cloud" <datei.endung> ubuntu@10.0.3.137:/home/ubuntu

server auf lokal

mit Jumphost.

scp -r -oProxyJump=ubuntu@jumphost-cosmos.docuteam.cloud butler@10.7.1.97:/home/butler/actions/clients/640/workbench/0_preparation/Sefar "/mnt/scratch/640 Sefar"

rsync

https://www.tecmint.com/rsync-local-remote-file-synchronization-commands/

Files und Ordner von Server nach lokalem Verzeichnis kopieren

rsync -e "ssh -i ~/.ssh/id_rsa" -avzh administrator@33766.hostserv.eu:/var/www/ig_baumfreunde .

oder

rsync -e "ssh -i ~/.ssh/id_rsa" -avzhu --ignore-existing administrator@33766.hostserv.eu:/var/www/ig_baumfreunde .

robocopy

ToDo