Page 1 of 1

restore_database.bat after system crash

Posted: Tue Jan 24, 2017 3:21 pm
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?