Re: [Dspace-tech] Help for dspace backup/restore

2015-05-14 Thread Andrea Schweer

  
  
Hi,

you probably just need to reindex for discovery
[dspace]/bin/dspace index-discovery -bo

cheers,
Andrea

On 14/05/15 19:14, Emmanuel Wilson
  wrote:


  hello all.using database + assetstore restore
method



  i tried this.pg_dump/psql
  backup:
  pg_dump -U username -f backup.sql database_name
  restore:
  psql -d database_name -f backup.sql
  
it works something like
  import.alter table, create table etc.
i restarted tomcat.but only
  communities are camewhen i enter in to it no records
  found. i already copied the assetstore at /home/dspace/
  

  
  
  
  
  --
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
  
  
  
  ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Help for dspace backup/restore

2015-05-14 Thread Emmanuel Wilson
hello all.using database + assetstore restore method

i tried this.*pg_dump/psql*

backup:

pg_dump -U username -f backup.sql database_name

restore:

psql -d database_name -f backup.sql

it works something like import.alter table, create table etc.
i restarted tomcat.but only communities are camewhen i enter in to
it no records found. i already copied the assetstore at /home/dspace/
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Help for dspace backup/restore

2015-05-13 Thread Tim Donohue
Hi Emmanuel,

I'd recommend checking your DSpace logs then after running the Restore 
command. It's possible an error is being reported in the logs. For more 
info on this see 
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

- Tim

On 5/12/2015 11:36 PM, Emmanuel Wilson wrote:
> hello
>
> Yes. EPerson named "dspace@localhost" in my DSpace is the administer.
>
> Yes. "handle.prefix" value really "1" bcz i found it at CNRI handle
> prefix = 1.
>

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Help for dspace backup/restore

2015-05-13 Thread Emmanuel Wilson
i found something good on this topic:
https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite

Flavio Vieira Pontes 

Is it possible to use AIP to move the entire site from a earlier version to
the most recent version?

   - Jan 24, 2014
   



   1.

   [image: User icon: tdonohue]
   
   Tim Donohue 

   Yes, it should be possible to use the AIP tools to upgrade from one
   version to another.  Though there are some limitations:
   - Your older version of DSpace would need to be *at least* DSpace 1.7
  (AIP Backup tools do not exist prior to DSpace 1.7)
  - If you are using the newer "Item Level Versioning" feature, AIPs do
  NOT capture all versions of Items, so any prior versions of
Items would be
  lost. AIPs also do NOT capture in-process items (e.g. deposits
which users
  have begun in DSpace but never completed), so those would be
lost as well.
  See the details of what is and is not supported in AIP backups in this
  section above: How does this differ from traditional DSpace Backups?
  

  - When importing into the new version of DSpace, you MUST use the
   "Restore/Replace Mode" (-r) documented above.  Otherwise your
handles will
  not be restored properly.
  - I'd *highly recommend* testing the process first on a test server
  before trying it in Production. There have been various bug fixes to the
  AIP backup & restore process in recent versions (1.8, 3.0, 4.0), so you
  really should fully test that it will work properly for you.

   Based on all those limitations, it may or may not be easier than just
   performing a normal DSpace Upgrade
   
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Help for dspace backup/restore

2015-05-12 Thread Emmanuel Wilson
hello

Yes. EPerson named "dspace@localhost" in my DSpace is the administer.

Yes. "handle.prefix" value really "1" bcz i found it at CNRI handle prefix
= 1.
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Help for dspace backup/restore

2015-05-12 Thread Tim Donohue
Hi Emmanuel,

The process sounds correct, but as Olivier mentioned, you may want to 
restore to a DSpace 3.x instance (since you exported from 3.1). After 
the restore, you can then upgrade to DSpace 4.2.

Also, a few of the arguments to your restore command don't look correct:

-e dspace@localhost

The "-e" argument specifies the EPerson in DSpace to run the command as. 
Is there really an EPerson named "dspace@localhost" in your DSpace?

-i 1/0

The "-i" argument specifies the identifier of the object under which the 
content should be restored. When performing a full site restore, this 
identifier should end in "/0" (which is what you have). But, you should 
specify your Handle prefix before the "/0" (i.e. the value of 
"handle.prefix" in your dspace.cfg file).  Is your "handle.prefix" value 
really "1"?  If not, this "-i" argument value should be changed to 
"[handle.prefix]/0"

If you are still having issues, please check your logs for specific 
error messages, and send those errors to this mailing list. Some notes 
on locating errors in logs are at:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

More notes on the restore command are in the AIP documentation at:
https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite

- Tim

On 5/11/2015 1:35 AM, Emmanuel Wilson wrote:
> Hello all.
>
> i backup zip entire site files using AIP command which includes
> backup.zip communities, collections and items.
>
> then i restore it in to another PC (dspace 4.2) using restore command :
> ./dspace packager -r -a -f -t AIP -e dspace@localhost -i 1/0
> /home/dspace/backup/backup.zip
>
> actually i tried to restore files from dspace 3.1 to dspace 4.2 . But it
> doesnot work for me.is that correct way?? my pc running out of storage.
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Help for dspace backup/restore

2015-05-10 Thread Olivier Nicole
Emmanuel,

> i backup zip entire site files using AIP command which includes backup.zip
> communities, collections and items.
>
> then i restore it in to another PC (dspace 4.2) using restore command :
> ./dspace packager -r -a -f -t AIP -e dspace@localhost -i 1/0
> /home/dspace/backup/backup.zip
>
> actually i tried to restore files from dspace 3.1 to dspace 4.2 . But it
> doesnot work for me.is that correct way?? my pc running out of storage.

I am not a DSpace specialist on that matter (nor on any matter in fact)
but usually you will backup 3.1 and restore to 3.1 and the only update
to 4.2. This is true for just any software.

Best regards,

Olivier


> [1/2:text/html Show]
>
>
> [2:text/plain Hide]
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
> [3:text/plain Hide]
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Help for dspace backup/restore

2015-05-10 Thread Emmanuel Wilson
Hello all.

i backup zip entire site files using AIP command which includes backup.zip
communities, collections and items.

then i restore it in to another PC (dspace 4.2) using restore command :
./dspace packager -r -a -f -t AIP -e dspace@localhost -i 1/0
/home/dspace/backup/backup.zip

actually i tried to restore files from dspace 3.1 to dspace 4.2 . But it
doesnot work for me.is that correct way?? my pc running out of storage.
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette