{"id":174,"date":"2020-11-28T21:44:57","date_gmt":"2020-11-28T21:44:57","guid":{"rendered":"https:\/\/www.aran.cat\/wp\/?p=174"},"modified":"2020-11-28T21:57:58","modified_gmt":"2020-11-28T21:57:58","slug":"backup-complet-incremental-amb-tar","status":"publish","type":"post","link":"https:\/\/www.aran.cat\/wp\/?p=174","title":{"rendered":"Backup Complet\/Incremental amb TAR"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.computernetworkingnotes.com\/linux-tutorials\/create-and-restore-incremental-backups-in-linux-with-tar.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.computernetworkingnotes.com\/linux-tutorials\/create-and-restore-incremental-backups-in-linux-with-tar.html<\/a><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong># Complet:<\/strong>\n# tar -czvg snapshot-file -f backup.tar.gz backup\n#\n<strong># verificar:<\/strong>\n# tar -tvf backup.tar.gz\n#\n<strong># Incrementals:<\/strong>\n# tar -czvg snapshot-file -f 1-backup.tar.gz backup\n# tar -czvg snapshot-file -f 2-backup.tar.gz backup\n# ,,,\n<strong># Restores:<\/strong>\n# tar -xvf \/root\/practicelab\/backup.tar.gz -C \/root\/practicelab\/restore \n# tar -xvf \/root\/practicelab\/1-backup.tar.gz -C \/root\/practicelab\/restore \n# tar -xvf \/root\/practicelab\/2-backup.tar.gz -C \/root\/practicelab\/restore\n# ...\n\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.computernetworkingnotes.com\/linux-tutorials\/create-and-restore-incremental-backups-in-linux-with-tar.html # Complet: # tar -czvg snapshot-file -f backup.tar.gz backup # # verificar: # tar -tvf backup.tar.gz # # Incrementals: # tar -czvg snapshot-file -f 1-backup.tar.gz backup # tar -czvg snapshot-file -f 2-backup.tar.gz backup # ,,, # Restores: # tar -xvf \/root\/practicelab\/backup.tar.gz -C \/root\/practicelab\/restore # tar -xvf \/root\/practicelab\/1-backup.tar.gz -C \/root\/practicelab\/restore [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-debian"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=174"}],"version-history":[{"count":4,"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":178,"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=\/wp\/v2\/posts\/174\/revisions\/178"}],"wp:attachment":[{"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aran.cat\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}