Skip to content

gmontimantis/evergreen-libraryiq-export

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

evergreen-libraryiq-export

This software will extract data from an Evergreen server and SFTP the output to the specified host. It will send an email to a set of email addresses upon completion. If there is an error, it will send an email to a different set of email addresses. The output data will be kept locally inside the specified archive folder.

Steps:

    git clone https://github.com/mcoia/evergreen-libraryiq-export.git
    cd evergreen-libraryiq-export
    cp library_config.conf.example library_config.conf
    vi library_config.conf
    #make tweaks for the log file, archive folder, temp folder, SFTP credentials, etc.
    ./extract_libraryiq.pl --config library_config.conf

Command line options

Alternate path to the Evergreen config file (opensrf.xml)

    --xmlconfig /path/to/xml

Defaults to: /openils/conf/opensrf.xml

recreatedb

    --recreatedb

This flag will cause the software to drop and recreate the database schema. It uses a schema named "libraryiq" It might be a good idea to use this flag if this script receives an update from git. There might be tweaks to the DB functions that will need to get applied to your system.

full

    --full

Use this flag to cause the script to extract a full dataset for the specified libraries. By default, the script extracts the data from Evergreen that changed since the last time it ran (for this config file).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%