Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Techies,
I was trying to backup and restore shared persistence site with the help of following document:
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.
Thanks,
Rohit
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
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.