English 中文(简体)
Cognos LAE Backup Automation (Batch File?)
原标题:

Within Cognos 7.4 security.. one would create an LAE file to export all their users...

directions here... http://www.cognos-install.co.uk/articles/backups/access_manager_export_to_lae.asp

Now you ll notice at the bottom "Finally, it is possible to build an automated process for this task, however this is outside of the scope of this document.  If you feel that an automated process is something that is important to your organization then this can be achieved using Technical Consultants with Cognos Planning expertise."

Does anyone have a batch script... or command line for Access Manager.. for exporting an LAE file? I would like to have automated backups of my users incase of a disaster. This cannot be the first request for this.

TIA, Kirby

最佳回答

Sub Main() Dim objAuthApp As Object Dim objAuthDoc As Object Dim objLAEConfig As Object Dim objDSConfig As Object Dim laef

    laef = "\backupsserverackupsLAEBackup-" & Year(Now) & "-" & Month(Now) & "-" & Day(Now) & ".lae"
    objAuthApp = CreateObject("Authenticator2.Application")
    objLAEConfig = objAuthApp.LAEConfigurations.Add(laef)
    objDSConfig = objAuthApp.DSConfigurations.Add("servername", 389, "o=cognos,dc=com", 0)


    objDSConfig.DefaultSecuritySource = True
    objAuthApp.Export("Default", "Administrator", "password", True, False)
    objAuthApp.Quit()


    objDSConfig = Nothing
    objLAEConfig = Nothing
    objAuthDoc = Nothing
    objAuthApp = Nothing
End Sub
问题回答

暂无回答




相关问题
Backing up my database is taking too long

On a windows mobile unit, the software I m working on relies on a sdf file as it s database. The platform that the software is targeted towards is "less than optimal" and hard resets every once and a ...

Cognos LAE Backup Automation (Batch File?)

Within Cognos 7.4 security.. one would create an LAE file to export all their users... directions here... http://www.cognos-install.co.uk/articles/backups/access_manager_export_to_lae.asp Now you ...

backup SQL Server 2005 database without data

I have one stored procedure to backup the database. It will backup metadata as well as data. Is there any option to back up the database with out data. ie, back up only the schema (Empty tables). I ...

SQL Server 2008 Auto Backup

We want to have our test servers databases updated from our production server databases on a nightly basis to ensure we re developing on the most recent data. We, however, want to ensure that any fn, ...

mysql dump stops when a row is updated

When i try to get a dump of a mysql database, the dump stops when a row in it is updated. How can i prevent that? I already tried following options with no result: -f (forces continu even when error)...

热门标签