Created
October 13, 2015 20:30
-
-
Save peterdietz/585ba3a6859a5d2bd8d8 to your computer and use it in GitHub Desktop.
DSpace bitstore-migrate from local filesystem to AWS S3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peterdietz:assetstore-20151013-again peterdietz$ /dspace/bin/dspace bitstore-migrate -h | |
usage: Migrate | |
-a,--source <arg> Source assetstore (to lose content) | |
-b,--destination <arg> Destination assetstore (to gain content) | |
-h,--help Help | |
-k,--keep Keep assets in source assetstore (don't delete | |
it). | |
-p,--print Print out current assetstore information | |
-s,--size <arg> Batch commit size | |
peterdietz:assetstore-20151013-again peterdietz$ /dspace/bin/dspace bitstore-migrate -p | |
store[0] == DSBitStore, which has 284 # of bitstreams. | |
store[1] == S3BitStore, which has 0 # of bitstreams. | |
Incoming assetstore is store[1] | |
peterdietz:assetstore-20151013-again peterdietz$ /dspace/bin/dspace bitstore-migrate -a 0 -b 1 | |
peterdietz:assetstore-20151013-again peterdietz$ /dspace/bin/dspace bitstore-migrate -p | |
store[0] == DSBitStore, which has 0 # of bitstreams. | |
store[1] == S3BitStore, which has 284 # of bitstreams. | |
Incoming assetstore is store[1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now, better logs. You can follow along, if you get bored during migration.