302 B
302 B
ubuntu & debian系统安装 rsync
apt install rsync
ubuntu & debian 系统安装 sshpass
apt install sshpass
rsync通过ssh 传输文件到nas
sshpass -p 'Sunqi0220.' rsync -av -e 'ssh' --progress /root/data/sql rsyncuser@rsynchost::share/backup/sql