JBAS-1437 Backstage quarterly export docs
authorBill Erickson <berickxx@gmail.com>
Thu, 8 Dec 2016 22:27:31 +0000 (17:27 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/authority-control/backstage/README.adoc

index 1f950b6..1db1005 100644 (file)
@@ -27,10 +27,11 @@ Bibs are exported as MARC and uploaded to Backstage
 ./export-bibs.pl \
     --start-date 2010-01-01 \
     --end-date 2016-06-01 \
-    --export-date $EXPORT_DATE \
     --out-file $WORKING_DIR/exported-bibs.$EXPORT_DATE.mrc
 
-# Send file to BS FTP server in(bound) directory.
+# Upload to Backstage
+curl --user USER:PASS -T \
+    $WORKING_DIR/exported-bibs.$EXPORT_DATE.mrc ftp://ftp.bslw.com/in/
 --------------------------------------------------------------------
 
 === Process Results ===
@@ -40,7 +41,7 @@ Bibs are exported as MARC and uploaded to Backstage
 [source,sh]
 --------------------------------------------------------------------
 cd $WORKING_DIR
-wget <backstage-results-file>
+curl --user USER:PASS -O ftp://ftp.bslw.com/out/<result-file>
 --------------------------------------------------------------------
 
 ==== Process Results Files ====
@@ -55,7 +56,7 @@ cd /home/opensrf/Evergreen/KCLS/backstage/
 ./process-backstage-files.pl \
     --verbose \
     --export-date $EXPORT_DATE \
-    --zip-file $WORKING_DIR/<results-file> \
+    --zip-file $WORKING_DIR/<result-file> \
     --working-dir $WORKING_DIR \
     --bib-collision-file bib-collisions.mrc \
     > $WORKING_DIR/process.log