Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.13 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.13 KB

pagers

magnolia per page backup service

Build

alias rust-musl-builder='docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder'
rust-musl-builder cargo build --release
scp target/x86_64-unknown-linux-musl/release/pagers <destination>

Environment

Notes

Currently this service is only being used by the DAM. It utilizes our custom exports.jsp code as Magnolia has moved to vaadin to manage the import/export tools which really are only accessible via a browser. It access Magnolia's RESTful interface to gather a list of leaf nodes / assets that need to be downloaded, exports them individually, and updates the files modify time to match the last_modified associated with the asset. Upon subsequent passes pagers will only export an asset if the last_modified time no longer matches the exported file's modify timestamp. If it does match then a hard link to the original is made for that day's backup; so as to save space.