{"id":209,"date":"2020-05-14T22:24:10","date_gmt":"2020-05-14T16:54:10","guid":{"rendered":"https:\/\/www.trendstechblog.com\/?p=209"},"modified":"2020-05-14T22:24:25","modified_gmt":"2020-05-14T16:54:25","slug":"tar-archive-program","status":"publish","type":"post","link":"https:\/\/www.trendstechblog.com\/tar-archive-program\/","title":{"rendered":"Tar Archive Program Creating Backups And Archiving Files"},"content":{"rendered":"<p>The program tar file, which stands for T ape Ar Chiver is a storage system tape drives based on the old method of backups or backups which is still convincing its customers. Although it is rarely used by private users today, tar continues to be considered the preferred archiving tool on UNIX systems. Furthermore, this file archiver allows you to regularly create incremental backups of servers. Here we will not only clarify how to use the program, but we will also indicate the necessary commands to make backups with tar.<\/p>\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_58 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-655de45d0cb62\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-655de45d0cb62\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.trendstechblog.com\/tar-archive-program\/#How_Does_Tar_Work\" title=\"How Does Tar Work\">How Does Tar Work<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.trendstechblog.com\/tar-archive-program\/#Backups_With_Tar\" title=\"Backups With Tar\">Backups With Tar<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.trendstechblog.com\/tar-archive-program\/#Incremental_Backup_With_Tar\" title=\"Incremental Backup With Tar\">Incremental Backup With Tar<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.trendstechblog.com\/tar-archive-program\/#Restore_A_System_With_A_Backup\" title=\"Restore A System With A Backup\">Restore A System With A Backup<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"How_Does_Tar_Work\"><\/span>How Does Tar Work<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Tar_(computing)\">tar<\/a> archiving program is used for archiving files and folders on Linux and other related systems and, strange as it may be, it does not offer compression in its standard form. Even so, the program is well known, since it allows you to combine entire folders into a single file. This technology is linked to the history of the program itself since in a tape drive storage system all the data is transferred consecutively to a magnetic tape, which explains the sequential and linear storage of the tar format, in which the new files are attached to the main file. The file resulting from the concatenation of files is also known as a tarball because they are joined to each other.<\/p>\n<p>If you are trying to compress this type of file, you need to combine tar with gzip. Both programs complement each other perfectly since gzip can only compress single files. For this reason, tar is always used first followed by gzip or another compression program, so that once compressed, .tar.gz or .tzip files are generated.<\/p>\n\n\n\n<h2><span class=\"ez-toc-section\" id=\"Backups_With_Tar\"><\/span>Backups With Tar<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Webmasters are inclined to use tar to create backups for two reasons. On the one hand, the folder structure remains unchanged, and, on the other hand, the scope of the program&#8217;s functions allows numerous additional fine-tuning adjustments, made evident if the numerous options that have been broken down in the previous section are taken into account. Next, we&#8217;ll explain how to use tar to create full backups and incremental backups.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"Incremental_Backup_With_Tar\"><\/span>Incremental Backup With Tar<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It is common for webmasters to create backups periodically to avoid data loss. If the current system rejects your service, compromises it, or deletes it, you can use a functional version of the backup. The more regularly save points are set, the fewer data will be lost if something happens to the system. However, if you do a full backup every time, that is, you archive all the data on your system, it will not only take a long time but also a lot of memory space. Instead, it is possible to create incremental backups with tar.<\/p>\n<p>Every incremental backup requires full storage. For this reason, first of all, you must archive the entire system or the part of it that you want to save, and then add only the new or modified tar files with the incremental backup. So, when the backup is rerun, the last full copy will be required along with every incremental backup added after it, leading to a much smaller volume of data, although it requires higher restoration costs. If one of the files is lost, much more unlikely today than in the days of magnetic tape, the backup will be incomplete.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"Restore_A_System_With_A_Backup\"><\/span>Restore A System With A Backup<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Although nobody is wanted, you may have to restore the system. Fortunately, this process is carried out with relative ease thanks to tar and no additional script is required for this. However, it takes more than just the simple commands used with full backups, as it is tied to the very nature of incremental backups that many files have to be extracted.<\/p>\n<p><strong>Also Read: <a href=\"https:\/\/www.trendstechblog.com\/emui-10-1\/\">EMUI 10.1 Is Now Available For More Than 30 Devices<\/a><\/strong><\/p>\n\n\n<p><\/p>\n\n\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The program tar file, which stands for T ape Ar Chiver is a storage system tape drives based on the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":210,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[118,117],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tar Archive Program Creating Backups And Archiving Files<\/title>\n<meta name=\"description\" content=\"The program tar file, which stands for T ape Ar Chiver is a storage system tape drives based on the old method of backups or backups which is still.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.trendstechblog.com\/tar-archive-program\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tar Archive Program Creating Backups And Archiving Files\" \/>\n<meta property=\"og:description\" content=\"The program tar file, which stands for T ape Ar Chiver is a storage system tape drives based on the old method of backups or backups which is still.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.trendstechblog.com\/tar-archive-program\/\" \/>\n<meta property=\"og:site_name\" content=\"Trends Tech Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-14T16:54:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-14T16:54:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.trendstechblog.com\/wp-content\/uploads\/2020\/05\/Tar-Jpg.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TrendsTechBlog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@trendstechblog\" \/>\n<meta name=\"twitter:site\" content=\"@trendstechblog\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TrendsTechBlog\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.trendstechblog.com\/tar-archive-program\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.trendstechblog.com\/tar-archive-program\/\"},\"author\":{\"name\":\"TrendsTechBlog\",\"@id\":\"https:\/\/www.trendstechblog.com\/#\/schema\/person\/323aae267386ddba7224403d86f419d1\"},\"headline\":\"Tar Archive Program Creating Backups And Archiving Files\",\"datePublished\":\"2020-05-14T16:54:10+00:00\",\"dateModified\":\"2020-05-14T16:54:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.trendstechblog.com\/tar-archive-program\/\"},\"wordCount\":632,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.trendstechblog.com\/#\/schema\/person\/323aae267386ddba7224403d86f419d1\"},\"keywords\":[\"Tar\",\"TarComputing\"],\"articleSection\":[\"TECHNOLOGY\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.trendstechblog.com\/tar-archive-program\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.trendstechblog.com\/tar-archive-program\/\",\"url\":\"https:\/\/www.trendstechblog.com\/tar-archive-program\/\",\"name\":\"Tar Archive Program Creating Backups And Archiving Files\",\"isPartOf\":{\"@id\":\"https:\/\/www.trendstechblog.com\/#website\"},\"datePublished\":\"2020-05-14T16:54:10+00:00\",\"dateModified\":\"2020-05-14T16:54:25+00:00\",\"description\":\"The program tar file, which stands for T ape Ar Chiver is a storage system tape drives based on the old method of backups or backups which is still.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.trendstechblog.com\/tar-archive-program\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.trendstechblog.com\/tar-archive-program\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.trendstechblog.com\/tar-archive-program\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.trendstechblog.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"TECHNOLOGY\",\"item\":\"https:\/\/www.trendstechblog.com\/category\/technology\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tar Archive Program Creating Backups And Archiving Files\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.trendstechblog.com\/#website\",\"url\":\"https:\/\/www.trendstechblog.com\/\",\"name\":\"Trends Tech Blog\",\"description\":\"Daily Tech Updates\",\"publisher\":{\"@id\":\"https:\/\/www.trendstechblog.com\/#\/schema\/person\/323aae267386ddba7224403d86f419d1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.trendstechblog.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.trendstechblog.com\/#\/schema\/person\/323aae267386ddba7224403d86f419d1\",\"name\":\"TrendsTechBlog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.trendstechblog.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.trendstechblog.com\/wp-content\/uploads\/2020\/06\/Trends-Tech-Blog-Logo.png\",\"contentUrl\":\"https:\/\/www.trendstechblog.com\/wp-content\/uploads\/2020\/06\/Trends-Tech-Blog-Logo.png\",\"width\":280,\"height\":70,\"caption\":\"TrendsTechBlog\"},\"logo\":{\"@id\":\"https:\/\/www.trendstechblog.com\/#\/schema\/person\/image\/\"},\"description\":\"TrendsTechBlog it's a Technologies Related that gives the Technology News, Business, Gadgest, Digital, Mobiles, Social Media, AI. Latest Trends and Up coming News.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tar Archive Program Creating Backups And Archiving Files","description":"The program tar file, which stands for T ape Ar Chiver is a storage system tape drives based on the old method of backups or backups which is still.","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:\/\/www.trendstechblog.com\/tar-archive-program\/","og_locale":"en_US","og_type":"article","og_title":"Tar Archive Program Creating Backups And Archiving Files","og_description":"The program tar file, which stands for T ape Ar Chiver is a storage system tape drives based on the old method of backups or backups which is still.","og_url":"https:\/\/www.trendstechblog.com\/tar-archive-program\/","og_site_name":"Trends Tech Blog","article_published_time":"2020-05-14T16:54:10+00:00","article_modified_time":"2020-05-14T16:54:25+00:00","og_image":[{"width":1280,"height":675,"url":"https:\/\/www.trendstechblog.com\/wp-content\/uploads\/2020\/05\/Tar-Jpg.jpg","type":"image\/jpeg"}],"author":"TrendsTechBlog","twitter_card":"summary_large_image","twitter_creator":"@trendstechblog","twitter_site":"@trendstechblog","twitter_misc":{"Written by":"TrendsTechBlog","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.trendstechblog.com\/tar-archive-program\/#article","isPartOf":{"@id":"https:\/\/www.trendstechblog.com\/tar-archive-program\/"},"author":{"name":"TrendsTechBlog","@id":"https:\/\/www.trendstechblog.com\/#\/schema\/person\/323aae267386ddba7224403d86f419d1"},"headline":"Tar Archive Program Creating Backups And Archiving Files","datePublished":"2020-05-14T16:54:10+00:00","dateModified":"2020-05-14T16:54:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.trendstechblog.com\/tar-archive-program\/"},"wordCount":632,"commentCount":0,"publisher":{"@id":"https:\/\/www.trendstechblog.com\/#\/schema\/person\/323aae267386ddba7224403d86f419d1"},"keywords":["Tar","TarComputing"],"articleSection":["TECHNOLOGY"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.trendstechblog.com\/tar-archive-program\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.trendstechblog.com\/tar-archive-program\/","url":"https:\/\/www.trendstechblog.com\/tar-archive-program\/","name":"Tar Archive Program Creating Backups And Archiving Files","isPartOf":{"@id":"https:\/\/www.trendstechblog.com\/#website"},"datePublished":"2020-05-14T16:54:10+00:00","dateModified":"2020-05-14T16:54:25+00:00","description":"The program tar file, which stands for T ape Ar Chiver is a storage system tape drives based on the old method of backups or backups which is still.","breadcrumb":{"@id":"https:\/\/www.trendstechblog.com\/tar-archive-program\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.trendstechblog.com\/tar-archive-program\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.trendstechblog.com\/tar-archive-program\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.trendstechblog.com\/"},{"@type":"ListItem","position":2,"name":"TECHNOLOGY","item":"https:\/\/www.trendstechblog.com\/category\/technology\/"},{"@type":"ListItem","position":3,"name":"Tar Archive Program Creating Backups And Archiving Files"}]},{"@type":"WebSite","@id":"https:\/\/www.trendstechblog.com\/#website","url":"https:\/\/www.trendstechblog.com\/","name":"Trends Tech Blog","description":"Daily Tech Updates","publisher":{"@id":"https:\/\/www.trendstechblog.com\/#\/schema\/person\/323aae267386ddba7224403d86f419d1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.trendstechblog.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.trendstechblog.com\/#\/schema\/person\/323aae267386ddba7224403d86f419d1","name":"TrendsTechBlog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.trendstechblog.com\/#\/schema\/person\/image\/","url":"https:\/\/www.trendstechblog.com\/wp-content\/uploads\/2020\/06\/Trends-Tech-Blog-Logo.png","contentUrl":"https:\/\/www.trendstechblog.com\/wp-content\/uploads\/2020\/06\/Trends-Tech-Blog-Logo.png","width":280,"height":70,"caption":"TrendsTechBlog"},"logo":{"@id":"https:\/\/www.trendstechblog.com\/#\/schema\/person\/image\/"},"description":"TrendsTechBlog it's a Technologies Related that gives the Technology News, Business, Gadgest, Digital, Mobiles, Social Media, AI. Latest Trends and Up coming News."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/posts\/209"}],"collection":[{"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/comments?post=209"}],"version-history":[{"count":1,"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/posts\/209\/revisions"}],"predecessor-version":[{"id":211,"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/posts\/209\/revisions\/211"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/media\/210"}],"wp:attachment":[{"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/media?parent=209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/categories?post=209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trendstechblog.com\/wp-json\/wp\/v2\/tags?post=209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}