{"id":843,"date":"2012-07-27T00:07:38","date_gmt":"2012-07-27T08:07:38","guid":{"rendered":"http:\/\/blog.portnumber53.com\/?p=843"},"modified":"2012-07-27T00:07:38","modified_gmt":"2012-07-27T08:07:38","slug":"hosting-backing-up-your-mediatemple-using-rsync-and-a-linux-box","status":"publish","type":"post","link":"https:\/\/blog.portnumber53.com\/index.php\/2012\/07\/27\/hosting-backing-up-your-mediatemple-using-rsync-and-a-linux-box\/","title":{"rendered":"Hosting: Backing up your MediaTemple using rsync and a linux box"},"content":{"rendered":"<p>Follow these steps to setup a decent backup solution for your MT hosting (you can adapt this to any other hosting that offers SSH and RSYNC access).<\/p>\n<p>First you&#39;ll want your linux box to be able to SSH into your hosting without a password using a SSH key instead.<\/p>\n<p>Then, just clone the following repository somewhere in your linux box<\/p>\n<p><a href=\"https:\/\/github.com\/PortNumber53\/mt-utils\">https:\/\/github.com\/PortNumber53\/mt-utils<\/a><\/p>\n<p>Customize the file:<\/p>\n<p>mt.sh.sample<\/p>\n<p>Next, make sure the variables in<\/p>\n<p>0-variables.sh<\/p>\n<p>match your enviroment.<\/p>\n<p>Then you just need to run:<\/p>\n<p>mt.sh.sample<\/p>\n<p>For extra peace of mind, set it to run from a cron job.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow these steps to setup a decent backup solution for your MT hosting (you can adapt this to any other hosting that offers SSH and RSYNC access). First you&#39;ll want your linux box to be able to SSH into your hosting without a password using a SSH key instead. Then,&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/blog.portnumber53.com\/index.php\/2012\/07\/27\/hosting-backing-up-your-mediatemple-using-rsync-and-a-linux-box\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[56,57,235,296,320],"class_list":["post-843","post","type-post","status-publish","format-standard","hentry","category-hosting","tag-backup","tag-bash","tag-mediatemple","tag-rsync","tag-ssh"],"_links":{"self":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts\/843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/comments?post=843"}],"version-history":[{"count":0,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts\/843\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/media?parent=843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/categories?post=843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/tags?post=843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}