SCP adalah tools yang di gunakan untuk mentransfer file ataupun folder melalui SSH. di bawah ini penggunaan SCP untuk mentransfer file sql.
mysqldump -u [username] -p [database_name] > /path/[nama_file.sql]
mysql -u [username] -p [database_name] < /path/[nama_file.sql]
scp /path/to/local/file username@hostname:/path/to/remote/file
scp username@hostname:/path/to/remote/file /path/to/local/file