db2bak.pl.8 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH DB2BAK.PL 8 "Mar 5, 2013"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. db2bak.pl - Directory Server perl script for creating a backup
  20. .SH SYNOPSIS
  21. db2bak.pl [\-Z serverID] [\-D rootdn] { \-w password | \-w \- | \-j filename } [\-t dbtype] [\-a backupdir] [\-P protocol] [\-v] [\-h]
  22. .SH DESCRIPTION
  23. Creates a backup of the Directory Server database. The
  24. Directory Server must be started prior to running this script.
  25. .SH OPTIONS
  26. A summary of options is included below:
  27. .TP
  28. .B \fB\-Z\fR \fIServer Identifier\fR
  29. The server ID of the Directory Server instance. If there is only
  30. one instance on the system, this option can be skipped.
  31. .TP
  32. .B \fB\-D\fR \fIRoot DN\fR
  33. The Directory Manager DN, or root DN. If not specified, the script will
  34. search the server instance configuration for the value.
  35. .TP
  36. .B \fB\-w\fR \fIpassword\fR
  37. The rootdn password.
  38. .TP
  39. .B \fB\-w -\fR
  40. .br
  41. Prompt for the rootdn password.
  42. .TP
  43. .B \fB\-j\fR \fIpassword filename\fR
  44. The name of the file that contains the root DN password.
  45. .TP
  46. .B \fB\-t\fR \fIdatabase type\fR
  47. The backend database type (default: ldbm database).
  48. .TP
  49. .B \fB\-a\fR \fIbackupdir\fR
  50. The directory where the backup should be stored.
  51. .TP
  52. .B \fB\-P\fR \fIProtocol\fR
  53. The connection protocol to connect to the Directory Server. Protocols are STARTTLS, LDAPS, LDAPI, and LDAP.
  54. If this option is skipped, the most secure protocol that is available is used. For LDAPI, AUTOBIND is also
  55. available for the root user.
  56. .TP
  57. .B \fB\-v\fR
  58. .br
  59. Display verbose output
  60. .TP
  61. .B \fB\-h\fR
  62. .br
  63. Display usage
  64. .SH EXAMPLE
  65. .TP
  66. db2bak.pl \-Z instance1 \-D 'cn=directory manager' \-w password \-a /LDAP/backups/20130305 \-P LDAPI
  67. Note: LDAPI must be enabled to use this protocol. If LDAPI is not available it will default to next strongest/available protocol automatically.
  68. .SH DIAGNOSTICS
  69. Exit status is zero if no errors occur. Errors result in a
  70. non-zero exit status and a diagnostic message being written
  71. to standard error.
  72. .SH AUTHOR
  73. db2bak.pl was written by the 389 Project.
  74. .SH "REPORTING BUGS"
  75. Report bugs to http://bugzilla.redhat.com.
  76. .SH COPYRIGHT
  77. Copyright \(co 2013 Red Hat, Inc.