Control Web Panel

WebPanel => Migration from other control panels => Topic started by: AG184 on August 23, 2022, 03:04:52 PM

Title: How to transfer backup through ssh
Post by: AG184 on August 23, 2022, 03:04:52 PM
i need to transfer backup file from old server  through ssh to the new server :)
Title: Re: How to transfer backup through ssh
Post by: bullten 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?
Title: Re: How to transfer backup through ssh
Post by: AG184 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
Title: Re: How to transfer backup through ssh
Post by: AG184 on June 02, 2023, 03:10:23 AM
PLEASE SEND ME THE COMMAND
Title: Re: How to transfer backup through ssh
Post by: overseer 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 (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/