{"id":489,"date":"2016-03-03T08:27:17","date_gmt":"2016-03-03T07:27:17","guid":{"rendered":"https:\/\/olkn.myvnc.com\/?p=489"},"modified":"2016-03-03T08:27:17","modified_gmt":"2016-03-03T07:27:17","slug":"rsync-copy-two-partitions","status":"publish","type":"post","link":"https:\/\/olkn.myvnc.com\/?p=489","title":{"rendered":"rsync copy two partitions"},"content":{"rendered":"<p>To copy the contents from one partition to another:<br \/>\n<code><br \/>\nrsync -avHAXW --info=progress2 \/source \/target<br \/>\n<\/code>and here are the options:<\/p>\n<ul>\n<li>-a, &#8211;archive               archive mode; equals -rlptgoD (no -H,-A,-X)<\/li>\n<li>-v, &#8211;verbose               increase verbosity<\/li>\n<li>-H, &#8211;hard-links            preserve hard links<\/li>\n<li>-A, &#8211;acls                  preserve ACLs (implies -p)<\/li>\n<li>-X, &#8211;xattrs                preserve extended attributes<\/li>\n<li>-W, &#8211;whole-file            copy files whole (w\/o delta-xfer algorithm)<\/li>\n<li>-u, &#8211;update                skip files that are newer on the receiver<\/li>\n<li>&#8211;progress                  show progress during transfer<\/li>\n<\/ul>\n<p>and here some additional options worth a look:<\/p>\n<ul>\n<li>-z, &#8211;compress          compress file data during the transfer<\/li>\n<li>&#8211;exclude=PATTERN       exclude files matching PATTERN<\/li>\n<li>&#8211;include=PATTERN       don&#8217;t exclude files matching PATTERN<\/li>\n<li>&#8211;log-file=FILE         log what we&#8217;re doing to the specified FILE<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To copy the contents from one partition to another: rsync -avHAXW &#8211;info=progress2 \/source \/target and here are the options: -a, &#8211;archive archive mode; equals -rlptgoD (no -H,-A,-X) -v, &#8211;verbose increase verbosity -H, &#8211;hard-links preserve hard links -A, &#8211;acls preserve ACLs (implies -p) -X, &#8211;xattrs preserve extended attributes -W, &#8211;whole-file copy files whole (w\/o delta-xfer algorithm) &hellip; <a href=\"https:\/\/olkn.myvnc.com\/?p=489\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">rsync copy two partitions<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[35,46,51,79,111,150,116],"class_list":["post-489","post","type-post","status-publish","format-standard","hentry","category-sniplets","tag-administration","tag-config","tag-debian","tag-linux","tag-root","tag-rsync","tag-server"],"_links":{"self":[{"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=489"}],"version-history":[{"count":1,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":490,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=\/wp\/v2\/posts\/489\/revisions\/490"}],"wp:attachment":[{"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olkn.myvnc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}