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 146 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/state/backups/testing
  33. github.com/cmars/juju/apiserver
  34. github.com/cmars/juju/apiserver/backups
  35. github.com/cmars/juju/cmd/juju/backups
  36. github.com/cmars/juju/state/backups/testing
  37. github.com/dimitern/juju/apiserver
  38. github.com/dimitern/juju/apiserver/backups
  39. github.com/dimitern/juju/cmd/juju/backups
  40. github.com/dimitern/juju/state/backups/testing
  41. github.com/dooferlad/juju/apiserver
  42. github.com/dooferlad/juju/apiserver/backups
  43. github.com/dooferlad/juju/cmd/juju/backups
  44. github.com/dooferlad/juju/state/backups/testing
  45. github.com/ericsnowcurrently/juju/apiserver
  46. github.com/ericsnowcurrently/juju/apiserver/backups
  47. github.com/ericsnowcurrently/juju/cmd/juju/backups
  48. github.com/ericsnowcurrently/juju/state/backups/testing
  49. github.com/exekias/juju/apiserver
  50. github.com/exekias/juju/apiserver/backups
  51. github.com/exekias/juju/cmd/juju/backups
  52. github.com/exekias/juju/state/backups/testing
  53. github.com/frankban/juju-tmp/apiserver
  54. github.com/frankban/juju-tmp/apiserver/backups
  55. github.com/frankban/juju-tmp/cmd/juju/backups
  56. github.com/frankban/juju-tmp/state/backups/testing
  57. github.com/frankban/juju/apiserver
  58. github.com/frankban/juju/apiserver/backups
  59. github.com/frankban/juju/cmd/juju/backups
  60. github.com/frankban/juju/state/backups/testing
  61. github.com/gabriel-samfira/juju/apiserver
  62. github.com/gabriel-samfira/juju/apiserver/backups
  63. github.com/gabriel-samfira/juju/cmd/juju/backups
  64. github.com/gabriel-samfira/juju/state/backups/testing
  65. github.com/hoenirvili/juju/apiserver
  66. github.com/howbazaar/juju/apiserver
  67. github.com/howbazaar/juju/apiserver/backups
  68. github.com/howbazaar/juju/cmd/juju/backups
  69. github.com/howbazaar/juju/state/backups/testing
  70. github.com/johnweldon/juju/apiserver
  71. github.com/jrwren/juju/apiserver/backups
  72. github.com/jrwren/juju/state/backups/testing
  73. github.com/juju/juju/apiserver
  74. github.com/juju/juju/apiserver/backups
  75. github.com/juju/juju/apiserver/facades/client/backups
  76. github.com/juju/juju/cmd/juju/backups
  77. github.com/juju/juju/state/backups/testing
  78. github.com/kat-co/juju/apiserver
  79. github.com/kat-co/juju/apiserver/backups
  80. github.com/kat-co/juju/cmd/juju/backups
  81. github.com/kat-co/juju/state/backups/testing
  82. github.com/katco-/juju/apiserver
  83. github.com/katco-/juju/apiserver/backups
  84. github.com/katco-/juju/cmd/juju/backups
  85. github.com/lingo-reviews/juju/apiserver
  86. github.com/makyo/juju/apiserver
  87. github.com/makyo/juju/apiserver/backups
  88. github.com/makyo/juju/cmd/juju/backups
  89. github.com/makyo/juju/state/backups/testing
  90. github.com/mbruzek/juju/apiserver
  91. github.com/mbruzek/juju/apiserver/backups
  92. github.com/mbruzek/juju/cmd/juju/backups
  93. github.com/mbruzek/juju/state/backups/testing
  94. github.com/mhilton/juju/apiserver
  95. github.com/mwhudson/juju/apiserver
  96. github.com/mwhudson/juju/apiserver/backups
  97. github.com/mwhudson/juju/cmd/juju/backups
  98. github.com/mwhudson/juju/state/backups/testing
  99. github.com/natefinch/juju/apiserver
  100. github.com/natefinch/juju/apiserver/backups
  101. github.com/natefinch/juju/cmd/juju/backups
  102. github.com/natefinch/juju/state/backups/testing
  103. github.com/niedbalski/juju/apiserver
  104. github.com/niedbalski/juju/apiserver/backups
  105. github.com/niedbalski/juju/cmd/juju/backups
  106. github.com/niedbalski/juju/state/backups/testing
  107. github.com/perrito666/juju/apiserver
  108. github.com/perrito666/juju/apiserver/backups
  109. github.com/perrito666/juju/cmd/juju/backups
  110. github.com/stgraber/juju/apiserver
  111. github.com/stgraber/juju/apiserver/backups
  112. github.com/stgraber/juju/cmd/juju/backups
  113. github.com/stgraber/juju/state/backups/testing
  114. github.com/tasdomas/juju/apiserver
  115. github.com/tasdomas/juju/apiserver/backups
  116. github.com/tasdomas/juju/cmd/juju/backups
  117. github.com/tasdomas/juju/state/backups/testing
  118. github.com/tych0/juju/apiserver
  119. github.com/tych0/juju/apiserver/backups
  120. github.com/tych0/juju/cmd/juju/backups
  121. github.com/tych0/juju/state/backups/testing
  122. github.com/waigani/juju/apiserver
  123. github.com/wallyworld/juju-snap/apiserver
  124. github.com/wallyworld/juju-snap/apiserver/backups
  125. github.com/wallyworld/juju-snap/cmd/juju/backups
  126. github.com/wallyworld/juju-snap/state/backups/testing
  127. github.com/wallyworld/juju/apiserver
  128. github.com/wallyworld/juju/apiserver/backups
  129. github.com/wallyworld/juju/cmd/juju/backups
  130. github.com/wallyworld/juju/state/backups/testing
  131. gopkg.in/natefinch/juju.v0/apiserver
  132. gopkg.in/natefinch/juju.v0/apiserver/backups
  133. gopkg.in/natefinch/juju.v0/cmd/juju/backups
  134. gopkg.in/natefinch/juju.v0/state/backups/testing
  135. gopkg.in/natefinch/juju.v1/apiserver
  136. gopkg.in/natefinch/juju.v1/apiserver/backups
  137. gopkg.in/natefinch/juju.v1/cmd/juju/backups
  138. gopkg.in/natefinch/juju.v1/state/backups/testing
  139. gopkg.in/natefinch/juju.v2/apiserver
  140. gopkg.in/natefinch/juju.v2/apiserver/backups
  141. gopkg.in/natefinch/juju.v2/cmd/juju/backups
  142. gopkg.in/natefinch/juju.v2/state/backups/testing
  143. gopkg.in/natefinch/juju.v3/apiserver
  144. gopkg.in/natefinch/juju.v3/apiserver/backups
  145. gopkg.in/natefinch/juju.v3/cmd/juju/backups
  146. gopkg.in/natefinch/juju.v3/state/backups/testing

Imported only in test by 69 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/makyo/juju/api/backups
  42. github.com/makyo/juju/state/backups
  43. github.com/mbruzek/juju/api/backups
  44. github.com/mbruzek/juju/state/backups
  45. github.com/mwhudson/juju/api/backups
  46. github.com/mwhudson/juju/state/backups
  47. github.com/natefinch/juju/api/backups
  48. github.com/natefinch/juju/state/backups
  49. github.com/niedbalski/juju/api/backups
  50. github.com/niedbalski/juju/state/backups
  51. github.com/perrito666/juju/api/backups
  52. github.com/stgraber/juju/api/backups
  53. github.com/stgraber/juju/state/backups
  54. github.com/tasdomas/juju/api/backups
  55. github.com/tasdomas/juju/state/backups
  56. github.com/tych0/juju/api/backups
  57. github.com/tych0/juju/state/backups
  58. github.com/wallyworld/juju-snap/api/backups
  59. github.com/wallyworld/juju-snap/state/backups
  60. github.com/wallyworld/juju/api/backups
  61. github.com/wallyworld/juju/state/backups
  62. gopkg.in/natefinch/juju.v0/api/backups
  63. gopkg.in/natefinch/juju.v0/state/backups
  64. gopkg.in/natefinch/juju.v1/api/backups
  65. gopkg.in/natefinch/juju.v1/state/backups
  66. gopkg.in/natefinch/juju.v2/api/backups
  67. gopkg.in/natefinch/juju.v2/state/backups
  68. gopkg.in/natefinch/juju.v3/api/backups
  69. 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