Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
rohitk1609
Master
Master

How to restore centralized logging database

Hi Techies,

I was trying to backup and restore shared persistence site with the help of following document:

https://help.qlik.com/en-US/sense/September2017/Subsystems/PlanningQlikSenseDeployments/Content/Depl...

If you read 4. point as:

If you have centralized logging configured, make a backup of the centralized logging database by running the following command:

pg_dump.exe -h localhost -p 4432 -U postgres -b -F t -f "c:\Qlogs_backup.tar" Qlogs


So I have taken the backup of Centralized logging by above command but can you please help me to know how to restore this backup ? Becuase on restore page, there is no say about this point.


https://help.qlik.com/en-US/sense/June2018/Subsystems/PlanningQlikSenseDeployments/Content/Deploymen...



Thanks,

Rohit

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

The Log restoration process is similar to the the one used for restoring the repository.

Keep one thing in mind, just change the zip file name.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Levi_Turner
Employee
Employee

Hey Rohit,

As Kaushik mentioned, it's functionally the same as restoring the QSR database. So something like this:

pg_restore.exe -h localhost -p 4432 -U postgres -d QLogs "c:\QLogs_backup.tar"

Hope that helps.