Difference between revisions of "OS4X Enterprise job archive restore"
Line 15: | Line 15: | ||
*Table: <code>[tableprefix_]jobs</code>, default: <code>os4x_jobs</code> | *Table: <code>[tableprefix_]jobs</code>, default: <code>os4x_jobs</code> | ||
*Column: <code>archive_id</code> | *Column: <code>archive_id</code> | ||
+ | |||
+ | The default of the value for this column is NULL, so if you want to reset the archive value, please update it to NULL value. | ||
= Configuring job restore = | = Configuring job restore = |
Revision as of 08:19, 22 August 2017
Requirements
If you have an archive system which is capable to inform OS4X that an OS4X Enterprise job is archived, you can update the database of OS4X. After the information is available that the job is archived, the administrative web interface offers a restore functionality. The ID of the archiving must be numerical.
Your job restore mechanism must support JSONP requests. There are several ways to achieve this, please consult your archiving provider how to implement such a functionality.
If you want to use single-sign on for this web request, the domain of the OS4X administrative web interface must be the same as the JSONP service URL, example:
- OS4X Administrative interface: https://os4x.mydomain.tld/os4x
- JSONP restore service URL: https://archive-server.mydomain.tld/service/url
This functionality was introduces with OS4X release 2017-08-22.
Task to be done when archiving a job
You have to update the job record in OS4X's database:
- Table:
[tableprefix_]jobs
, default:os4x_jobs
- Column:
archive_id
The default of the value for this column is NULL, so if you want to reset the archive value, please update it to NULL value.