{"id":10249,"date":"2016-03-07T16:12:17","date_gmt":"2016-03-07T15:12:17","guid":{"rendered":"https:\/\/wp-akuten.se\/development-wordpress\/how-to-make-a-backup-in-wordpress\/"},"modified":"2024-04-21T09:23:17","modified_gmt":"2024-04-21T07:23:17","slug":"how-to-make-a-backup-in-wordpress","status":"publish","type":"post","link":"https:\/\/wp-akuten.se\/en\/development-wordpress\/how-to-make-a-backup-in-wordpress\/","title":{"rendered":"How to make a backup in WordPress"},"content":{"rendered":"\n<p id=\"en-backup-i-wordpress-ska-spara-flera-saker-eftersom-det-ar-flera-saker-som-ar-unika-pa-din-hemsida-det-ar-dina-installningar-i-databasen-dina-filer-i-ditt-tema-och-sa-dina-bilder-om-du-har-en-backup-pa-dessa-delar-sa-kan-du-sova-lugnare-en-backup-ar-din-livboj-nar-saker-har-gatt-fel-riktigt-fel\"><strong>A backup in WordPress should save several things, as there are several things that are unique to your website; These are your settings in the database, your files in your theme and then your images. If you have a backup of these parts, you can sleep better. A backup is your lifeline when things have gone wrong. Really wrong!<\/strong><\/p>\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile\"><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" width=\"501\" height=\"619\" src=\"https:\/\/wp-akuten.se\/wp-content\/uploads\/2016\/03\/aug2-e1457366357948.jpg\" alt=\"\" class=\"wp-image-110 size-full\" srcset=\"https:\/\/wp-akuten.se\/wp-content\/uploads\/2016\/03\/aug2-e1457366357948-243x300.jpg 243w, https:\/\/wp-akuten.se\/wp-content\/uploads\/2016\/03\/aug2-e1457366357948.jpg 501w\" sizes=\"(max-width: 501px) 100vw, 501px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<h3>Three tips for backups<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>What I think everyone should remember is that a backup is your last lifeline when things have gone completely wrong. This is your last chance to make things right!<\/em><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>Backup is for cowards. Of course, if you like excitement, you shouldn&#8217;t make a backup.<\/em><br\/><\/li>\n\n\n\n<li><em>An untested backup does not allow you to sleep peacefully at night.<\/em><\/li>\n<\/ul>\n<\/div><\/div>\n\n<div class=\"clear\"> <\/div>\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n<h2 class=\"wp-block-heading\" id=\"backup-pa-databasen\">Backup on the database<\/h2>\n\n<p>The first thing you should back up is <strong>the database <\/strong> where all the settings and content of your site is saved. <\/p>\n\n<p>You can export the database via phpmyadmin, but most people find that this feels both insecure and complicated and there are several plugins\/additions that do just that. My favourite is <a href=\"https:\/\/sv.wordpress.org\/plugins\/updraftplus\/\" target=\"_blank\" aria-label=\"  (opens in a new tab)\" rel=\"noreferrer noopener nofollow\" class=\"ek-link\">updraft<\/a> which I think is both easy to install and configure and despite the fact that I have used it on many sites over several years, it has never clicked.<\/p>\n\n<p>In Updraft, you can choose how often (or manually) you want a <strong>backup in wordpress<\/strong> should be run and how the backup file should be saved. Many people prefer it to be sent by e-mail once a week. <\/p>\n\n<p>You can choose to save the backup to Dropbox or any other cloud service you use, which is convenient.<\/p>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/wp-akuten.se\/wp-content\/uploads\/2020\/05\/Skaarmavbild-2020-05-09-kl.-12.38.14-1024x542.png\" alt=\"backup in wordpress\" class=\"wp-image-3550\" srcset=\"https:\/\/wp-akuten.se\/wp-content\/uploads\/2020\/05\/Skaarmavbild-2020-05-09-kl.-12.38.14-300x159.png 300w, https:\/\/wp-akuten.se\/wp-content\/uploads\/2020\/05\/Skaarmavbild-2020-05-09-kl.-12.38.14-768x407.png 768w, https:\/\/wp-akuten.se\/wp-content\/uploads\/2020\/05\/Skaarmavbild-2020-05-09-kl.-12.38.14-1024x542.png 1024w, https:\/\/wp-akuten.se\/wp-content\/uploads\/2020\/05\/Skaarmavbild-2020-05-09-kl.-12.38.14.png 1352w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"backup-pa-tema\">Backup on theme<\/h2>\n\n<p>The next thing that needs to be saved is your <strong>theme.<\/strong> If you&#8217;re using a theme that you haven&#8217;t changed, you can ignore it altogether. Then you can download the theme from the web again.<\/p>\n\n<p>But if you&#8217;ve got a <strong>cildthem<\/strong>e, you should have a backup of it in case something happens. Now, it&#8217;s probably the case that you change your theme very rarely. Maybe never? But, keep a copy of the files in your child theme to make sure you have them when something happens. There are usually no more than a dozen or so files.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"backup-pa-bilder\">Backup on images<\/h2>\n\n<p>Finally, you&#8217;ll need to save your <strong>images<\/strong> and this is also the most complicated part for many websites. <\/p>\n\n<p>This is because there can be a lot of images and then it can get tricky because the backup will be large. It is also possible to use Updraft to send all images by email, but here other things can stop you, such as the email&#8217;s attachments being too large to be handled as an email. So it&#8217;s better to backup these to a cloud service. I personally send them to Dropbox.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>I often see plugins and services that save all the files you have on your website somewhere. This is almost always unnecessary and means that you are saving thousands of files every week unnecessarily. Have a strategy for what is unique to your site because the rest can be found online again!<\/em><\/p>\n<\/blockquote>\n\n<h2 class=\"wp-block-heading\" id=\"inkrementell-backup\">Incremental backup in wordpress<\/h2>\n\n<p>The point of making an incremental backup is that you only save the files that have changed since you made the last backup. Such a backup is of course much faster and sometimes not needed at all. An example of a plugin that works this way is WP Time Capsule. It is available both in a free version that you can try for 30 days and a <a href=\"https:\/\/wptimecapsule.com\/index.php?partner=kobotolo\" rel=\"nofollow\" class=\"ek-link\">premium version<\/a>.<\/p>\n\n<p>Even updraft can make incremental backups if you buy a licence.<br\/><\/p>\n<style>.wp-block-kadence-advancedbtn.kb-btns109_de04ce-99{gap:var(--global-kb-gap-xs, 0.5rem );justify-content:flex-start;align-items:center;}.kt-btns109_de04ce-99 .kt-button{font-weight:normal;font-style:normal;}.kt-btns109_de04ce-99 .kt-btn-wrap-0{margin-right:5px;}.wp-block-kadence-advancedbtn.kt-btns109_de04ce-99 .kt-btn-wrap-0 .kt-button{color:#555555;border-color:#555555;}.wp-block-kadence-advancedbtn.kt-btns109_de04ce-99 .kt-btn-wrap-0 .kt-button:hover, .wp-block-kadence-advancedbtn.kt-btns109_de04ce-99 .kt-btn-wrap-0 .kt-button:focus{color:#ffffff;border-color:#444444;}.wp-block-kadence-advancedbtn.kt-btns109_de04ce-99 .kt-btn-wrap-0 .kt-button::before{display:none;}.wp-block-kadence-advancedbtn.kt-btns109_de04ce-99 .kt-btn-wrap-0 .kt-button:hover, .wp-block-kadence-advancedbtn.kt-btns109_de04ce-99 .kt-btn-wrap-0 .kt-button:focus{background:#444444;}<\/style>\n<div class=\"wp-block-kadence-advancedbtn kb-buttons-wrap kb-btns109_de04ce-99\"><style>ul.menu .wp-block-kadence-advancedbtn .kb-btn109_67cd33-8b.kb-button{width:initial;}.wp-block-kadence-advancedbtn .kb-btn109_67cd33-8b.kb-button{background:#00156b;line-height:2;padding-top:var(--global-kb-spacing-xxs, 0.5rem);padding-bottom:var(--global-kb-spacing-xxs, 0.5rem);}.wp-block-kadence-advancedbtn .kb-btn109_67cd33-8b.kb-button:hover, .wp-block-kadence-advancedbtn .kb-btn109_67cd33-8b.kb-button:focus{background:#00156b;}<\/style><span class=\"kb-button kt-button button kb-btn109_67cd33-8b kt-btn-size-large kt-btn-width-type-auto kb-btn-global-fill  kt-btn-has-text-true kt-btn-has-svg-false  wp-block-kadence-singlebtn\"><span class=\"kt-btn-inner-text\"><strong>If you think it sounds complicated. Take a look and read about<a aria-label=\"  (opens in a new tab)\" href=\"https:\/\/kobotolo.se\/underhall-serviceavtal-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\"> <\/a><\/strong><br><strong><a aria-label=\"  (opens in a new tab)\" href=\"https:\/\/kobotolo.se\/underhall-serviceavtal-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">KoBoToLo&#8217;s service agreement for WordPress<\/a><\/strong><\/span><\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A backup in WordPress should save several things, as there are several things that are unique to your website; These are your settings in the database, your files in your theme and then your images. If you have a backup of these parts, you can sleep better. A backup is your lifeline when things have gone wrong. Really wrong!<\/p>\n","protected":false},"author":2,"featured_media":9902,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[119],"tags":[],"class_list":{"2":"type-post","7":"category-development-wordpress","8":"entry"},"taxonomy_info":{"category":[{"value":119,"label":"Development WordPress"}]},"featured_image_src_large":["https:\/\/wp-akuten.se\/wp-content\/uploads\/2016\/03\/aug2-e1457366357948.jpg",501,619,false],"author_info":{"display_name":"Karin H Olsson","author_link":"https:\/\/wp-akuten.se\/en\/author\/adaro3r\/"},"comment_info":0,"category_info":[{"term_id":119,"name":"Development WordPress","slug":"development-wordpress","term_group":0,"term_taxonomy_id":119,"taxonomy":"category","description":"","parent":0,"count":16,"filter":"raw","meta":[],"cat_ID":119,"category_count":16,"category_description":"","cat_name":"Development WordPress","category_nicename":"development-wordpress","category_parent":0}],"tag_info":false,"acf":[],"_links":{"self":[{"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/posts\/10249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/comments?post=10249"}],"version-history":[{"count":3,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/posts\/10249\/revisions"}],"predecessor-version":[{"id":10252,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/posts\/10249\/revisions\/10252"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/media\/9902"}],"wp:attachment":[{"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/media?parent=10249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/categories?post=10249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp-akuten.se\/en\/wp-json\/wp\/v2\/tags?post=10249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}