<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi, </p>
<p><br>
</p>
<p>Yes, some types ( Agents, Subjects, Locations ) are globally scoped and are not tied to a specific repository. This is so you don't have to make multiple Agent records for the same person for each repository you have.
</p>
<p><br>
</p>
<p>If you want to delete these, the easiest way is to do it via the API. </p>
<p><br>
</p>
<p>If you want to blast everything in ASpace, the easiest way is to simply drop the database, delete the index ( in data/solr_index)  and start with a fresh install.
</p>
<p><br>
</p>
<p>b,chris. <br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat  | Phone: 918.236.6048<br>
http://archivesspace.org/<br>
</div>
</font></div>
</div>
</div>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Valerie Addonizio
 <vaddoniz@jhu.edu><br>
<b>Sent:</b> Thursday, May 7, 2015 5:13 PM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] What defines "a repository?"</font>
<div> </div>
</div>
<div>
<div style="" class="WordSection1">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Thanks, Maura. I will look into that.</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">-V</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
<span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
<b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org]
<b>On Behalf Of </b>Maura Carbone<br>
<b>Sent:</b> Thursday, May 07, 2015 11:03 AM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] What defines "a repository?"</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
 </p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
Hi Valerie,</p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
You could batch delete through the API -- I've done this with accessions, but it looks like there are commands for removing agents and subjects as well (<a style="color: blue; text-decoration: underline;" href="http://archivesspace.github.io/archivesspace/doc/file.API.html">http://archivesspace.github.io/archivesspace/doc/file.API.html</a>).
 I don't know why they didn't delete with the snapshot; agents are kept in the database as far as I am aware so as long as that was reset to zero (so to speak) I would think they would go away.</p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
 </p>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
-Maura</p>
</div>
</div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
 </p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
On Thu, May 7, 2015 at 10:57 AM, Valerie Addonizio <<a style="color: blue; text-decoration: underline;" href="mailto:vaddoniz@jhu.edu" target="_blank">vaddoniz@jhu.edu</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D">Thanks, Ben.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D">As a follow up to you and the community, my partner in crime on the server side attempted to restore our instance by using a snapshot he took before my test migration of accession records. When he went to restore the instance based
 on that snapshot, the repositories were successfully emptied out, but the Agents and Subjects remained. I might ask him to ask the question in a more technical sense, but can anyone inform us as to why that happened? Why did the Agents and Subjects persist?
 How can we remove them, other than manually?</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D">Thanks.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D">-Valerie</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">
<a style="color: blue; text-decoration: underline;" href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">
archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [mailto:<a style="color: blue; text-decoration: underline;" href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b>On Behalf Of </b>Ben Goldman<br>
<b>Sent:</b> Thursday, May 07, 2015 10:49 AM<br>
<b>To:</b> Archivesspace Users Group</span></p>
<div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] What defines "a repository?"</p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
 </p>
<div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black">Hi Valerie,</span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black">As I understand it, Accessions, Resources and Digital Objects are repository-specific, while Subjects and Agents (and maybe the other modules like Locations, Events, Collection Management
 and Classifications) exist across repositories. </span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black">-Ben</span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<b><span style="font-family:"Georgia","serif"; color:black">Ben Goldman</span></b><span style="font-family:"Georgia","serif"; color:black"><br>
Digital Records Archivist<br>
Penn State University Libraries<br>
University Park, PA<br>
<a style="color: blue; text-decoration: underline;" href="tel:814-863-8333" target="_blank">814-863-8333</a><br>
<a style="color: blue; text-decoration: underline;" href="http://www.libraries.psu.edu/psul/speccolls.html" target="_blank">http://www.libraries.psu.edu/psul/speccolls.html</a></span></p>
</div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black"> </span></p>
<div class="MsoNormal" style="text-align: center; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" align="center">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black">
<hr align="center" size="2" width="100%">
</span></div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<b><span style="font-family:"Helvetica","sans-serif"; color:black">From: </span></b><span style="font-family:"Helvetica","sans-serif"; color:black">"Valerie Addonizio" <<a style="color: blue; text-decoration: underline;" href="mailto:vaddoniz@jhu.edu" target="_blank">vaddoniz@jhu.edu</a>><br>
<b>To: </b>"Archivesspace Users Group" <<a style="color: blue; text-decoration: underline;" href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Sent: </b>Thursday, May 7, 2015 10:42:26 AM<br>
<b>Subject: </b>Re: [Archivesspace_Users_Group] What defines "a repository?"</span></p>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-family:"Helvetica","sans-serif"; color:black"> </span></p>
</div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D">I am bumping this question back up, since I do need a working understanding of the relationship between repositories and Agents and Subjects in order to plan our migration. If my question is totally bonkers, feel free to tell me.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D">-Valerie</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">
<a style="color: blue; text-decoration: underline;" href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">
archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [<a style="color: blue; text-decoration: underline;" href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b>On Behalf Of </b>Valerie Addonizio<br>
<b>Sent:</b> Monday, May 04, 2015 5:06 PM<br>
<b>To:</b> <a style="color: blue; text-decoration: underline;" href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">
archivesspace_users_group@lyralists.lyrasis.org</a><br>
<b>Subject:</b> [Archivesspace_Users_Group] What defines "a repository?"</span></p>
</div>
</div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black">Dear everyone,</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black">Here’s another pretty basic question.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black">I currently have three repositories in our instance of AS. One was created by the migrator when I migrated over our accessions, one is blank, and one holds resources that I want to play around with.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black">Today I imported our accessions and created the third repository mentioned above, but was surprised to find that the names and subjects that I had imported appeared in every repository, not just the repository that the migrator created.
 This made me realize that a very basic assumption of mine was seriously flawed: I had guessed that repositories were completely separate from one another, and that if I had an agent record for “Doe, John” in one, it would not appear elsewhere.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black">So, I’d like to request a basic explanation of what the repositories hold that are unique to them, and what is shared across the entire instance? What defines “a repository?”</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black">Thanks for the continuing assistance!</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black">-Valerie</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; color:black">--------------------------------</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; color:black">Valerie Addonizio</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; color:black">Archivist</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; color:black">The Sheridan Libraries</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; color:black">Johns Hopkins University</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; color:black"><a style="color: blue; text-decoration: underline;" href="mailto:vaddoniz@jhu.edu" target="_blank">vaddoniz@jhu.edu</a></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; color:black"><a style="color: blue; text-decoration: underline;" href="tel:410-516-5261" target="_blank">410-516-5261</a></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="color:black"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-family:"Helvetica","sans-serif"; color:black"><br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a style="color: blue; text-decoration: underline;" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a style="color: blue; text-decoration: underline;" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></span></p>
</div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<span style="font-size:10.0pt; font-family:"Georgia","serif"; color:black"> </span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";">
<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a style="color: blue; text-decoration: underline;" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a style="color: blue; text-decoration: underline;" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></p>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
<br>
<br clear="all">
</p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
 </p>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
-- </p>
<div>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
Maura Carbone</p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman","serif";" class="MsoNormal">
Digital Initiatives Librarian<br>
Brandeis University<br>
Library and Technology Services<br>
(781) 736-4659<br>
415 South Street, (MS 017/P.O. Box 549110)<br>
Waltham, MA 02454-9110<br>
email: <a style="color: blue; text-decoration: underline;" href="mailto:mauraa@brandeis.edu" target="_blank">mauraa@brandeis.edu</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>