Difference between revisions of "Removing Content"

From UA Libraries Digital Services Planning and Documentation
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The process to do this is as follows:
 
  
First, check to see if the content is in LOCKSS:
+
[[TakeDowns]]
log into the database InfoTrack, select * from inLOCKSS where id_2009 like “u0003_0003696”;
 
if null, then we can delete content in the archive. 
 
If it’s in there, though, we create a problems.txt in the Documentation folder in the archive and say what happened.)
 
  
If NOT in LOCKSS:
+
== One-to-One File Replacements in the Archive ==
      If any items are in the collection, we cannot delete the directories!  In that case, ASK DONNELLY IF THE ITEMS NEED TO GO TO THE OTHER COLLECTION, and: 
 
`rm /srv/archive/u0003/0003696/Metadata/*ead*xml’ (this gets versioned ones as well)
 
`rm /srv/www/htdocs/content/u0003/0003696/Metadata/*ead.xml’
 
Modify the manifest to remove EAD links:  vi /srv/archive/u0003/0003696/Documentation/Manifest.html
 
 
      If NO items are in the collection, make a note of the title for the next set of steps, and then:
 
`rm –r /srv/archive/u0003/0003696`
 
`rm –r /srv/www/htdocs/content/u0003/0003696`;
 
And remove from database:  delete from allColls where id_2009 like “u0003_0003696”
 
And remove the flat file for checksums:  rm /srv/scripts/md5/cya/checksums/u0003/0003696
 
      In either case, remove the EAD listing from the database:  delete from allColls where id_2009 like “u0003_0003748” and AnalogOrDigital like “A”;
 
  
If in LOCKSS:
 
    Create a problems.txt in /srv/archive/u0003/0003696 and indicate that Donnelly told us on x date to take the EAD down, that it was combined with collection u0003_0003748
 
    Remove the live version:
 
    If there’s items:
 
            `rm /srv/www/htdocs/content/u0003/0003696/Metadata/*ead.xml’  -- AND ASK DONNELLY IF THE ITEMS NEED TO GO TO THE OTHER COLLECTION
 
             
 
    If no items: `rm –r /srv/www/htdocs/content/u0003/0003696`;
 
                    In either case, update database so it won’t show in the browse listing, and so we know what happened:
 
                                  update allColls set online=”NULL”, inAcumen=”NULL, listLevel=”NULL, notes = “MSS 3696 Guide to the Arley E. Hughes Sr. Letters was added to collection MSS 3748 on 7/21/14 per Donnelly Lancaster, then taken offline” where id_2009 like “u0003_0003748” and AnalogOrDigital like “A”;
 
               
 
Whether in LOCKSS or not, remove alternative versions of the EAD:
 
`rm /srv/deposits/EADs/*/u0003_0003696.ead.xml`
 
  
     
+
[[Replacing a TIFF]]
  
SECOND, since this impacted another collection, check the title both in the database and in the Manifest in the archive (and the collection xml).
+
[[Replacing a PDF]]
view /srv/archive/u0003/0003748/Documentation/u0003_0003748.xml  (there is none, since there’s no items online yet).
 
vi /srv/archive/u0003/0003748/Documentation/Manifest.html  (changed the title to “Hughes family papers” on both <head> and <title> lines.
 
In the InfoTrack database:
 
select * from allColls where id_2009 like "u0003_0003748";  (the title was in this case updated by the upload of the new EAD; if it was not, must modify it. )
 
Also in this database, add a note: 
 
update allColls set notes = “MSS 3696 Guide to the Arley E. Hughes Sr. Letters was added into this collection 7/21/14 per Donnelly Lancaster; that collection was removed.” where id_2009 like “u0003_0003748”;
 
  
  
THIRD:  If the collection for which an EAD was retracted contains items, check to see if the items go to another collection.  If they do, that’s a whole ‘nother process, that impacts checksums too…
 
  
Delete the PURL for the EAD from the database so that when we have to update those, we won’t be confused.
+
== Web-side Removal ==
`delete from lookup where id_2009 like “u0003_0003696” and history like “%EAD%”;
 
In InfoTrack we also have a table for deleted collections (this has clearly happened a few times).
 
  
If the entire collection was deleted (as this was), then we need an entry here that indicates the identifier, whether it was analog (the EAD) or digital, the date pulled, who requested this, and any notes.
+
[[Removing a derivative]]  (such as an image or mp3 from Acumen)
  
So, for this one, I logged into InfoTrack and typed in:
 
  
insert into removedColls values(NULL,"u0003_0003696","A","2014-07-21","Donnelly Lancaster Walton", "combined with collection u0003_0003748");
 
  
to see the results, type in “select * from removedColls” and you’ll see the whole list:
+
== Archival Content (and web-side) Removal ==
  
MariaDB [InfoTrack]> select * from removedColls;
+
 
+------+---------------+-----------------+------------+---------------------------+-------------------------------------------+
+
[[Removing an EAD]]
| dnum | id_2009      | AnalogOrDigital | datePulled | requestedBy              | notes                                    |
+
 
+------+---------------+-----------------+------------+---------------------------+-------------------------------------------+
+
[[Removing a TIFF or WAV]]
|    1 | u0003_0000544 | A              | 2013-10-03 | Donnelly Lancaster Walton | NULL                                      |
+
 
|    2 | u0003_0002656 | A              | 2013-10-03 | Donnelly Lancaster Walton | NULL                                      |
+
[[Removing an item]]
|    3 | u0003_0002650 | A              | 2013-10-03 | Donnelly Lancaster Walton | in LOCKSS                                |
+
 
|    4 | u0003_0002792 | A              | 2013-10-03 | Donnelly Lancaster Walton | in LOCKSS                                |
+
[[Removing a collection]]
|    5 | u0003_0003211 | A              | 2013-10-03 | Donnelly Lancaster Walton | in LOCKSS                                |
 
|    6 | u0003_0002880 | A              | 2013-10-03 | Donnelly Lancaster Walton | in LOCKSS; has digital content still live |
 
|    7 | u0003_0003135 | A              | 2013-10-03 | Donnelly Lancaster Walton | NULL                                      |
 
|    8 | u0003_0003139 | A              | 2013-10-03 | Donnelly Lancaster Walton | NULL                                      |
 
|    9 | u0003_0003150 | A              | 2013-10-03 | Donnelly Lancaster Walton | NULL                                      |
 
|  10 | u0003_0003335 | A              | 2013-10-03 | Donnelly Lancaster Walton | added to LOCKSS 2014-01-13                |
 
|  11 | u0003_0003420 | A              | 2013-10-03 | Donnelly Lancaster Walton | NULL                                      |
 
|  12 | w0003_0000043 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  13 | w0003_0000064 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  14 | w0003_0000065 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  15 | w0003_0000067 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  16 | w0003_0000074 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  17 | w0003_0000077 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  18 | w0003_0000083 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  19 | w0003_0000088 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  20 | w0003_0000103 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  21 | w0003_0000171 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  22 | w0003_0000172 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  23 | w0003_0000173 | A              | 2013-12-17 | Donnelly Lancaster Walton | NULL                                      |
 
|  24 | u0003_0003696 | A              | 2014-07-21 | Donnelly Lancaster Walton | combined with collection u0003_0003748    |
 
+------+---------------+-----------------+------------+---------------------------+-------------------------------------------+
 
24 rows in set (0.00 sec)
 

Latest revision as of 13:24, 19 May 2015

TakeDowns

One-to-One File Replacements in the Archive

Replacing a TIFF

Replacing a PDF


Web-side Removal

Removing a derivative (such as an image or mp3 from Acumen)


Archival Content (and web-side) Removal

Removing an EAD

Removing a TIFF or WAV

Removing an item

Removing a collection