I'm rewriting my original question because I realized this is more efficient:
I'd like to tar and gzip my website files and then download it.
I know I can tar and gzip it with one command using tar with cvzf.
And then I can download it to my personal computer using rsync with a command like: rsync -av --stats [email protected]:/remote_directory_path/filename /local_directory_path/filename
Can I combine this into one command?
Or if someone can suggest their best methods for downloading a web directory to their local machine for backup purposes as one file.
tar.gz
backup of the remote server?