Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. infacmd autotune Command Reference
  10. Infacmd bg Command Reference
  11. infacmd ccps Command Reference
  12. infacmd cluster Command Reference
  13. infacmd cms Command Reference
  14. infacmd dis Command Reference
  15. infacmd dps Command Reference
  16. infacmd edl Command Reference
  17. Infacmd es Command Reference
  18. infacmd ihs Command Reference
  19. infacmd ipc Command Reference
  20. infacmd isp Command Reference
  21. infacmd ldm Command Reference
  22. infacmd mas Command Reference
  23. infacmd mi Command Reference
  24. infacmd mrs Command Reference
  25. infacmd ms Command Reference
  26. infacmd oie Command Reference
  27. infacmd ps Command Reference
  28. infacmd pwx Command Reference
  29. infacmd rms Command Reference
  30. infacmd rtm Command Reference
  31. infacmd sch Command Reference
  32. infacmd search Command Reference
  33. infacmd sql Command Reference
  34. infacmd tdm Command Reference
  35. infacmd wfs Command Reference
  36. infacmd ws Command Reference
  37. infacmd xrf Command Reference
  38. infacmd Control Files
  39. infasetup Command Reference
  40. pmcmd Command Reference
  41. pmrep Command Reference
  42. Working with pmrep Files

Command Reference

Command Reference

Restore

Restore

Restores a repository backup file to a database. The target database must be empty.
The pmrep Restore command uses the following syntax:
restore 

-u <domain_user_name>

[-s <domain_user_security_domain>]

[-p <domain_password> | 

 -P <domain_password_environment_variable>]

-i <input_file_name>

[-g (create global repository)]

[-y (enable object versioning)]

[-b (skip workflow and session logs)]

[-j (skip deployment group history)]

[-q (skip MX data)]

[-f (skip task statistics)]

[-a (as new repository)]

[-e (exit if domain name in the binary file is different from current domain name)]
The following table describes pmrep Restore options and arguments:
Option
Argument
Description
-u
domain_user_name
Required. User name.
-s
domain_user_security_domain
Required if you use LDAP authentication. Name of the security domain that the user belongs to. Default is Native.
-p
domain_password
Optional. Password. You can use the -p or ‑P option, but not both. If you do not use the -p or -P option, pmrep prompts you for the password.
-P
domain_password_
environment_variable
Optional. Password environment variable. You can use the -p or ‑P option, but not both. If you do not use the -p or -P option, pmrep prompts you for the password.
-i
input_file_name
Required. Name of the repository backup file. Use a file name and path local to the Repository Service.
-g
-
Optional. Promotes the repository to a global repository.
-y
-
Optional. Enables object versioning for the repository.
-b
-
Optional. Skips tables related to workflow and session logs during restore.
-j
-
Optional. Skips deployment group history during restore.
-q
-
Optional. Skips tables related to MX data during restore.
-f
-
Optional. Skips task statistics during restore.
-a
-
Optional. Creates new internal folder IDs for folders in the restored repository. This enables you to copy folders and deployment groups between the original repository and the restored repository. If you do not use -a, you cannot copy folders and deployment groups between the original and restored repositories.
-e
-
Optional. Exits if domain name in the binary file is different from current domain name


Updated April 22, 2019