Subject | Re: DB modified date is over a month old, but Forced Writes are ON?? |
---|---|
Author | Raymond |
Post date | 2011-06-08T20:23:41Z |
> To be safe, do the backup without taking the database down,Thanks Ann and Woody!!!!
> restore it to a different
> file and location, and validate that the month's data is
> there. But I think you're just
> seeing a Windows quirk.
I did a hot backup and that worked fine - log files were fine! (whew!! I can breathe again!)
On Linux I always stopped the Firebird daemon and that closed all the db's so that I could run gbak
but Windows does not quite behave the same ...
Does this sound correct? I need to shutdown the database (leave FB running) with gfix, gbak backup, gbak restore, move to using the newly restored db
gfix -sh -tr 300 scmaster
gfix -sh -f 300 scmaster
//backup db
gbak -b -v -user sysdba -password ***** -y âD:\SCMaster\temp\SCMaster20110608_backup.logâ
scmaster âD:\SCMaster\temp\SCMaster20110608.fbkâ
//restore db
gbak -c -v -user sysdba -password ***** -y âD:\SCMaster\temp\SCMaster20110608_restore.logâ
âD:\SCMaster\temp\SCMaster20110608.fbkâ âD:\SCMaster\temp\SCMasterNew.fdbâ
copy, move, and delete old rotations of files as needed...
Does this make sense? - or should I consider a different approach?
Many thanks,
-Raymond