Taking backup from old server
systemctl stop tomcat9
find / -name update-sequences.sql
su dspace
psql -U dspace -f /dspace/etc/postgres/update-sequences.sql dspace
mkdir /home/koha/hk
pg_dump -U dspace -h localhost dspace > /home/koha/hk/dspace.sql
zip -r /home/koha/hk/assetstore.zip assetstore/
/dspace/bin/dspace solr-export-statistics -i authority
/dspace/bin/dspace solr-export-statistics -i statisticscd .ds
cd /dspace
zip -r /home/koha/hk/solr-export.zip solr-export/
Comments
Post a Comment