Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

contact store backup, restore on new server version 7.8 1

Status
Not open for further replies.

C0mmUN1cAt0r

Technical User
Joined
Nov 24, 2006
Messages
583
Location
GB
can someone give some clarification on this (below is from the manual)

You can back up your recorder’s database using a command line procedure. The procedure uses the PostgreSQL pg_dump command to extract data from the database. It must be executed while the database is running. Do not stop the ContactStore service or the PostgreSQL service before proceeding. Log on as an administrator and open a command windows. Change directory (“cd”) to the \bin folder in the installation path
3. Create a backup file by entering the command: winbackup <backupfile> where <backupfile> is the full path
name for the backup file. Make sure there is enough space on the target drive for the backup file. Consider copying the backup file to another server, or external media.

the above references using the pg_dump.exe which is in one bin folder within witness, but then also winbackup which is in a seperate bin folder within witness.

I have seen previous threads from others but they seem to reference upgrades of contact store not like for like swaps of this newer version,
 
good day!!

has anybody been able to do this?

after running this on the command promtp I get this error:

E:\Archivos de programa\Witness\bin>..\jre\bin\java.exe -cp
..\tomcat5525\shared
\lib\cscmmain.jar;..\tomcat5525\shared\lib\log4j.jar com.swhh.os.WinBackup
\C:\g
rabaciones ..\postgresql\bin
0 [main] DEBUG com.swhh.os.WinBackup - error:0

can one tell me what Im doing wrong?

thanks
 
You should change into the defined directory and find winbackup.bat

If you do not see the batch file then it is missing and you should address that issue.

 

ok, Im cheking this, lets say that the winbackup.bat is not present how would I be able to solve this? so that the backup on CS 7.8 can be done succesfully


thanks
 
Yes. It creates a file in a location defined in the command line that can be used to restore.

It worked for me the first time I used it.

 
The batch file is not in the directory, how can this be solved?


thanks
 
Funny.

What you posted in your first post is close to the contents of the .bat file

winbackup.bat =
..\jre\bin\java.exe -cp
..\tomcat5525\shared\lib\cscmmain.jar;..\tomcat5525\shared\lib\log4j.jar
com.swhh.os.WinBackup %1 ..\poatgresql\bin %2

So if I wanted to create the backup on the root c drive in a file called eware.bak I would navigate to c:\program files\witness\bin in a dos window and type winbackup c:\eware.bak

I had to rename my original backup filename to eware.bak before it would restore.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top