{"id":1830,"date":"2018-06-17T13:22:16","date_gmt":"2018-06-17T11:22:16","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=1830"},"modified":"2018-11-02T15:34:05","modified_gmt":"2018-11-02T14:34:05","slug":"strarc-a-console-backup-archive-tool","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=1830","title":{"rendered":"Strarc : A console backup\/archive tool"},"content":{"rendered":"<p>Been playing with the excellent <a href=\"http:\/\/www.ltr-data.se\/opencode.html\/\" target=\"_blank\" rel=\"noopener\">strarc<\/a> from Olof.<\/p>\n<p>The basics first:<br \/>\n-to backup a drive\/folder to an archive: <strong>strarc.exe -cd:C:\\  Z:\\winxpsp3.sa<\/strong><br \/>\n-to restore a drive\/folder from an archive : <strong>strarc.exe -xd:C:\\ Z:\\winxpsp3.sa<\/strong><\/p>\n<p>Then, one can backup all files from one logical drive to another (on XP) in one go with this command : <strong>strarc.exe -crjd:c:\\ | strarc.exe -xd:d:\\<\/strong>.<br \/>\nNote the r parameter which will take care of loaded registry hives.<br \/>\nIdeally, rather than backuping a \u00ab\u00a0hot\u00a0\u00bb logical disk (i.e in used), you would use a Volume shadow copy as source (see a discussion <a href=\"http:\/\/reboot.pro\/topic\/18592-backup-a-live-windows-system-with-strarc-and-volume-shadow-copy\/\" rel=\"noopener\" target=\"_blank\">here<\/a>).<\/p>\n<p>Dont forget that when you decide to backup files (i.e not a full physical disk), you need to take care of the MBR on the target disk (hint : grub4dos) and ensure that registry hives are included.<\/p>\n<p>You can also perform such a backup over the network:<br \/>\n-On the \u00ab\u00a0server \/ host A\u00a0\u00bb side : <strong>nc -v -l -p 9000 -e \u00ab\u00a0strarc -cd:x:\\my_folder\\\u00a0\u00bb<\/strong><br \/>\n-On the \u00ab\u00a0client \/ host B\u00a0\u00bb side : <strong>nc 192.168.1.1 9000 > dump.sa<\/strong>  (update the IP obviously with your \u00ab\u00a0server\u00a0\u00bb IP).<\/p>\n<p>Host B will connect to host A (listening on port 9000) and dump all received data (from Host A) to dump.sa<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Been playing with the excellent strarc from Olof. The basics first: -to backup a drive\/folder to an archive: strarc.exe -cd:C:\\ Z:\\winxpsp3.sa -to restore a drive\/folder from an archive : strarc.exe -xd:C:\\ Z:\\winxpsp3.sa Then, one can backup all files from one logical drive to another (on XP) in one go with this command : strarc.exe -crjd:c:\\ <a href='https:\/\/labalec.fr\/erwan\/?p=1830' class='excerpt-more'>[&#8230;]<\/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":[97],"class_list":["post-1830","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-strarc","category-1-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1830"}],"version-history":[{"count":8,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1830\/revisions"}],"predecessor-version":[{"id":1890,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/1830\/revisions\/1890"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}