Quantcast
Channel: Micro Focus Forums
Viewing all articles
Browse latest Browse all 11924

Screwed up database when moving Storage repository, help !

$
0
0
Hello
We have been running ZPM 6.4 for ages and are now in the midst of going over to ZCM11 and OES11 but we still have our old ZPM 6.4 in production.. Last week we ran out of disk on the server but we managed to delete some cache and old voulerabilities so we got 11 GB of space back so we could keep using the ZPM. But since the space was getting low we decided to move the 120 GB storage repository to some new disks that we put in the server and I followed this guide to move it:
Support | Moving the Virtual Storage Directory in ZENworks Patch Management Update Server v6.3 and v6.4

When I got to number 7:
**
Open a CMD Prompt and type the following command to update the database, where SystemConfig_Value matches the new repository location:

Type OSQL -E and press Enter.

Type USE PLUS and press Enter.

Type UPDATE SystemConfig SET SystemConfig_Value = 'D:\ZENworks Patch Management\Storage' WHERE SystemConfig_Name = 'Storage' and press Enter.

Type GO and press Enter.
**

I messed up and wrote:
UPDATE SystemConfig SET SystemConfig_Value = 'D:\ZENworks Patch Management\Storage'
NOT
UPDATE SystemConfig SET SystemConfig_Value = 'D:\ZENworks Patch Management\Storage' WHERE SystemConfig_Name = 'Storage'

as I should have done.. this lead to about 180 changes in the database instead of 1 (I think there should only be 1)..

Soo.. my question is, how can I get out of this bind ? Can I do a repair install of some kind to repair the changes in the database or does anyone have an idea ?

Of course we don´t have a backup of the database :(

Viewing all articles
Browse latest Browse all 11924

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>