Hello, please what commands do you suggest when moving all data from one linux Webserver to another? Assuming i have only command line available, SSH on both servers
---
someone adviced rsync /home directory. Executing following command on destination (new) server:
or executing this one at old server to send backup file to a new server:cd /home; rsync -avr -z -e ssh [email protected]:/home/* ./
after done extracting at new server using tar -xfvz backupname.tar.gzscp backupname.tar.gz [email protected]:/home
or this one on source server, while partitions on both servers are unmounted:
here is script to backup particular folder and mysql databases REGULARLY from one server to another: http://internetlifeforum.com/linux-forums/2526-how-backup-files-linux-server-server-automatically-cronjob/dd if=/dev/sda | gzip | ssh [email protected] 'gzip -d | dd of=/dev/sda'
Bookmarks