How to transfer backup through ssh

Started by AG184, August 23, 2022, 03:04:52 PM

Previous topic - Next topic

AG184

i need to transfer backup file from old server  through ssh to the new server :)

bullten

Quote from: AG184 on August 23, 2022, 03:04:52 PM
i need to transfer backup file from old server  through ssh to the new server :)

did you try rsync?

AG184


AG184


overseer

A sample command (from a remote cPanel to the local CWP) is listed on the wiki here:
http://wiki.centos-webpanel.com/how-to-manually-import-emails
rsync -avz -e "ssh -p 22" root@185.185.185.185:/home/USERNAME/mail/DOMAIN/USERNAME/ /var/vmail/DOMAIN/USERNAME/