{"id":283,"date":"2011-02-04T09:04:17","date_gmt":"2011-02-03T22:04:17","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=283"},"modified":"2011-02-04T09:04:17","modified_gmt":"2011-02-03T22:04:17","slug":"rsync-windows-failed-invalid-argument-22","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2011\/02\/rsync-windows-failed-invalid-argument-22\/","title":{"rendered":"rsync windows failed: Invalid argument (22)"},"content":{"rendered":"<p>Rsync from linux server to a Windows server as a redundant backup using cwrsync but getting an error for the chown command on the directories being backed up.<\/p>\n<p>The issue was simple enough, stop telling rsync to change the owner as the linux command is invalid on the windows server.<\/p>\n<p>[php]rsync -atv \/directorytobackup\/ windowsserver::cwshare<br \/>\n[\/php]<br \/>\nchanged to<br \/>\n[php]rsync -rtv \/directorytobackup\/ windowsserver::cwshare<br \/>\n[\/php]<br \/>\nand all is now quiet from an error message perspective.<\/p>\n<p>Thanks to <a href=\"http:\/\/www.itefix.no\/i2\/node\/12250\">Marcin<\/a> and <a href=\"http:\/\/www.linuxquestions.org\/questions\/linux-newbie-8\/rsync-chown-errors-to-fat32-usb-drive-781736\/\">Linux Questions Forum<\/a> for the solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>rsync linux windows invalid argument error<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,22],"tags":[],"class_list":["post-283","post","type-post","status-publish","format-standard","hentry","category-linux-servers-and-software","category-windows-servers"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}