-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
put: command not found on Centos 6 #5
Comments
debian either, the local backup is working, just the remote problem 'put: command not found' |
I have a port 222 for remote server I modified your code like this
|
Custom port support added in commit "d3e24cb" |
rsync is better solution 🍆 |
I have tried it again ... PUT command not found..apparently my system don't want to understand it this worked for me:
cd $backup_path
sshpass -p $PASSWORD ssh -p $PORT $USERNAME@$SERVER
cd $REMOTDIR
put $FILE
with |
@ecowebdesign i have do some test and it work fine, i will replace PUT whit rsync |
./script.sh: line (66): put: command not found
The text was updated successfully, but these errors were encountered: