{"id":15095,"date":"2023-02-26T20:02:57","date_gmt":"2023-02-26T19:02:57","guid":{"rendered":"https:\/\/contabo.com\/blog\/?p=15095"},"modified":"2023-03-01T13:11:39","modified_gmt":"2023-03-01T12:11:39","slug":"backup-strategies","status":"publish","type":"post","link":"https:\/\/contabo.com\/blog\/backup-strategies\/","title":{"rendered":"Avoiding Data Loss: Backup Strategies"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head.jpg\" alt=\"Backup Strategies (head image)\" class=\"wp-image-15128\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head.jpg 1200w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head-600x315.jpg 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head-768x403.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>In today&#8217;s digital age, data has become one of the most important assets for businesses and individuals alike. From confidential documents to cherished memories, data is crucial for both personal and professional reasons. However, data loss can occur due to various reasons. This included hardware failure, natural disasters, or cyber-attacks. All of this can lead to irreversible consequences. Hence, it is essential to have a backup strategy in place to protect and recover valuable data in case of any unforeseen circumstances. In this article, we will discuss the importance of data backup and provide some useful tips and strategies to help you avoid data loss and keep your data safe and secure<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-a-backup\">What is a Backup?<\/h2>\n\n\n\n<p>A backup is a duplicate of data (for example all the data on your computer or server) that is used to recover the data in the event of a data loss. Usually, backups are stored in a different location to ensure redundancy.&nbsp;<\/p>\n\n\n\n<p>To give an example from personal computing, to avoid data loss on your local computer, you can copy all your important data to an external hard drive. If the internal drive of your computer fails, you can recover that data from the backup stored on the external hard drive.&nbsp;<\/p>\n\n\n\n<p>There are different types of backups:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-types-of-backups\">Types of Backups<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-full-backup\">Full Backup<\/h3>\n\n\n\n<p>A full backup is a very basic type of backup since all data gets copied to another location. Because all the data is backed up, the restore process is relatively fast. However, creating a full backup requires more time because all data needs to be copied and also uses a lot of storage. For example, if you have 2 TB of data and perform a full backup twice a week, you will need 4 TB additional storage space for one week of backups. But it also comes with the advantage of having an easy-to-use version control and a very simple file search. And because each full backup does not depend on any backups made before and contains all the data, it is very easy to restore.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"495\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image.png\" alt=\"\" class=\"wp-image-15098\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image.png 842w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-600x353.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-768x451.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><figcaption class=\"wp-element-caption\">Scheme of a full Backup<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-incremental-backup\">Incremental Backup<\/h3>\n\n\n\n<p>Here, only the data changed since the last backup will be copied. The last backup can either be the last incremental backup or full backup. Because of this, performing an incremental backup is faster than a full backup and requires a lot less storage space. However, the process of restoring an incremental backup is more complicated and time consuming compared to a full backup, since you need to access and restore multiple backups depending.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"495\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-2.png\" alt=\"\" class=\"wp-image-15102\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-2.png 842w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-2-600x353.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-2-768x451.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><figcaption class=\"wp-element-caption\">Scheme of a incrementral Backup<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-differential-backup\">Differential Backup<\/h3>\n\n\n\n<p>This type of backup falls between incremental and full backups: A differential backup copies all the data that changed since the last full backup. To restore the data, you only need the latest full backup and the latest differential backup. This results in faster restore times compared to incremental backups, while also saving storage space compared to full backups.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"495\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-1.png\" alt=\"\" class=\"wp-image-15100\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-1.png 842w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-1-600x353.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/02\/image-1-768x451.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><figcaption class=\"wp-element-caption\">Scheme of a differential Backup<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-3-2-1-backup-rule\">The 3-2-1 Backup Rule<\/h2>\n\n\n\n<p>Maybe you have already heard about the \u201c3-2-1 backup rule\u201d. It means that you have at least three copies of your data, on two different locations and one copy off-site:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"1\">\n<li>Local \/ on-site (e.g., the main server)&nbsp;<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Local \/ on-site \u2013 but on a different device than the first copy (e.g., external hard drive)&nbsp;<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Off-site (e.g., object storage)&nbsp;<\/li>\n<\/ol>\n\n\n\n<p>You might ask why you need both on-site and off-site backups. Off-site backups already seem pretty great, so there is no need for on-site backups? Well, on-site backups allow for quick searches through backups as you don\u2019t need to download them first. This also reduces time required to restore the data. The off-site backup exists to ensure availability if you can\u2019t access your on-site backups, for example because of a data centre outage.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-raid-and-snapshots-are-not-backups\">RAID and Snapshots are not Backups<\/h2>\n\n\n\n<p>It is important to note that RAID and Snapshots are not backup strategies and do not replace the backup types mentioned above. Instead, a RAID system provides redundancy in the event of a drive failure and prevents downtime. However, in the event of other types of data loss (e.g., ransomware attack), you can\u2019t count on your RAID system and need an external backup instead. This also means you should use RAID and the mentioned backup strategies in combination to prevent downtime and data loss.&nbsp;<\/p>\n\n\n\n<p>And what are Snapshots good for? Snapshots freeze the current state of a server and provide a point you can go back to. If you try something and it doesn\u2019t work, you can go back to the snapshot and try it again. But snapshots are dependent on the host machine and, for example, can\u2019t be used to restore on another server.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-backup-storage-options\">Backup Storage Options<\/h2>\n\n\n\n<p>Having three copies of your data on multiple locations is easier said than done. There a lot of different options you can choose from, all with their own pros and cons.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-external-hard-drive\">External Hard Drive<\/h3>\n\n\n\n<p>For on-site backups, you probably want to use something like external hard drives. Assuming you have fast hard drives, the backup process is much faster than if you need to send your data to a cloud-server on the other side of the world. And this also applies when restoring the data, you don\u2019t need to download the backup, just copy the files from the backup drive to your main drive.&nbsp;<\/p>\n\n\n\n<p>But keep in mind that it is your responsibility to keep the hard drives safe and available and it falls on you to prevent unauthorized access to that hard drive.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-ftp\">FTP<\/h3>\n\n\n\n<p>Next, off-site backups. A very popular solution here is to rent storage space in the cloud and upload a copy of your data there. For example, you can rent old-school FTP storage that you can use like an external hard drive. But there is an option that is even better for archiving large amounts of data at low cost:&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-object-storage\">Object Storage<\/h3>\n\n\n\n<p>If you are looking for a cost-effective way to store large amounts of data (usually in the cloud), Object Storage is probably your best bet. If you\u2019re not already familiar with it, we wrote an <a href=\"https:\/\/contabo.com\/blog\/block-storage-object-storage-file-storage-buyers-guide\/#h-what-is-object-storage\" target=\"_blank\" rel=\"noreferrer noopener\">article specifically about Object Storage and how it compares to other storage types<\/a>. A big benefit of Object Storage is its ability to scale with nearly no limits at low cost. One reason Object Storage can be that cost-effective is because it\u2019s not made for handling data that is changing a lot. But since you usually don\u2019t modify backups once they are stored, this isn\u2019t an issue and brings the benefit of having a low-cost solution for storing high amounts of data.&nbsp;<\/p>\n\n\n\n<p>And even if you never heard of Object Storage before, with awesome tools like <a href=\"https:\/\/docs.contabo.com\/docs\/products\/Object-Storage\/Tools\/rclone\" target=\"_blank\" rel=\"noreferrer noopener\">rclone<\/a> the process of moving your backups to Object Storage can be as simple as it is to move them to Google Drive or another FTP server. You can check out the <a href=\"https:\/\/contabo.com\/blog\/linux-server-backup-using-rclone\/\" target=\"_blank\" rel=\"noreferrer noopener\">full article about rclone and Object Storage here<\/a>.&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/contabo.com\/en\/object-storage\/\" target=\"_blank\" rel=\"noreferrer noopener\">Contabo Object Storage<\/a> offers an all-inclusive (yes, unlimited free transfer) Object Storage with a simple and predictable pricing model and a S3-compatible API to make migration easy. Migrate your off-site backups to Contabo Object Storage today and <a href=\"https:\/\/contabo.com\/en\/object-storage\/order\/\" target=\"_blank\" rel=\"noreferrer noopener\">save at least 7.5X each month just by switching<\/a>.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-securing-backups\">Securing Backups<\/h2>\n\n\n\n<p>We talked about the location and why different locations are important, but the backups itself needs to be secure too. Without proper security measures, backups can be vulnerable to unauthorized access, modification, or deletion. This can result in the loss of critical data or the corruption of the backup itself. Encryption is a great way to prevent attackers from reading the actual data. There are different tools that can help you with encryption:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Linux with GnuPG: <a href=\"http:\/\/www.cyberciti.biz\/tips\/linux-how-to-encrypt-and-decrypt-files-with-a-password.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">http:\/\/www.cyberciti.biz\/tips\/linux-how-to-encrypt-and-decrypt-files-with-a-password.html<\/a>&nbsp;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows with VeraCrypt: <a href=\"https:\/\/documentation.help\/VeraCrypt\/Beginner\"s%20Tutorial.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">https:\/\/documentation.help\/VeraCrypt\/Beginner&#8217;s%20Tutorial.html<\/a>&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Also, if you need to transfer data over a network (e.g., send it to another server), make sure to use secure protocols for transmitting the data.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-test-and-verify-your-backup-strategies\">Test and Verify your Backup Strategies<\/h2>\n\n\n\n<p>Last but not least, verify that your backup strategy actually works. In case something goes wrong and you need to recover your data, it\u2019s too late to fix errors in your backup process and you don\u2019t have time to figure out how to restore it. Do tests of your backup system on a regular basis and verify that you can successfully restore the backups in the event of a disaster.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-more-resources\">More resources<\/h2>\n\n\n\n<p>Here are some of the most popular guides from Contabo on how to back up servers running different operating systems:&nbsp;<\/p>\n\n\n\n<p><strong>A<\/strong>&nbsp;<a href=\"https:\/\/contabo.com\/blog\/how-to-use-plesk-for-backups\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Use Plesk for Backups<\/a><\/p>\n\n\n\n<p><strong>B<\/strong>&nbsp;<a href=\"https:\/\/contabo.com\/blog\/linux-server-backup-using-rclone\/\" target=\"_blank\" rel=\"noreferrer noopener\">Linux Server Backup Using Rclone<\/a>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s digital age, data has become one of the most important assets. In this article, we will discuss the importance of data backup.<\/p>\n","protected":false},"author":57,"featured_media":15128,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[18],"tags":[],"ppma_author":[1525],"class_list":["post-15095","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"uagb_featured_image_src":{"full":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head.jpg",1200,630,false],"thumbnail":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head-150x150.jpg",150,150,true],"medium":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head-600x315.jpg",600,315,true],"medium_large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head-768x403.jpg",768,403,true],"large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head.jpg",1200,630,false],"1536x1536":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head.jpg",1200,630,false],"2048x2048":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2023\/03\/EN_Head.jpg",1200,630,false]},"uagb_author_info":{"display_name":"Linus Benkner","author_link":"https:\/\/contabo.com\/blog\/author\/linus\/"},"uagb_comment_info":0,"uagb_excerpt":"In today's digital age, data has become one of the most important assets. In this article, we will discuss the importance of data backup.","authors":[{"term_id":1525,"user_id":57,"is_guest":0,"slug":"linus","display_name":"Linus Benkner","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/396885b0c71ca364e267b5804deaef19e48538c136b5287377b0d481091abd10?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/15095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/comments?post=15095"}],"version-history":[{"count":0,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/15095\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media\/15128"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=15095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=15095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=15095"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=15095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}