SSHBackup connects to your server via ssh and executes a command or script of your choosing. The command needs to pipe the backup data to stdout, in order for SSHBackup to catch it up and store it in a place of your choosing.
An example would be the following command, which stores all data in the root-directory in a tar-archive, and writes that to stdout.
tar cfvz - / -C /