AIP backup creates lots of files when it should have created only one file.

12 views
Skip to first unread message

Ashim Kapoor

unread,
Sep 20, 2019, 5:44:56 AM9/20/19
to DSpace Technical Support
Dear all,

Here is the command that I used:-

[dspace]/bin/dspace packager -d -a -t AIP -e <my-email> -i 123456789/0 sitewide-dspace77-aip.zip

I copied the files to BACKUP folder and I zipped them.

I see 33 files when I should see just 1 file ( sitewide-dspace77-aip.zip ).

Here is a list of all files created.

Archive:  BACKUP.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
    1423  Stored     1423   0% 2019-09-20 14:52 d264cdf5  BACKUP/COLLE...@123456789-10.zip
    1536  Stored     1536   0% 2019-09-20 14:52 bfee027a  BACKUP/COLLE...@123456789-15.zip
    1482  Stored     1482   0% 2019-09-20 14:52 892aaba5  BACKUP/COLLE...@123456789-19.zip
    1477  Stored     1477   0% 2019-09-20 14:52 6dff918f  BACKUP/COLLE...@123456789-27.zip
    2016  Stored     2016   0% 2019-09-20 14:52 6c5d64b1  BACKUP/COLLE...@123456789-3.zip
    2141  Stored     2141   0% 2019-09-20 14:52 637eca00  BACKUP/COLLE...@123456789-6.zip
    1444  Stored     1444   0% 2019-09-20 14:52 752d2d89  BACKUP/COLLE...@123456789-9.zip
    1559  Stored     1559   0% 2019-09-20 14:52 57d34e7b  BACKUP/COMM...@123456789-2.zip
    1385  Stored     1385   0% 2019-09-20 14:52 cc20d845  BACKUP/COMM...@123456789-34.zip
    1341  Stored     1341   0% 2019-09-20 14:52 d176e4c2  BACKUP/COMM...@123456789-35.zip
23445386  Stored 23445386   0% 2019-09-20 14:52 a558670a  BACKUP/IT...@123456789-11.zip
 7842457  Stored  7842457   0% 2019-09-20 14:52 d22fad1b  BACKUP/IT...@123456789-12.zip
16014072  Stored 16014072   0% 2019-09-20 14:52 fdac809e  BACKUP/IT...@123456789-13.zip
 2985216  Stored  2985216   0% 2019-09-20 14:52 16c0ca51  BACKUP/IT...@123456789-14.zip
136918164  Stored 136918164   0% 2019-09-20 14:52 946c11d7  BACKUP/IT...@123456789-16.zip
12434258  Stored 12434258   0% 2019-09-20 14:52 131fb354  BACKUP/IT...@123456789-17.zip
161113172  Stored 161113172   0% 2019-09-20 14:52 46f4dba1  BACKUP/IT...@123456789-18.zip
 1783366  Stored  1783366   0% 2019-09-20 14:52 38338baa  BACKUP/IT...@123456789-20.zip
 3393250  Stored  3393250   0% 2019-09-20 14:52 0f138d89  BACKUP/IT...@123456789-21.zip
 1358268  Stored  1358268   0% 2019-09-20 14:52 5c1656c2  BACKUP/IT...@123456789-22.zip
 1749260  Stored  1749260   0% 2019-09-20 14:52 c8f9e893  BACKUP/IT...@123456789-23.zip
10468478  Stored 10468478   0% 2019-09-20 14:52 8dd8ee45  BACKUP/IT...@123456789-24.zip
16427932  Stored 16427932   0% 2019-09-20 14:52 93777142  BACKUP/IT...@123456789-25.zip
 6785968  Stored  6785968   0% 2019-09-20 14:52 c691afc3  BACKUP/IT...@123456789-26.zip
  663644  Stored   663644   0% 2019-09-20 14:52 b3563ba3  BACKUP/IT...@123456789-28.zip
   20789  Stored    20789   0% 2019-09-20 14:52 d404a37c  BACKUP/IT...@123456789-29.zip
   35695  Stored    35695   0% 2019-09-20 14:52 6c8f5b18  BACKUP/IT...@123456789-30.zip
 8658263  Stored  8658263   0% 2019-09-20 14:52 6b3b82e5  BACKUP/IT...@123456789-31.zip
   28433  Stored    28433   0% 2019-09-20 14:52 df8c9b38  BACKUP/IT...@123456789-32.zip
   28662  Stored    28662   0% 2019-09-20 14:52 6dca4c3f  BACKUP/IT...@123456789-33.zip
 6105359  Stored  6105359   0% 2019-09-20 14:52 3fb0efc3  BACKUP/IT...@123456789-7.zip
14337654  Stored 14337654   0% 2019-09-20 14:52 e52944ff  BACKUP/IT...@123456789-8.zip
    1920  Stored     1920   0% 2019-09-20 14:52 99cf40df  BACKUP/sitewide-dspace77-aip.zip
--------          -------  ---                            -------
432615470         432615470   0%                            33 files
BACKUP.zip (END)

Where do I misunderstand? Why do I see 33 files when I should see just one ?

Thank you,
Ashim


Ashim Kapoor

unread,
Sep 20, 2019, 6:00:33 AM9/20/19
to DSpace Technical Support
Dear All,

On this page :-


it says :-

Again, this would export the DSpace Site AIP into the file "sitewide-aip.zip", and export AIPs for all Communities, Collections and Items into the same directory as the Site AIP.

Is this the answer to my original query ?

Thank you,

Ashim


Tim Donohue

unread,
Sep 20, 2019, 9:36:52 AM9/20/19
to Ashim Kapoor, DSpace Technical Support
Hi Ashim,

Yes, the AIP Backup and Restore script creates a separate Zip file for every object (Community, Collection, Item) in your DSpace.  So, if you have 100 Items, 2 Communities and 2 Collections, you'll end up with 105 Zip files (one for Site, 2 Communities, 2 Collections and 100 Items).

Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Ashim Kapoor <ashim....@nipfp.org.in>
Sent: Friday, September 20, 2019 5:00 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] Re: AIP backup creates lots of files when it should have created only one file.
 
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAGEJAoFx%2B7XvdpCHDmPf3%3DPPcH3HneVQn6roDqUEoBOtce%2Bc%2BA%40mail.gmail.com.

Ashim Kapoor

unread,
Sep 20, 2019, 11:20:15 AM9/20/19
to Tim Donohue, DSpace Technical Support
Dear Tim,

Ok, thanks.

Best,
Ashim
Reply all
Reply to author
Forward
0 new messages