Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. @echo off
  2.  
  3. set FB="C:\Program Files\Firebird\Firebird_2_1\bin"
  4. set FILENAME="C:\Users\daniel\Desktop\MailStoreFileGroup.fdb"
  5.  
  6. echo "RUNNING: gfix -v -full -user SYSDBA -password masterkey %FILENAME%"
  7. %FB%\gfix -v -full -user SYSDBA -password masterkey %FILENAME%
  8. echo "DONE."
  9. pause
  10.  
  11. echo "RUNNING: gfix -mend -ig -user SYSDBA -password masterkey %FILENAME%"
  12. %FB%\gfix -mend -ig -user SYSDBA -password masterkey %FILENAME%
  13. echo "DONE."
  14. pause
  15.  
  16. echo "RUNNING: gbak -b -g -ig -user SYSDBA -password masterkey %FILENAME% %FILENAME%.bak"
  17. %FB%\gbak -b -g -ig -user SYSDBA -password masterkey %FILENAME% %FILENAME%.bak
  18. echo "DONE."
  19. pause
  20.  
  21. echo "RUNNING: gbak -REP -c -user SYSDBA -password masterkey %FILENAME%.bak %FILENAME%"
  22. %FB%\gbak -REP -c -user SYSDBA -password masterkey %FILENAME%.bak %FILENAME%
  23. echo "DONE."
  24. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement