tar cvzj - /your_local_dir | ssh root@192.168.2.1 "dd of=/backup/local_dir.tar.bz2"How to restore a remote tar to a local file sistem:
cd / ssh root@192.168.2.1 "cat /backup/local_dir.tar.bz2" | tar zxvj -include($_SERVER["DOCUMENT_ROOT"] . "/support/footer.php"); ?>