restore_database.bat after system crash

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Post Reply
JeffersonKim
Posts: 26
Joined: Wed Aug 20, 2008 12:33 pm
Contact:

restore_database.bat after system crash

Post by JeffersonKim »

I have the application directory backed every night.

timetrex_database_<DATE>.sql
timetrex.ini.php

Both files are on the backup hard drive.

System crashed.

I'm trying to follow directions to migrate TimeTrex from one computer to the other:
https://help.timetrex.com/wiki/index.ph ... _Questions

When I run database_restore.bat I get the error:

pg_restore: [archiver] input file does not appear to be a valid archive.
Done.


I'm assuming it's an error because the timetrex_database_<DATE>.sql file isn't a properly backed up SQL file?

Any recommendations on how to proceed?
Post Reply