{"id":15,"date":"2016-05-22T18:40:31","date_gmt":"2016-05-22T16:40:31","guid":{"rendered":"http:\/\/moumoune.xcorp.fr\/?p=15"},"modified":"2016-05-22T18:41:23","modified_gmt":"2016-05-22T16:41:23","slug":"backup-avec-rsync","status":"publish","type":"post","link":"https:\/\/blog.xcorp.fr\/index.php\/2016\/05\/22\/backup-avec-rsync\/","title":{"rendered":"backup avec rsync"},"content":{"rendered":"<p>il faut au pr\u00e9alable avoir installer <em>sshpass<\/em><\/p>\n<p>le script :<\/p>\n<p><em>#!\/bin\/bash<\/em><br \/>\n<em>sshpass -f &lsquo;passwd-kenobi.txt&rsquo; rsync &#8211;exclude-from=ExclusionRsync.txt -avz -e ssh \/home\/ alx@192.168.0.95:\/home\/alx\/RAID1<\/em><\/p>\n<p>le fichier ExclusionRsync.txt : il faut saisir les dossiers \u00e0 partir du dossier source : <em>\/home<\/em><\/p>\n<p><em>alx\/partage<\/em><br \/>\n<em>alx\/.cache<\/em><br \/>\n<em>alx\/.local<\/em><br \/>\n<em>alx\/.mozilla<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>il faut au pr\u00e9alable avoir installer sshpass le script : #!\/bin\/bash sshpass -f &lsquo;passwd-kenobi.txt&rsquo; rsync &#8211;exclude-from=ExclusionRsync.txt -avz -e ssh \/home\/ alx@192.168.0.95:\/home\/alx\/RAID1 le fichier ExclusionRsync.txt : il faut saisir les dossiers \u00e0 partir du dossier source : \/home alx\/partage alx\/.cache alx\/.local &hellip; <a href=\"https:\/\/blog.xcorp.fr\/index.php\/2016\/05\/22\/backup-avec-rsync\/\">Continuer la lecture <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":{"spay_email":"","footnotes":""},"categories":[3,8],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/posts\/15"}],"collection":[{"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":1,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":16,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/posts\/15\/revisions\/16"}],"wp:attachment":[{"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcorp.fr\/index.php\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}