backup.params.distrib 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Parameters file for backup.php and check-backup.php
  2. #
  3. # Usage:
  4. # backup.php --param_file=<this file>[,<another one>]
  5. # or
  6. # http://.../itop-backup/backup.php?param_file=<this file>[,<another one>]
  7. #
  8. # If a parameter is given both in the file and in the arguments,
  9. # then the value given as argument is retained
  10. #
  11. # Note: most of the default values provided here should work fine
  12. # if you have created sample data with the setup program
  13. # MySQL coming with Easy PHP (Windows)
  14. mysql_bindir = C:\Program Files\EasyPHP-5.3.6.0\mysql\bin
  15. # Authentication
  16. auth_user = admin
  17. auth_pwd = admin
  18. # Target file - path and filename (optional)
  19. #
  20. # Formatting rules:
  21. # %Y-%m-%d => 2011-01-25... see PHP documentation of strftime()
  22. # Placeholders:
  23. # __HOST__ MySQL server
  24. # __DB__ Database name
  25. # __SUBNAME__ Tables prefix
  26. #
  27. backup_file = /var/log/__DB__-%Y-%m-%d
  28. # Check thresholds (check-backup.php)
  29. #
  30. check_size_min = 20000 # bytes
  31. check_size_reduction_max = 10 # percentage
  32. # Ticket creation (check-backup.php)
  33. #
  34. # If the backup has failed, a ticket will be created
  35. # This process relies on the SOAP service "CreateIncident"
  36. #
  37. # Root URL of an instance of iTop, into which the ticket will be created
  38. check_ticket_itop = http://localhost/myiTop
  39. # Any of the above paramaters are mandatory
  40. check_ticket_login = admin # must have the right to create an Incident Ticket
  41. check_ticket_pwd = admin
  42. check_ticket_title = Backup check failed
  43. check_ticket_customer = Demo
  44. check_ticket_service = Computers and peripherals
  45. check_ticket_service_subcategory = Repair
  46. check_ticket_workgroup = Hardware support
  47. check_ticket_impacted_server = dbserver1.demo.com