Backup HDD To Remote Host
Make a backup of a local hard disk on remote host via ssh
dd bs=1M if=/dev/hda | gzip | ssh user@ip_addr 'dd of=hda.gz'
Make a backup of a local hard disk on remote host via ssh
dd bs=1M if=/dev/hda | gzip | ssh user@ip_addr 'dd of=hda.gz'
Synchronize a local directory with a remote directory via ssh and compression
rsync -az -e ssh --delete ip_addr:/home/public /home/local
Copy a file to a remote system using FTP with the Curl command…
curl -T filename.txt -u username:password ftp://example.cot/filename.txt
Copy files/folder from a remote server to this system.
scp -r binnyva@192.168.0.100:/home/binnyva/folder_to_copy .
Copy files/folder to a remote server.
scp <file> binnyva@192.168.0.100:/home/binnyva/
scp -r <folder> binnyva@192.168.0.100:/home/binnyva/
Run a remote GUI tool in a local system
ssh -X neo@192.168.0.30 /usr/bin/kate
You can connect to a remote mysql server if you have the necessary permissions…
mysql -h mysql.remote.com -u user
Backups the script folder to a remote location. Original Article…
rsync -avze ssh Scripts/ binnyva@binnyva.com:backup/Scripts/