3 Replies Latest reply: Aug 2, 2016 10:40 AM by Denis Rampnoux RSS

    Repository Snapshot Manager - Restore Error

    Diego Fernando Caivano

      Hi all.


      After successfully being able to backup a Sense Server installation using the RSM (here), it fails when restoring the files -even on the same machine-. Same error occured in every sceneario we tried: "QSR database already exists".


      It seems the restore command always forces the creation of a new repository database as it re-installs Sense, and therefore the previous database cannot be loaded.


      jul 07 12:34:14 2016: Database Service status check ok, now starting the RepositoryDatabaseService...
      jul 07 12:34:14 2016: Initializing and starting database...
      jul 07 12:34:14 2016: Creating database...
      jul 07 12:34:14 2016: Checking database existence and status...
      jul 07 12:34:14 2016: Creating login credentials file for database...
      jul 07 12:34:14 2016: Password file created
      jul 07 12:34:14 2016: Obtaining command process start info, relpath=PostgreSQL\9.3\bin
      jul 07 12:34:14 2016: Obtaining default database installation path from relative path=PostgreSQL\9.3\bin
      jul 07 12:34:14 2016: Database exists...
      jul 07 12:34:14 2016: Creating database, cmd=createdb.exe -U postgres -p 4432 QRS
      jul 07 12:34:14 2016: Obtaining command process start info, relpath=PostgreSQL\9.3\bin
      jul 07 12:34:14 2016: Obtaining default database installation path from relative path=PostgreSQL\9.3\bin
      jul 07 12:34:14 2016: Checking database status after creation...
      jul 07 12:34:14 2016: Error: Database initialization failed with error: createdb: fall¾ la creaci¾n de la base de datos:
      ERROR:  la base de datos ┬½QSR┬╗ ya existe
      

       

      Any comment or experience on this subject is very welcome.

       

      Thanks,

      Diego.-