{"id":21,"date":"2009-08-09T04:44:13","date_gmt":"2009-08-09T04:44:13","guid":{"rendered":"http:\/\/www.adriangrigoras.com\/blog\/?p=21"},"modified":"2009-08-09T04:44:13","modified_gmt":"2009-08-09T04:44:13","slug":"make-incremental-backups-with-tar","status":"publish","type":"post","link":"https:\/\/adriangrigoras.com\/blog\/make-incremental-backups-with-tar\/","title":{"rendered":"Make incremental backups with tar"},"content":{"rendered":"<p>Sometime, you modify a small file and you don&#8217;t need a full backup. It is recommended to make a full back-up every week and make everyday an incremental back-up.<\/p>\n<p>You can use tar to make incremental back-up. In the next example we will backup all files from \/home\/adrian that are modified in the last 2 days:<\/p>\n<blockquote>\n<address>tar -cf backup.tar \/home\/adrian &#8211;newer-mtime &#8216;2 days ago&#8217;<\/address>\n<\/blockquote>\n<p>That&#8217;s it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometime, you modify a small file and you don&#8217;t need a full backup. It is recommended to make a full back-up every week and make everyday an incremental back-up. You can use tar to make incremental back-up. In the next example we will backup all files from \/home\/adrian that are modified in the last 2\u2026 <span class=\"read-more\"><a href=\"https:\/\/adriangrigoras.com\/blog\/make-incremental-backups-with-tar\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":0,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}