- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎14-12-2012 11:44 AM
Hello,
Is there a way to automatise the reorganization of our database (in GBMS format) with mega API ?
Regards,
Olivier Bories
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎31-12-2013 04:50 PM
I have created an improvement request so that MEGA Product Management can consider this development in a future version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2013 09:53 AM - edited ‎07-11-2013 09:54 AM
@jhorber wrote:Hello m van poucke
It is not possible to initialize the systemdb (function Reset) with API script.
As a consequence the only solution to reorganize systemdb is to run the reorganization process in interactive mode
- Run the MEGA Administration program
- Open the environment
- Select the systemdb
- Right-click > Reorganize
- Click 'Apply'
Wait until processing is terminated- Exit the MEGA Administration program
So no possibility to automate a reorganisation of a SystemDB repository ! Is it possible this will be provided once ???
thanks
m van poucke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎29-10-2013 03:50 PM
Hello m van poucke
It is not possible to initialize the systemdb (function Reset) with API script.
As a consequence the only solution to reorganize systemdb is to run the reorganization process in interactive mode
- Run the MEGA Administration program
- Open the environment
- Select the systemdb
- Right-click > Reorganize
- Click 'Apply'
Wait until processing is terminated - Exit the MEGA Administration program
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎29-10-2013 01:40 PM
So reorganize a DATA repository can be done by API.
But how can we automate the reorganization of a SYSTEMDB repository ?
m van poucke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎14-12-2012 12:02 PM - edited ‎14-12-2012 12:03 PM
Hello Olivier
Yes, except for systemdb.
A repository reorganization is a sequence of the following processing:
- Logical backup to a command file
- Initialization
- Import logical backup command file
In API script, there are 3 functions for the object MetaDatabase
- Logical Backup --> function LogicalSave
- Initialization --> function Reset
- Import --> function Import
If logfile is enabled for the repository and you need to keep it at reorganization you have to pay attention:
- Generation logical backup with logfile
- Import logical backup with logfile
