{"id":49153,"date":"2018-05-22T13:39:00","date_gmt":"2018-05-22T18:39:00","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=49153"},"modified":"2018-05-22T13:39:00","modified_gmt":"2018-05-22T18:39:00","slug":"the-importance-of-being-earnest-about-backups","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/","title":{"rendered":"The Importance of Being Earnest (about Backups)"},"content":{"rendered":"

This is a guest blog post provided by Kevin McGrail. Kevin is a respected member of the hosting industry, a huge supporter of the Open Source community, and an alumni speaker at the annual cPanel Conference<\/a>.\u00a0<\/em><\/p>\n

There are a lot of reasons to choose cPanel & WHM as your web hosting management solution. It\u2019s got tons of features, great support and it lets everyone from Mom n\u2019 Pop to Enterprise customers easily manage their hosting. Plus they are always adding new features, such as the WordPress Manager<\/a>\u00a0(really cool!).\u00a0However, I\u2019m going to focus on the ease of deploying servers with backups.<\/p>\n

Backups are critical<\/h2>\n

We don\u2019t consider a machine production ready without backups fully implemented and tested for restoration. cPanel makes backups incredibly simple. Login to WHM, Go to Backups->Backup Configuration->Enable Backups. From there, the GUI interface is very straightforward.\u00a0The documentation<\/a>\u00a0is well laid out.<\/p>\n

Of course, you need to protect yourself against a catastrophic failure with off-site backups. WHM makes this incredibly simple, with easy options for storing your backups remotely on Amazon S3, Google Drive, or a remote server via Rsync, FTP, and SFTP.<\/p>\n

CrashPlan on a cPanel server<\/h2>\n

At PCCC, we take things even further. We also duplicate the cPanel backups offsite, which is very easy to do on a cPanel & WHM server. To accomplish this, we use Code42\u2019s CrashPlan Pro Enterprise, but there are many options available to a webhost. If you use CrashPlan, I recommend that you configure the CrashPlan app to sweep the cPanel backup directory, to store the backups encrypted and off-site. Best of all, the app works out of the box with one minor change.<\/p>\n

A cPanel & WHMC server uses a RAM-based temporary directory for \/tmp to improve performance and they also disable execution privileges on that folder for security. Because CrashPlan uses \/tmp to install updates, the added security to \/tmp\u00a0will cause failures when you push a new client. To fix the issue, all you need to do is create an alternate temporary directory and tell CrashPlan to use it.<\/p>\n

First, you create the directory and give it appropriate permissions. In this example, we will use \/usr\/local\/tmp as our new temporary directory, but this can be set to anything you’d like to use.<\/p>\n

mkdir \/usr\/local\/tmp<\/code><\/p>\n

chmod 1777 \/usr\/local\/tmp<\/code><\/p>\n

Now make CrashPlan use this temporary directory by appending the following line to\u00a0\/usr\/local\/crashplan\/bin\/run.conf using your favorite command line editor.<\/p>\n

-Djava.io<\/a>.tmpdir=\/usr\/local\/tmp\u00a0\" to GUI_JAVA_OPTS and SRV_JAVA_OPTS<\/code><\/p>\n

In addition to CrashPlan, it\u2019s super easy to add Google Drive as a Backup Destination. It\u2019s a little complex the first time, though. I recommend you make sure you create a project, then enable the API for that project, create your OAuth Credentials and then configure the remote destination in WHM. It works very well with a free Gmail account, and the\u00a0documentation is thorough<\/a>!<\/p>\n

Good backups mean good sleep<\/h2>\n

Good backups will help you sleep well at night. cPanel is still adding things, though!\u00a0On our wish list for 2018 is to see different backup destinations based on the type of backup. If you’d like to see that too, definitely go vote for it on the\u00a0feature request site<\/a>! In the meantime, here\u2019s wishing you Happy Hosting.<\/p>\n

KAM<\/em><\/p>\n

—–<\/em><\/p>\n

by Kevin A. McGrail<\/a>
\nMember, Asst. Treasurer, VP Fundraising & Apache SpamAssassin Chair Emeritus,\u00a0
Apache.org<\/a>
\nCEO,\u00a0PCCC.com<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"

This is a guest blog post provided by Kevin McGrail. Kevin is a respected member of the hosting industry, a huge supporter of the Open Source community, and an alumni speaker at the annual cPanel Conference.\u00a0 There are a lot of reasons to choose cPanel & WHM as your web hosting management solution. It\u2019s got […]<\/p>\n","protected":false},"author":77,"featured_media":64941,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[73,145],"tags":[1689,1649,2041],"class_list":["post-49153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpeople","category-special-guests","tag-backup-destinations","tag-backups","tag-crashplan"],"acf":[],"yoast_head":"\nThe Importance of Being Earnest (about Backups) | cPanel<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Importance of Being Earnest (about Backups) | cPanel\" \/>\n<meta property=\"og:description\" content=\"This is a guest blog post provided by Kevin McGrail. Kevin is a respected member of the hosting industry, a huge supporter of the Open Source community, and an alumni speaker at the annual cPanel Conference.\u00a0 There are a lot of reasons to choose cPanel & WHM as your web hosting management solution. It\u2019s got […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/\" \/>\n<meta property=\"og:site_name\" content=\"cPanel\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cpanel\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-22T18:39:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2018\/05\/2018.05.22.KAM_.1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3858\" \/>\n\t<meta property=\"og:image:height\" content=\"1527\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"cPanel Community\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cPanel\" \/>\n<meta name=\"twitter:site\" content=\"@cPanel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cPanel Community\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/\",\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/\",\"name\":\"The Importance of Being Earnest (about Backups) | cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\"},\"datePublished\":\"2018-05-22T18:39:00+00:00\",\"dateModified\":\"2018-05-22T18:39:00+00:00\",\"author\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\"},\"breadcrumb\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devel.www.cpanel.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Importance of Being Earnest (about Backups)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\",\"url\":\"https:\/\/devel.www.cpanel.net\/\",\"name\":\"cPanel\",\"description\":\"Hosting Platform of Choices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devel.www.cpanel.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\",\"name\":\"cPanel Community\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"caption\":\"cPanel Community\"},\"description\":\"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.\",\"sameAs\":[\"https:\/\/cpanel.net\"],\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Importance of Being Earnest (about Backups) | cPanel","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/","og_locale":"en_US","og_type":"article","og_title":"The Importance of Being Earnest (about Backups) | cPanel","og_description":"This is a guest blog post provided by Kevin McGrail. Kevin is a respected member of the hosting industry, a huge supporter of the Open Source community, and an alumni speaker at the annual cPanel Conference.\u00a0 There are a lot of reasons to choose cPanel & WHM as your web hosting management solution. It\u2019s got […]","og_url":"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/","og_site_name":"cPanel","article_publisher":"https:\/\/www.facebook.com\/cpanel\/","article_published_time":"2018-05-22T18:39:00+00:00","og_image":[{"width":3858,"height":1527,"url":"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2018\/05\/2018.05.22.KAM_.1.png","type":"image\/png"}],"author":"cPanel Community","twitter_card":"summary_large_image","twitter_creator":"@cPanel","twitter_site":"@cPanel","twitter_misc":{"Written by":"cPanel Community","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/","url":"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/","name":"The Importance of Being Earnest (about Backups) | cPanel","isPartOf":{"@id":"https:\/\/devel.www.cpanel.net\/#website"},"datePublished":"2018-05-22T18:39:00+00:00","dateModified":"2018-05-22T18:39:00+00:00","author":{"@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8"},"breadcrumb":{"@id":"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/devel.www.cpanel.net\/blog\/cpeople\/the-importance-of-being-earnest-about-backups\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devel.www.cpanel.net\/"},{"@type":"ListItem","position":2,"name":"The Importance of Being Earnest (about Backups)"}]},{"@type":"WebSite","@id":"https:\/\/devel.www.cpanel.net\/#website","url":"https:\/\/devel.www.cpanel.net\/","name":"cPanel","description":"Hosting Platform of Choices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devel.www.cpanel.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8","name":"cPanel Community","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","caption":"cPanel Community"},"description":"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.","sameAs":["https:\/\/cpanel.net"],"url":"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/49153"}],"collection":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/comments?post=49153"}],"version-history":[{"count":0,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/49153\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media\/64941"}],"wp:attachment":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media?parent=49153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/categories?post=49153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/tags?post=49153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}