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:
cd /home; rsync -avr -z -e ssh [email protected]:/home/* ./
or executing this one at old server to send backup file to a new server:

scp backupname.tar.gz [email protected]:/home
after done extracting at new server using tar -xfvz backupname.tar.gz

or this one on source server, while partitions on both servers are unmounted:
dd if=/dev/sda | gzip | ssh [email protected] 'gzip -d | dd of=/dev/sda'
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/