[Network]_[0 base]_[use putty to back up remote data]

Source: Internet
Author: User


Scene:

1. Putty is one of the free clients who visit Linux services on Windows. It is common practice to use it to SSH to remote server to back up data (before you do your own proactive backup mechanism), though it is not difficult to pass the Putty interface. But every time

Repetitive work is always annoying, when you can use the Putty Command line tool + batch to write your own proactive backup download tool.


Write a batch file: Backup.bat

@echo Off@echo start backing up data putty\plink.exe-ssh  -L account name-PW password 192.168.0.112 sh/home/admin/backup.shputty\pscp.exe- R-sftp-l account name-pw password 192.168.0.112:/home/admin/mysqlbackup.sql. @echo Backup End


[Network]_[0 base]_[use putty to back up remote data]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.