Foxhound 4.0 FAQ
Foxhound 4.0 FAQ Home      Foxhound Home      RisingRoad           Breck.Carter@gmail.com     


Question: How do I move the Foxhound transaction log to a different physical disk drive?

Answer:

  1. Shut down Foxhound if it is running.

  2. Create a folder for the transaction log on a different physical drive; e.g., G:\data\foxhound_log

  3. Move the foxhound4.log file to that folder. By default, foxhound4.log is installed in this location on Windows 7:
    C:\ProgramData\RisingRoad\Foxhound4

  4. Run dblog.exe to modify the foxhound4.db file to point to the new location for the foxhound4.log file:

    PAUSE Have you shut down the database?
    
    "%SQLANY16%\Bin32\dblog.exe" -t "G:\data\foxhound_log\foxhound4.log" "%FOXHOUND4%\foxhound4.db"
    
    PAUSE
    

  5. Here's what the output looks like:

    C:\temp>PAUSE Have you shut down the database?
    Press any key to continue . . .
    
    C:\temp>"C:\Program Files\SQL Anywhere 16\Bin32\dblog.exe" -t "G:\data\foxhound_
    log\foxhound4.log" "C:\ProgramData\RisingRoad\Foxhound4\\foxhound4.db"
    SQL Anywhere Transaction Log Utility Version 12.0.1.3356
    "C:\ProgramData\RisingRoad\Foxhound4\\foxhound4.db" was using log file "foxhound
    1.log"
    "C:\ProgramData\RisingRoad\Foxhound4\\foxhound4.db" is using no log mirror file
    "C:\ProgramData\RisingRoad\Foxhound4\\foxhound4.db" is now using log file "G:\da
    ta\foxhound_log\foxhound4.log"
    Transaction log starting offset is 0011371032
    Transaction log current relative offset is 0474894106
    
    C:\temp>PAUSE
    Press any key to continue . . .
    

  6. Now you can start Foxhound again.


This page was last updated on May 14, 2016.      Foxhound 4.0 FAQ Home      Foxhound Home      RisingRoad      Breck.Carter@gmail.com