Jump to content

When using the automated export library project feature, there may be a problem of randomly missing folders.


Mark123

Recommended Posts

Hello,every one

    Now,I need to export all items in the library regularly for backup.
    I tried to create a series of tasks through the automated job tool in the TIBCO Spotfire Analyst client to export all the contents of the Spotfire library (all folders in the root directory).
    After successful creation, I saved these tasks to the library and set automatic refresh rules.
    However, upon observation, it was found that there may be missing folders during the automatic execution of these tasks, and not every folder will be exported. And every time the task refreshes, the missing folder names and quantities are random.

    I'm confused about this issue, and welcome any suggestion.

Link to comment
Share on other sites

  • 4 weeks later...

another way of performing automated Library backups is to use your database vendor's tools to back up the entire Spotfire application database.

of course it depends on your specific use case, and the suggestion doesn't solve the original issue, but it may be considered as an alternative.

Link to comment
Share on other sites

  • 4 weeks later...

Sorry to reply this case so late.

The reason of this problem is the configuraration of the spotfire cluster.

The backup folder will be randomly exported to any spotfire server in the cluster.

Link to comment
Share on other sites

Hi Mark,

Ah, that makes sense then.
But, if you backup the entire content of the root folder, using one automation services job, you shouldn't miss anything. Or do you have a series of automation jobs that perform the backup(s)?

As an alternative, you could also create a couple of jobs on the server itself, using the command line interface (CLI). You should be able to run these CLI-commands in a scheduled way (using windows server scheduled tasks for instance).
Also, you may be able to use a shared network drive for your backup file. In the CLI command, that's the -p parameter (I don't know the equivalent of this command in your automation services job, since I'm not sure how you constructed that):
https://docs.tibco.com/pub/spotfire_server/latest/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/export-library-content.html

Kind regards,

David

Link to comment
Share on other sites

  • 2 weeks later...

Hi @Mark123

 

On 10/14/2024 at 5:07 AM, Mark123 said:

Sorry to reply this case so late.

The reason of this problem is the configuraration of the spotfire cluster.

The backup folder will be randomly exported to any spotfire server in the cluster.

To avoid this problem, I would advise you to change the library folder to a shared location across all the servers in the cluster. The instructions are explained here https://docs.tibco.com/pub/spotfire_server/14.4.0/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/configuring_shared_import_and_export_directories_for_clustered_deployments.html?scroll=GUID-153707D3-2205-4A9B-8131-B6EEFD13CC12
 

Not that this is the recommended approach when working in a clustered  Spotifre environment

Here are other recommendations for such deployments  https://docs.tibco.com/pub/spotfire_server/14.4.0/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/clustered_server_deployments.html

Edited by Olivier Keugue Tadaa
Link to comment
Share on other sites

On 10/23/2024 at 1:28 PM, Olivier Keugue Tadaa said:

Hi @Mark123

 

To avoid this problem, I would advise you to change the library folder to a shared location across all the servers in the cluster. The instructions are explained here https://docs.tibco.com/pub/spotfire_server/14.4.0/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/configuring_shared_import_and_export_directories_for_clustered_deployments.html?scroll=GUID-153707D3-2205-4A9B-8131-B6EEFD13CC12
 

Not that this is the recommended approach when working in a clustered  Spotifre environment

Here are other recommendations for such deployments  https://docs.tibco.com/pub/spotfire_server/14.4.0/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/clustered_server_deployments.html

Hello Olivier

    Thank you for your suggestion.I'll make a try.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...