bak2db.8 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 BAK2DB 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. bak2db - Directory Server script for restoring a backup
  20. .SH SYNOPSIS
  21. bak2db archivedir [-Z serverID] [-n backendname] [-q] | [-h]
  22. .SH DESCRIPTION
  23. Restores the database from a archived backup. The Directory Server must be stopped prior to running this script.
  24. .SH OPTIONS
  25. A summary of options is included below:
  26. .TP
  27. .B \fBarchivedir\fR
  28. The directory of the archived database.
  29. .TP
  30. .B \fB\-Z\fR \fIServer Identifier\fR
  31. The server ID of the Directory Server instance. If there is only
  32. one instance on the system, this option can be skipped.
  33. .TP
  34. .B \fB\-n\fR \fIBackend Name\fR
  35. The name of the LDBM database to restore. Example: userRoot
  36. .TP
  37. .B \fB\-q\fR
  38. .br
  39. Quiet mode. Reduces output of task.
  40. .TP
  41. .B \fB\-h\fR
  42. .br
  43. Display the usage.
  44. .SH EXAMPLE
  45. bak2db /LDAP/backups/20130305/ -Z instance1 -n userRoot
  46. bak2db /LDAP/backups/20130305/ -n example
  47. .SH DIAGNOSTICS
  48. Exit status is zero if no errors occur. Errors result in a
  49. non-zero exit status and a diagnostic message being written
  50. to standard error.
  51. .SH AUTHOR
  52. bak2db was written by the 389 Project.
  53. .SH "REPORTING BUGS"
  54. Report bugs to http://bugzilla.redhat.com.
  55. .SH COPYRIGHT
  56. Copyright \(co 2013 Red Hat, Inc.