Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve backup support #4

Closed
der opened this issue Dec 19, 2013 · 5 comments
Closed

Improve backup support #4

der opened this issue Dec 19, 2013 · 5 comments

Comments

@der
Copy link
Contributor

der commented Dec 19, 2013

Should have option to create a complete store dump in a portable format.

Either directly or by migrating to a manageable separate storage service like Fuseki.

@der
Copy link
Contributor Author

der commented Jun 2, 2014

Current implementation supports a "schedule backup" admin action which creates a compressed nquads dump.

@der der closed this as completed Jun 2, 2014
@dr-shorthair
Copy link

So how to use this to restore?

@dr-shorthair
Copy link

Can you point to documentation for scheduled & ad-hoc backup.

@der
Copy link
Contributor Author

der commented Aug 12, 2014

Looks like the documentation is out of date.

Short summary is that "POST" to the endpoint {registry}/system/backup will trigger a backup of the database which will then run as a background task.

The UI calls an internal service to check the status of the backup task. There is currently no REST endpoint for checking backup status but there probably should be.

In the deployed systems a cron job uses curl to trigger a backup at regular intervals.

The backup is a compressed nquads file in /var/opt/ldregistry/backup (location configurable on services.conf). It can be restored by using the jena utilities tdbloader or tdbloader2 to create a loaded database, then install that at /var/opt/ldregistry/store or wherever you have the store configured.

Re:opening issue since the documentation needs doing properly.

@der
Copy link
Contributor Author

der commented Apr 2, 2015

@der der closed this as completed Apr 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants