Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi. Im trying to run a backup of my installation using the supplied snapshot manager.
But when i run it i get an error message saying:
Object reference not set to an instance of an object., code=-2147467261
The strange thing is that it detects Sense version 2.2.4.0 but the real version is 3.0.0.0.
I tried to add the -ver parameter like this: -ver=3.0.0.0 but it did not do any diffrence.
Here is the log:
Backup destination location=C:\Backup | |
Database password was provided. |
jul 25 10:20:51 2016:
The following arguments have not been specified:
jul 25 10:20:51 2016: Warning: No supporting content directory provided. If no supporting content is intended this message can be ignored
jul 25 10:20:51 2016: | Certificate password |
jul 25 10:20:53 2016: Backing up system, this may take a while...
Backup logfile: C:\Program Files\Qlik\Sense\Repository\Util\RepositorySnapshotManager\logs\snapshotManager_2016072510242053.log
jul 25 10:20:53 2016: Backing up system...
jul 25 10:20:53 2016: Initializing backup...
jul 25 10:20:53 2016: Creating backup directories...
C:\Backup\.2016-07-25-10.20.53-Z.backup created | |
C:\Backup\.2016-07-25-10.20.53-Z.backup\Certificate created | |
C:\Backup\.2016-07-25-10.20.53-Z.backup\Database created | |
C:\Backup\.2016-07-25-10.20.53-Z.backup\Logs created | |
C:\Backup\.2016-07-25-10.20.53-Z.backup\Apps created | |
C:\Backup\.2016-07-25-10.20.53-Z.backup\Content created | |
C:\Backup\.2016-07-25-10.20.53-Z.backup\Extensions created | |
C:\Backup\.2016-07-25-10.20.53-Z.backup\ArchivedLogs created | |
C:\Backup\.2016-07-25-10.20.53-Z.backup\AppContent created |
jul 25 10:20:53 2016: Obtaining base installation path...
jul 25 10:20:53 2016: Searching registry for product installation information...
jul 25 10:20:53 2016: Found Qlik Sense installation path, checking...
jul 25 10:20:53 2016: Installation directory hierarchy ok
jul 25 10:20:53 2016: Found PostgreSQL version directory, checking...
jul 25 10:20:53 2016: Detected PostgreSQL version directory to be: 9.3
jul 25 10:20:53 2016: Writing PostgreSQLVer to backup configuration file.
jul 25 10:20:53 2016: Writing Hostname to backup configuration file.
jul 25 10:20:53 2016: Qlik Sense Version Detected: 2.2.4.0.
jul 25 10:20:53 2016: Writing SenseVersion to backup configuration file.
jul 25 10:20:53 2016: Writing SenseSetupPacketFileFullPath to backup configuration file.
jul 25 10:20:53 2016: Writing SenseRootPath to backup configuration file.
jul 25 10:20:53 2016: Checking for custom application location in the local database...
jul 25 10:20:53 2016: No custom application location was detected.
Exception in thread main, msg=Object reference not set to an instance of an object., code=-2147467261
I upgraded to the latest version, and it seems to work now. Thanks!
do you use new one version RSM from QS 3.0? do not specifie version parameter
like this
RSM.exe -backup -path=c:\backup\ -databasePassword=1234
Do i need to download a specific version? There is no RSM.exe
i tried using your command line on the included RepositorySnapshotManager.exe and i got the exat same result as befor.
Propyl forgiveness. I thought that you, according to the recommendations, the application moved to a different directory, and maybe there is an older version of the application. In your case, you are running the latest version
I upgraded to the latest version, and it seems to work now. Thanks!