FastNetMon

Showing posts with label SCP. Show all posts
Showing posts with label SCP. Show all posts

Wednesday, 7 April 2010

Бэкап MySQL баз по SSH


mkdir /home/back
/usr/bin/mysqldump -u имя -pпароль -f --all-databases | gzip -c > /home/back/allbases`date "+%Y-%m-%d"`.sql.gz


scp -r /home/back user@ip:/root/back

Не выйдет с scp, смотрите команду sftp

http://forum.searchengines.ru/showpost.php?p=6680551&postcount=385

Friday, 8 January 2010

scp vs sftp

SCP is strongly based on SFTP but is often a more suitable choice when setting up unattended file transfers using scripts.

(c) http://geekswithblogs.net/bvamsi/archive/2006/03/23/73147.aspx

Wednesday, 30 December 2009

scp / sftp command not found, CentOS 5

# scp
-bash: scp: command not found
# sftp
-bash: sftp: command not found


Fix:
yum -y install openssh-clients