top

Package backups contains all the stand-alone backup-related functionality for juju state. That functionality is encapsulated by the backups.Backups type. The package also exposes a few key helpers and components.

Backups are not a part of juju state nor of normal state operations. However, they certainly are tightly coupled with state (the very subject of backups). This puts backups in an odd position, particularly with regard to the storage of backup metadata and archives.

As noted above backups are about state but not a part of state. So exposing backup-related methods on State would imply the wrong thing. Thus most of the functionality here is defined at a high level without relation to state. A few low-level parts or helpers are exposed as functions to which you pass a state value. Those are kept to a minimum.

Note that state (and juju as a whole) currently does not have a persistence layer abstraction to facilitate separating different persistence needs and implementations. As a consequence, state's data, whether about how an model should look or about existing resources within an model, is dumped essentially straight into State's mongo connection. The code in the state package does not make any distinction between the two (nor does the package clearly distinguish between state-related abstractions and state-related data).

Backups add yet another category, merely taking advantage of State's mongo for storage. In the interest of making the distinction clear, among other reasons, backups uses its own database under state's mongo connection.

Imported by 163 package(s)

  1. github.com/Altoros/juju-cloudsigma/apiserver
  2. github.com/Altoros/juju-cloudsigma/apiserver/backups
  3. github.com/Altoros/juju-cloudsigma/cmd/juju/backups
  4. github.com/Altoros/juju-cloudsigma/state/backups/testing
  5. github.com/Altoros/juju-vmware/apiserver
  6. github.com/Altoros/juju-vmware/apiserver/backups
  7. github.com/Altoros/juju-vmware/cmd/juju/backups
  8. github.com/Altoros/juju-vmware/state/backups/testing
  9. github.com/alesstimec/juju/apiserver
  10. github.com/alesstimec/juju/apiserver/backups
  11. github.com/alesstimec/juju/cmd/juju/backups
  12. github.com/alesstimec/juju/state/backups/testing
  13. github.com/axw/juju/apiserver
  14. github.com/axw/juju/apiserver/backups
  15. github.com/axw/juju/cmd/juju/backups
  16. github.com/axw/juju/state/backups/testing
  17. github.com/aznashwan/juju/apiserver
  18. github.com/aznashwan/juju/apiserver/backups
  19. github.com/aznashwan/juju/cmd/juju/backups
  20. github.com/aznashwan/juju/state/backups/testing
  21. github.com/binary132/juju/apiserver
  22. github.com/binary132/juju/apiserver/backups
  23. github.com/binary132/juju/cmd/juju/backups
  24. github.com/binary132/juju/state/backups/testing
  25. github.com/bogdanteleaga/juju/apiserver
  26. github.com/bogdanteleaga/juju/apiserver/backups
  27. github.com/bogdanteleaga/juju/cmd/juju/backups
  28. github.com/bogdanteleaga/juju/state/backups/testing
  29. github.com/cloud-green/juju/apiserver
  30. github.com/cloud-green/juju/apiserver/backups
  31. github.com/cloud-green/juju/cmd/juju/backups
  32. github.com/cloud-green/juju/cmd/plugins/juju-restore
  33. github.com/cloud-green/juju/state/backups/testing
  34. github.com/cmars/juju/apiserver
  35. github.com/cmars/juju/apiserver/backups
  36. github.com/cmars/juju/cmd/juju/backups
  37. github.com/cmars/juju/state/backups/testing
  38. github.com/dimitern/juju/apiserver
  39. github.com/dimitern/juju/apiserver/backups
  40. github.com/dimitern/juju/cmd/juju/backups
  41. github.com/dimitern/juju/state/backups/testing
  42. github.com/dooferlad/juju/apiserver
  43. github.com/dooferlad/juju/apiserver/backups
  44. github.com/dooferlad/juju/cmd/juju/backups
  45. github.com/dooferlad/juju/state/backups/testing
  46. github.com/ericsnowcurrently/juju/apiserver
  47. github.com/ericsnowcurrently/juju/apiserver/backups
  48. github.com/ericsnowcurrently/juju/cmd/juju/backups
  49. github.com/ericsnowcurrently/juju/state/backups/testing
  50. github.com/exekias/juju/apiserver
  51. github.com/exekias/juju/apiserver/backups
  52. github.com/exekias/juju/cmd/juju/backups
  53. github.com/exekias/juju/state/backups/testing
  54. github.com/frankban/juju-tmp/apiserver
  55. github.com/frankban/juju-tmp/apiserver/backups
  56. github.com/frankban/juju-tmp/cmd/juju/backups
  57. github.com/frankban/juju-tmp/cmd/plugins/juju-restore
  58. github.com/frankban/juju-tmp/state/backups/testing
  59. github.com/frankban/juju/apiserver
  60. github.com/frankban/juju/apiserver/backups
  61. github.com/frankban/juju/cmd/juju/backups
  62. github.com/frankban/juju/state/backups/testing
  63. github.com/gabriel-samfira/juju/apiserver
  64. github.com/gabriel-samfira/juju/apiserver/backups
  65. github.com/gabriel-samfira/juju/cmd/juju/backups
  66. github.com/gabriel-samfira/juju/state/backups/testing
  67. github.com/hoenirvili/juju/apiserver
  68. github.com/howbazaar/juju/apiserver
  69. github.com/howbazaar/juju/apiserver/backups
  70. github.com/howbazaar/juju/cmd/juju/backups
  71. github.com/howbazaar/juju/state/backups/testing
  72. github.com/johnweldon/juju/apiserver
  73. github.com/jrwren/juju/apiserver/backups
  74. github.com/jrwren/juju/state/backups/testing
  75. github.com/juju/juju/apiserver
  76. github.com/juju/juju/apiserver/backups
  77. github.com/juju/juju/apiserver/facades/client/backups
  78. github.com/juju/juju/cmd/juju/backups
  79. github.com/juju/juju/state/backups/testing
  80. github.com/kat-co/juju/apiserver
  81. github.com/kat-co/juju/apiserver/backups
  82. github.com/kat-co/juju/cmd/juju/backups
  83. github.com/kat-co/juju/state/backups/testing
  84. github.com/katco-/juju/apiserver
  85. github.com/katco-/juju/apiserver/backups
  86. github.com/katco-/juju/cmd/juju/backups
  87. github.com/katco-/juju/state/backups/testing
  88. github.com/lingo-reviews/juju/apiserver
  89. github.com/lingo-reviews/juju/apiserver/backups
  90. github.com/lingo-reviews/juju/cmd/juju/backups
  91. github.com/lingo-reviews/juju/state/backups/testing
  92. github.com/makyo/juju/apiserver
  93. github.com/makyo/juju/apiserver/backups
  94. github.com/makyo/juju/cmd/juju/backups
  95. github.com/makyo/juju/state/backups/testing
  96. github.com/mbruzek/juju/apiserver
  97. github.com/mbruzek/juju/apiserver/backups
  98. github.com/mbruzek/juju/cmd/juju/backups
  99. github.com/mbruzek/juju/state/backups/testing
  100. github.com/mhilton/juju-juju/apiserver
  101. github.com/mhilton/juju-juju/apiserver/backups
  102. github.com/mhilton/juju-juju/cmd/juju/backups
  103. github.com/mhilton/juju-juju/state/backups/testing
  104. github.com/mhilton/juju/apiserver
  105. github.com/mhilton/juju/apiserver/backups
  106. github.com/mhilton/juju/cmd/juju/backups
  107. github.com/mhilton/juju/state/backups/testing
  108. github.com/mwhudson/juju/apiserver
  109. github.com/mwhudson/juju/apiserver/backups
  110. github.com/mwhudson/juju/cmd/juju/backups
  111. github.com/mwhudson/juju/state/backups/testing
  112. github.com/natefinch/juju/apiserver
  113. github.com/natefinch/juju/apiserver/backups
  114. github.com/natefinch/juju/cmd/juju/backups
  115. github.com/natefinch/juju/state/backups/testing
  116. github.com/niedbalski/juju/apiserver
  117. github.com/niedbalski/juju/apiserver/backups
  118. github.com/niedbalski/juju/cmd/juju/backups
  119. github.com/niedbalski/juju/state/backups/testing
  120. github.com/packethost/juju/apiserver
  121. github.com/perrito666/juju/apiserver
  122. github.com/perrito666/juju/apiserver/backups
  123. github.com/perrito666/juju/cmd/juju/backups
  124. github.com/profitbricks/juju/apiserver
  125. github.com/stgraber/juju/apiserver
  126. github.com/stgraber/juju/apiserver/backups
  127. github.com/stgraber/juju/cmd/juju/backups
  128. github.com/stgraber/juju/state/backups/testing
  129. github.com/tasdomas/juju/apiserver
  130. github.com/tasdomas/juju/apiserver/backups
  131. github.com/tasdomas/juju/cmd/juju/backups
  132. github.com/tasdomas/juju/state/backups/testing
  133. github.com/tych0/juju/apiserver
  134. github.com/tych0/juju/apiserver/backups
  135. github.com/tych0/juju/cmd/juju/backups
  136. github.com/tych0/juju/state/backups/testing
  137. github.com/waigani/juju/apiserver
  138. github.com/waigani/juju/apiserver/backups
  139. github.com/waigani/juju/cmd/juju/backups
  140. github.com/wallyworld/juju-snap/apiserver
  141. github.com/wallyworld/juju-snap/apiserver/backups
  142. github.com/wallyworld/juju-snap/cmd/juju/backups
  143. github.com/wallyworld/juju-snap/state/backups/testing
  144. github.com/wallyworld/juju/apiserver
  145. github.com/wallyworld/juju/apiserver/backups
  146. github.com/wallyworld/juju/cmd/juju/backups
  147. github.com/wallyworld/juju/state/backups/testing
  148. gopkg.in/natefinch/juju.v0/apiserver
  149. gopkg.in/natefinch/juju.v0/apiserver/backups
  150. gopkg.in/natefinch/juju.v0/cmd/juju/backups
  151. gopkg.in/natefinch/juju.v0/state/backups/testing
  152. gopkg.in/natefinch/juju.v1/apiserver
  153. gopkg.in/natefinch/juju.v1/apiserver/backups
  154. gopkg.in/natefinch/juju.v1/cmd/juju/backups
  155. gopkg.in/natefinch/juju.v1/state/backups/testing
  156. gopkg.in/natefinch/juju.v2/apiserver
  157. gopkg.in/natefinch/juju.v2/apiserver/backups
  158. gopkg.in/natefinch/juju.v2/cmd/juju/backups
  159. gopkg.in/natefinch/juju.v2/state/backups/testing
  160. gopkg.in/natefinch/juju.v3/apiserver
  161. gopkg.in/natefinch/juju.v3/apiserver/backups
  162. gopkg.in/natefinch/juju.v3/cmd/juju/backups
  163. gopkg.in/natefinch/juju.v3/state/backups/testing

Imported only in test by 77 package(s)

  1. github.com/Altoros/juju-cloudsigma/api/backups
  2. github.com/Altoros/juju-cloudsigma/state/backups
  3. github.com/Altoros/juju-vmware/api/backups
  4. github.com/Altoros/juju-vmware/state/backups
  5. github.com/alesstimec/juju/api/backups
  6. github.com/alesstimec/juju/state/backups
  7. github.com/axw/juju/api/backups
  8. github.com/axw/juju/state/backups
  9. github.com/aznashwan/juju/api/backups
  10. github.com/aznashwan/juju/state/backups
  11. github.com/binary132/juju/api/backups
  12. github.com/binary132/juju/state/backups
  13. github.com/bogdanteleaga/juju/api/backups
  14. github.com/bogdanteleaga/juju/state/backups
  15. github.com/cloud-green/juju/api/backups
  16. github.com/cloud-green/juju/state/backups
  17. github.com/cmars/juju/api/backups
  18. github.com/cmars/juju/state/backups
  19. github.com/dimitern/juju/api/backups
  20. github.com/dimitern/juju/state/backups
  21. github.com/dooferlad/juju/api/backups
  22. github.com/dooferlad/juju/state/backups
  23. github.com/ericsnowcurrently/juju/api/backups
  24. github.com/ericsnowcurrently/juju/state/backups
  25. github.com/exekias/juju/api/backups
  26. github.com/exekias/juju/state/backups
  27. github.com/frankban/juju-tmp/api/backups
  28. github.com/frankban/juju-tmp/state/backups
  29. github.com/frankban/juju/api/backups
  30. github.com/frankban/juju/state/backups
  31. github.com/gabriel-samfira/juju/api/backups
  32. github.com/gabriel-samfira/juju/state/backups
  33. github.com/howbazaar/juju/api/backups
  34. github.com/howbazaar/juju/state/backups
  35. github.com/jrwren/juju/state/backups
  36. github.com/juju/juju/api/backups
  37. github.com/kapilt/juju/state/backups
  38. github.com/kat-co/juju/api/backups
  39. github.com/kat-co/juju/state/backups
  40. github.com/katco-/juju/api/backups
  41. github.com/katco-/juju/state/backups
  42. github.com/lingo-reviews/juju/api/backups
  43. github.com/lingo-reviews/juju/state/backups
  44. github.com/makyo/juju/api/backups
  45. github.com/makyo/juju/state/backups
  46. github.com/mbruzek/juju/api/backups
  47. github.com/mbruzek/juju/state/backups
  48. github.com/mhilton/juju-juju/api/backups
  49. github.com/mhilton/juju-juju/state/backups
  50. github.com/mhilton/juju/api/backups
  51. github.com/mhilton/juju/state/backups
  52. github.com/mwhudson/juju/api/backups
  53. github.com/mwhudson/juju/state/backups
  54. github.com/natefinch/juju/api/backups
  55. github.com/natefinch/juju/state/backups
  56. github.com/niedbalski/juju/api/backups
  57. github.com/niedbalski/juju/state/backups
  58. github.com/perrito666/juju/api/backups
  59. github.com/stgraber/juju/api/backups
  60. github.com/stgraber/juju/state/backups
  61. github.com/tasdomas/juju/api/backups
  62. github.com/tasdomas/juju/state/backups
  63. github.com/tych0/juju/api/backups
  64. github.com/tych0/juju/state/backups
  65. github.com/waigani/juju/api/backups
  66. github.com/wallyworld/juju-snap/api/backups
  67. github.com/wallyworld/juju-snap/state/backups
  68. github.com/wallyworld/juju/api/backups
  69. github.com/wallyworld/juju/state/backups
  70. gopkg.in/natefinch/juju.v0/api/backups
  71. gopkg.in/natefinch/juju.v0/state/backups
  72. gopkg.in/natefinch/juju.v1/api/backups
  73. gopkg.in/natefinch/juju.v1/state/backups
  74. gopkg.in/natefinch/juju.v2/api/backups
  75. gopkg.in/natefinch/juju.v2/state/backups
  76. gopkg.in/natefinch/juju.v3/api/backups
  77. gopkg.in/natefinch/juju.v3/state/backups

Imports 25 package(s)

  1. github.com/juju/juju/state
  2. gopkg.in/juju/blobstore.v2
  3. github.com/juju/version
  4. github.com/juju/juju/controller
  5. gopkg.in/juju/names.v2
  6. github.com/juju/juju/mongo
  7. github.com/juju/juju/service
  8. github.com/juju/juju/version
  9. github.com/juju/juju/instance
  10. github.com/juju/juju/network
  11. github.com/juju/utils/tar
  12. github.com/juju/loggo
  13. github.com/juju/juju/environs/config
  14. github.com/juju/utils/shell
  15. github.com/juju/juju/agent
  16. gopkg.in/mgo.v2
  17. github.com/juju/juju/state/imagestorage
  18. github.com/juju/errors
  19. gopkg.in/mgo.v2/txn
  20. gopkg.in/mgo.v2/bson
  21. github.com/juju/utils/hash
  22. github.com/juju/utils/set
  23. github.com/juju/utils/filestorage
  24. github.com/juju/txn
  25. github.com/juju/juju/juju/paths

Test imports 7 package(s)

  1. github.com/juju/testing/checkers
  2. github.com/juju/juju/state/testing
  3. github.com/juju/testing
  4. github.com/juju/juju/state/backups/testing
  5. gopkg.in/check.v1
  6. github.com/juju/utils/os
  7. github.com/juju/juju/testing