Created
April 10, 2016 11:42
-
-
Save nitincoded/ac3b7333759341543049b0914d12a20f to your computer and use it in GitHub Desktop.
Copy local backups to remote NAS using WinSCP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /console /command "open scp://root:[email protected]" "synchronize remote -filemask=>3D D:\Backup /volume1/Backup" exit | |
#Try one of these to accept the remote signature | |
#"C:\Program Files (x86)\WinSCP\WinSCP.exe" scp://root:[email protected] | |
#"C:\Program Files (x86)\WinSCP\WinSCP.exe" /command "open scp://root:[email protected]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment