{"id":49,"date":"2005-01-08T16:33:00","date_gmt":"2005-01-08T21:33:00","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=49"},"modified":"2005-01-08T16:33:00","modified_gmt":"2005-01-08T21:33:00","slug":"remote-backup-via-ssh","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=49","title":{"rendered":"Remote Backup via SSH"},"content":{"rendered":"<p>I have a firewall box that doesn&#8217;t have a DVD burner on it.  Its entire filesystem is about 3GB, making backup to a single DVD easy.  This is how I get the backup to the host with the DVD burner.  On the firewall, I run this:<br \/>\n<br \/><code>tar czf - \/ 2>\/var\/log\/backup-full.log | (ssh me@dvdhost \"cat > \/backupdir\/remote-backup.tgz\" )<\/code><br \/>\n<br \/>Then I go to the DVD burner host and use the DVD writing commands to back it up:<br \/>\n<br \/><code>dvd+rw-format \/dev\/dvd<br \/>growisofs -Z \/dev\/dvd -R -J \/backupdir\/remote-backup.tgz<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a firewall box that doesn&#8217;t have a DVD burner on it. Its entire filesystem is about 3GB, making backup to a single DVD easy. This is how I get the backup to the host with the DVD burner. On the firewall, I run this: tar czf &#8211; \/ 2>\/var\/log\/backup-full.log | (ssh me@dvdhost &#8220;cat [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":0,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}