Skip to content

Instantly share code, notes, and snippets.

@pgwillia
Created October 25, 2016 22:33
Show Gist options
  • Save pgwillia/b08bd8afedd178e1c682cf2f6aeb6796 to your computer and use it in GitHub Desktop.
Save pgwillia/b08bd8afedd178e1c682cf2f6aeb6796 to your computer and use it in GitHub Desktop.
backup/restore Fedora 4.1 to Fedora 4.7-RC-2
[pjenkins@dig002tj3 ansible-dev]$ diff -u plano_permission.txt fedora_4_7_permission.txt
--- plano_permission.txt 2016-10-25 16:22:58.855035675 -0600
+++ fedora_4_7_permission.txt 2016-10-25 16:24:34.108914426 -0600
@@ -13,6 +13,7 @@
@prefix ns005: <http://id.loc.gov/vocabulary/relators/> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix ns009: <http://purl.org/ontology/bibo/> .
+@prefix jcr: <http://www.jcp.org/jcr/1.0> .
@prefix fedoraconfig: <http://fedora.info/definitions/v4/config#> .
@prefix mix: <http://www.jcp.org/jcr/mix/1.0> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@@ -26,28 +27,21 @@
@prefix ns012: <http://vivoweb.org/ontology/core#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix fedora: <http://fedora.info/definitions/v4/repository#> .
+@prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
@prefix xs: <http://www.w3.org/2001/XMLSchema> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
-<http://plano.library.ualberta.ca:8983/fedora/rest/dev/4d/8a/d9/43/4d8ad943-24c7-4b9a-81c7-77973ef040ad> a ldp:RDFSource , ldp:Container , <http://www.jcp.org/jcr/nt/1.0folder> , <http://www.jcp.org/jcr/nt/1.0hierarchyNode> , <http://www.jcp.org/jcr/nt/1.0base> , <http://www.jcp.org/jcr/mix/1.0created> , fedora:Container , fedora:Resource , fedora:Resource , <http://www.jcp.org/jcr/mix/1.0created> , <http://www.jcp.org/jcr/mix/1.0lastModified> , <http://www.jcp.org/jcr/mix/1.0referenceable> ;
- ns006:accessTo <http://plano.library.ualberta.ca:8983/fedora/rest/dev/8c/97/kr/61/8c97kr614> ;
+<http://hydranorthfedora.library.ualberta.ca:8984/rest/dev/4d/8a/d9/43/4d8ad943-24c7-4b9a-81c7-77973ef040ad> a fedora:Container , fedora:Resource ;
+ ns006:accessTo <http://hydranorthfedora.library.ualberta.ca:8984/rest/dev/8c/97/kr/61/8c97kr614> ;
fedora:lastModifiedBy "bypassAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
- fedora:uuid "5af9a834-1898-4bbb-a8ab-7f336d6fc92a"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:createdBy "bypassAdmin"^^<http://www.w3.org/2001/XMLSchema#string> ;
- fedora:primaryType "nt:folder"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:created "2016-06-30T15:54:43.452Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
- fedora:mixinTypes "fedora:Container"^^<http://www.w3.org/2001/XMLSchema#string> , "fedora:Resource"^^<http://www.w3.org/2001/XMLSchema#string> ;
fedora:lastModified "2016-06-30T15:54:43.452Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
ns006:mode ns006:Write ;
ns001:hasModel "Hydra::AccessControls::Permission"^^<http://www.w3.org/2001/XMLSchema#string> ;
ns006:agent <http://projecthydra.org/ns/auth/person#cretwop@hydranorth.ca> ;
+ a ldp:RDFSource , ldp:Container ;
fedora:writable "true"^^<http://www.w3.org/2001/XMLSchema#boolean> ;
- fedora:hasParent <http://plano.library.ualberta.ca:8983/fedora/rest/dev> .
-
-<http://plano.library.ualberta.ca:8983/fedora/rest/dev/4d/8a/d9/43/4d8ad943-24c7-4b9a-81c7-77973ef040ad/fcr:export?format=jcr/xml> dc:format <http://fedora.info/definitions/v4/repository#jcr/xml> .
-
-<http://fedora.info/definitions/v4/repository#jcr/xml> rdfs:label "jcr/xml"^^<http://www.w3.org/2001/XMLSchema#string> .
-
-<http://plano.library.ualberta.ca:8983/fedora/rest/dev/4d/8a/d9/43/4d8ad943-24c7-4b9a-81c7-77973ef040ad> fedora:exportsAs <http://plano.library.ualberta.ca:8983/fedora/rest/dev/4d/8a/d9/43/4d8ad943-24c7-4b9a-81c7-77973ef040ad/fcr:export?format=jcr/xml> .
+ fedora:hasParent <http://hydranorthfedora.library.ualberta.ca:8984/rest/dev> .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment