Skip to content

Commit

Permalink
Merge pull request #59 from amiaopensource/remove-lto2filemaker
Browse files Browse the repository at this point in the history
remove lto2filemaker and its configuration process
  • Loading branch information
dericed authored Feb 22, 2017
2 parents a8a57d5 + d5cd14e commit 5b2b463
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 240 deletions.
28 changes: 0 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,6 @@ The script will format your tape in LTFS format, with no compression, and sets r

**Remember to physically label the tape with the tape id!**

##Set Configuration##

If this is the first time you are running the LTO scripts, you must first edit the configuration file.

**Run ltoperconfig script.**

**Follow the prompts to edit the following variables:**

```
FILEMAKER_USER=XXXXX
FILEMAKER_PASS=XXXXX
FILEMAKER_DB=XXXXX
FILEMAKER_XML_URL=xxx.xxx/xxx.xml
```

##Mounting LTO & Creating XMLs##

**Put tape you want to mount in the deck (you do not have to push it in all the way).**
Expand All @@ -78,8 +63,6 @@ Tape will load in deck and mount.

Whenever a tape is ejected, the script will export the tape’s index (as an xml .schema file) to $HOME/Documents/lto_indexes on your computer. If a .schema file for that tape already exists in that location, it will just update the existing schema file with any new data.

The mountlto script will then prompt the lto2filemaker script to run.

##Writing LTO##

**To write data onto a tape, run the writelto script.**
Expand All @@ -88,17 +71,7 @@ The mountlto script will then prompt the lto2filemaker script to run.

The script will run rsync twice the transfer the data to the LTO tape. It runs twice to address an unresolved problem with small-sized files not transferring properly (running it twice seems to fix the errors).


##Writing LTO metadata to FileMaker##

This process happens automatically via the lto2filemaker script, which runs when the user unmounts the LTO tape using the mountlto script. Using XML Starlet, the lto2filemaker script parses the xml documents and sends the metadata to the lto\_tapes and lto\_files tables in FileMaker.

Lto2filemaker can also be invoked independently:

`$lto2filemaker yourfile.schema`

##Tools##
- ltoperconfig
- mountlto
- formatlto
- writelto
Expand All @@ -107,7 +80,6 @@ Lto2filemaker can also be invoked independently:
- ingestschemas
- indexschemas
- renameschemas
- lto2filemaker (requires XMLStarlet)

##External locations of LTO scripts and related tools:##
https://github.com/amiaopensource/ltopers
Expand Down
98 changes: 0 additions & 98 deletions lto2filemaker

This file was deleted.

111 changes: 0 additions & 111 deletions ltoperconfig

This file was deleted.

3 changes: 0 additions & 3 deletions writelto
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ esac
renameschemas -u

SCHEMA_FILE="$LTO_LOGS/${TAPE_SERIAL}.schema"
if [[ -n "${FILEMAKER_XML_URL}" ]] ; then
"${SCRIPTDIR}/lto2filemaker" "${SCHEMA_FILE}"
fi

_eventoutcome_update
_report_schema_db
Expand Down

0 comments on commit 5b2b463

Please sign in to comment.