To quickly copy files between the storage and your server, it is quite convenient to use the RSYNC utility, it is able to transfer files via the secure SSH protocol and resume the transfer in case of interruption.
Basic command syntax:
rsync -Pre 'ssh -p23' PATH_SERVER LOGIN@LOGIN.your-storagebox.de:PATH_STORAGEBOX
Put in the team:
PATH_SERVER
— path from where to copy files on the serverLOGIN
— login of the storage userPATH_STORAGEBOX
— the path to where to copy files in the storageKeys used:
P
is the same as --partial --progressr
is recursive copying, same as --recursivee
is an additional command to specify the connection port An example of copying all files from the /home/myfiles/
folder to the backup
folder:
rsync -Pre 'ssh -p23' /home/myfiles/ u123456@u123456.your-storagebox.de:backup
To back-copy files from the storage to the server, swap PATH_SERVER
and PATH_STORAGEBOX
:
rsync -Pre 'ssh -p23' u123456@u123456.your-storagebox.de:backup /home/myfiles/
All question categories