Writing a script to backup my server. I have the ssh key made, I have the file system figured out on the server and the proper rsync command.
here is the a pic of the command line with me connected to the server
here is the script I want to use I think
#!/bin/bash
Default port
rsync -avz -e ssh
Non standard port
rsync -avz -e “ssh -p 2244”
please help me lol