{"id":488,"date":"2013-12-02T22:37:29","date_gmt":"2013-12-02T22:37:29","guid":{"rendered":"http:\/\/www.ber10thal.com\/blog\/?p=488"},"modified":"2015-02-05T01:46:03","modified_gmt":"2015-02-05T01:46:03","slug":"rsync-backup-to-cifs-smb-samba-share","status":"publish","type":"post","link":"https:\/\/ber10thal.com\/blog\/rsync-backup-to-cifs-smb-samba-share\/","title":{"rendered":"rsync backup to cifs \/ smb \/ samba share"},"content":{"rendered":"<p>I was using rsync to backup unix \/ linux directories to a mounted cifs share. (This is a samba share mounted under Linux). The server is Ubuntu. Problem I had was rsync kept copying the same files over again even though they did not change. The solution was to add &#8211;modify-window=2 This adds a 2 second window to the rsync compare. Fat file systems write timestamps weird and this corrects for the problem. I also needed to modify the rsync command and change it from rsync -a to rsync -rltDv fat also does not keep owner or group permissions. A big thanks to my friend, I&#8217;ll call him T for helping me figure this one out!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was using rsync to backup unix \/ linux directories to a mounted cifs share. (This is a samba share mounted under Linux). The server is Ubuntu. Problem I had was rsync kept copying the same files over again even though they did not change. The solution was to add &#8211;modify-window=2 This adds a 2 &hellip; <a href=\"https:\/\/ber10thal.com\/blog\/rsync-backup-to-cifs-smb-samba-share\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">rsync backup to cifs \/ smb \/ samba share<\/span> <span class=\"meta-nav\">&rarr;<\/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":[1],"tags":[],"class_list":["post-488","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/posts\/488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/comments?post=488"}],"version-history":[{"count":2,"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/posts\/488\/revisions"}],"predecessor-version":[{"id":838,"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/posts\/488\/revisions\/838"}],"wp:attachment":[{"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/media?parent=488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/categories?post=488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ber10thal.com\/blog\/wp-json\/wp\/v2\/tags?post=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}