'Can a Machine Send an Image of Itself Through SSH?

I was looking into storing a backup of my raspberry pi on my PC, and since SSH is set up on it already, I think it would be nice if I could just write a script to send the contents of the SD card from the pi to my pc. Is this something computers are capable of? Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source