Backup data from Server A to Server B using FTP

Message to self: to have all data from servage retrieved directly to the new server this following command can be used. You need SSH on your new server.

lftp -u ‘[username],[password]’ -e “mirror /path /destination/path new server”

This command needs to be entered in a ssh session. As we speak this command is already downloading my data for about 12 hours now ..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.