<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 171) solid;font-family:'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif;font-size:11pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(223, 237, 250);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(223, 237, 250) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}.wf {speak:none; font-weight:normal; font-variant:normal; text-transform:none; -webkit-font-smoothing:antialiased; vertical-align:middle; display:inline-block;}.wf-family-owa {font-family:'o365Icons'}@font-face { font-family:'o365IconsIE8'; src:url('https://r4.res.outlook.com/owa/prem/15.0.888.9/resources/styles/office365icons.ie8.eot?#iefix') format('embedded-opentype'), url('https://r4.res.outlook.com/owa/prem/15.0.888.9/resources/styles/office365icons.ie8.woff') format('woff'), url('https://r4.res.outlook.com/owa/prem/15.0.888.9/resources/styles/office365icons.ie8.ttf') format('truetype'); font-weight:normal; font-style:normal;}@font-face { font-family:'o365IconsMouse'; src:url('https://r4.res.outlook.com/owa/prem/15.0.888.9/resources/styles/office365icons.mouse.eot?#iefix') format('embedded-opentype'), url('https://r4.res.outlook.com/owa/prem/15.0.888.9/resources/styles/office365icons.mouse.woff') format('woff'), url('https://r4.res.outlook.com/owa/prem/15.0.888.9/resources/styles/office365icons.mouse.ttf') format('truetype'); font-weight:normal; font-style:normal;}.wf-family-owa {font-family:'o365IconsMouse'}.ie8 .wf-family-owa {font-family:'o365IconsIE8'}.ie8 .wf-owa-play-large:before {content:'\e254';}.notIE8 .wf-owa-play-large:before {content:'\e054';}.ie8 .wf-owa-play-large {color:#FFFFFF/*$WFWhiteColor*/;}.notIE8 .wf-owa-play-large {border-color:#FFFFFF/*$WFWhiteColor*/; width:1.4em; height:1.4em; border-width:.1em; border-style:solid; border-radius:.8em; text-align:center; box-sizing:border-box; -moz-box-sizing:border-box; padding:0.1em; color:#FFFFFF/*$WFWhiteColor*/;}.ie8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-size-play-large {width:40px; height:40px; font-size:30px}--></style>
</head>
<body>
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Karen,<br>
</p>
<p><br>
</p>
<p>Apologize about the delayed response. I was out ill the last couple of days.<br>
</p>
<p><br>
</p>
<p>No, this is not a dumb question at all...it is in fact a bug that was fixed last month (just after the 1.0.4 release). </p>
<p><br>
</p>
<p>To fix this, just download this script => <a href="https://github.com/hudmol/archivesspace/commits/master/launcher/backup/lib/backup.rb">https://github.com/hudmol/archivesspace/commits/master/launcher/backup/lib/backup.rb</a> ( click the "Raw" view on Github
and use the browser's "Save As" to save the raw script to your computer). Replace the launcher/backup/lib/backup.rb with this downloaded version. <br>
</p>
<p><br>
</p>
<p>Alternately, you can just add :<br>
</p>
<p></p>
<pre class="diff-line-pre" style="box-sizing: border-box; font-family: consolas, 'liberation mono', courier, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 0px; color: #333333;"><span class="x" style="box-sizing: border-box; color: #000000;"><br></span></pre>
<pre class="diff-line-pre" style="box-sizing: border-box; font-family: consolas, 'liberation mono', courier, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 0px; color: #333333;"><span class="x" style="box-sizing: border-box; color: #000000;">require 'asutils'</span></pre>
<p><br>
</p>
<p>To line 12 of your current script (that's the only change).<br>
</p>
<p><br>
</p>
<p>That should let you run the backup.bat script without any issues...<br>
</p>
<p><br>
</p>
<p>Let me know if that works. <br>
</p>
<p><br>
</p>
<p>best,chris. <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<p><br>
</p>
<div class="BodyFragment"><font size="2">
<div class="PlainText">Chris Fitzpatrick | chris.fitzpatrick@lyrasis.org<br>
Developer, ArchivesSpace<br>
http://archivesspace.org/<br>
</div>
</font></div>
</div>
<div style="color: #282828;">
<hr tabindex="-1" style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of AOM Archives
<archives@mobilearchdiocese.org><br>
<b>Sent:</b> Monday, February 24, 2014 7:21 PM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org<br>
<b>Subject:</b> [Archivesspace_Users_Group] Help with backup</font>
<div> </div>
</div>
<div><span style="font-family: tahoma, geneva, sans-serif; font-size: 10pt;">I really hope this question is not too dumb, as I am still really new at working with DOS and am barely keeping by head above water.
<div><br>
</div>
<div>I have Archivesspace running on my Windows 7 laptop against a MySQL database. I am now trying to figure out how to back up my data. I think the directions in the Wiki are mostly Unix-based, so I have been getting some help to try to translate them to DOS.
When I run what I think is the correct script, I get an error when it tries to write the zip file. Below is the output that I receive when I run this script, and there is no zip file created. Help?
<div><br>
</div>
<div>C:\archivesspace\scripts>backup.bat --output C:\backup\testbackup.zip --mysqldump</div>
<div>Loading ArchivesSpace configuration file from path: C:\archivesspace\scripts\\../config/config.rb</div>
<div>Loading ArchivesSpace configuration file from path: C:\archivesspace\scripts\\../config/config.rb</div>
<div>2014-02-23 12:49:55 -0600: Writing backup to C:/backup/testbackup.zip</div>
<div>INFO: Previous snapshot status: {}; snapshot:</div>
<div>NameError: uninitialized constant ArchivesSpaceBackup::ASUtils</div>
<div> const_missing at org/jruby/RubyModule.java:2684</div>
<div> backup at ../launcher/backup/lib/backup.rb:104</div>
<div> main at ../launcher/backup/lib/backup.rb:145</div>
<div><span style="font-size: 10pt;"> (root) at ../launcher/backup/lib/backup.rb:149</span>
<div><br>
</div>
<div><br>
<br>
<div><em><span style="font-family: 'times new roman';"><strong>Karen Horton, CA<br>
Archivist, Archdiocese of Mobile</strong></span></em></div>
</div>
</div>
</div>
</span></div>
</div>
</div>
</body>
</html>