Author Topic: How to transfer backup through ssh  (Read 3114 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to transfer backup through ssh
« on: August 23, 2022, 03:04:52 PM »
i need to transfer backup file from old server  through ssh to the new server :)

Offline
***
Re: How to transfer backup through ssh
« Reply #1 on: August 24, 2022, 09:25:39 AM »
i need to transfer backup file from old server  through ssh to the new server :)

did you try rsync?

Offline
*
Re: How to transfer backup through ssh
« Reply #2 on: June 02, 2023, 03:09:29 AM »
i need to transfer backup file from old server  through ssh to the new server :)

did you try rsync?
yes

Offline
*
Re: How to transfer backup through ssh
« Reply #3 on: June 02, 2023, 03:10:23 AM »
PLEASE SEND ME THE COMMAND

Offline
*****
Re: How to transfer backup through ssh
« Reply #4 on: June 02, 2023, 01:18:15 PM »
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
Code: [Select]
rsync -avz -e "ssh -p 22" root@185.185.185.185:/home/USERNAME/mail/DOMAIN/USERNAME/ /var/vmail/DOMAIN/USERNAME/