kopi-docka 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kopi_docka-2.0.0/LICENSE +123 -0
- kopi_docka-2.0.0/MANIFEST.in +7 -0
- kopi_docka-2.0.0/PKG-INFO +1071 -0
- kopi_docka-2.0.0/README.md +1037 -0
- kopi_docka-2.0.0/kopi_docka/__init__.py +112 -0
- kopi_docka-2.0.0/kopi_docka/__main__.py +169 -0
- kopi_docka-2.0.0/kopi_docka/commands/__init__.py +34 -0
- kopi_docka-2.0.0/kopi_docka/commands/backup_commands.py +236 -0
- kopi_docka-2.0.0/kopi_docka/commands/config_commands.py +376 -0
- kopi_docka-2.0.0/kopi_docka/commands/dependency_commands.py +126 -0
- kopi_docka-2.0.0/kopi_docka/commands/dry_run_commands.py +299 -0
- kopi_docka-2.0.0/kopi_docka/commands/repository_commands.py +470 -0
- kopi_docka-2.0.0/kopi_docka/commands/service_commands.py +85 -0
- kopi_docka-2.0.0/kopi_docka/cores/__init__.py +44 -0
- kopi_docka-2.0.0/kopi_docka/cores/backup_manager.py +471 -0
- kopi_docka-2.0.0/kopi_docka/cores/dependency_manager.py +707 -0
- kopi_docka-2.0.0/kopi_docka/cores/disaster_recovery_manager.py +515 -0
- kopi_docka-2.0.0/kopi_docka/cores/docker_discovery.py +317 -0
- kopi_docka-2.0.0/kopi_docka/cores/dry_run_manager.py +374 -0
- kopi_docka-2.0.0/kopi_docka/cores/kopia_policy_manager.py +93 -0
- kopi_docka-2.0.0/kopi_docka/cores/repository_manager.py +660 -0
- kopi_docka-2.0.0/kopi_docka/cores/restore_manager.py +637 -0
- kopi_docka-2.0.0/kopi_docka/cores/service_manager.py +416 -0
- kopi_docka-2.0.0/kopi_docka/helpers/__init__.py +17 -0
- kopi_docka-2.0.0/kopi_docka/helpers/config.py +618 -0
- kopi_docka-2.0.0/kopi_docka/helpers/constants.py +92 -0
- kopi_docka-2.0.0/kopi_docka/helpers/logging.py +505 -0
- kopi_docka-2.0.0/kopi_docka/helpers/system_utils.py +512 -0
- kopi_docka-2.0.0/kopi_docka/templates/config_template.conf +249 -0
- kopi_docka-2.0.0/kopi_docka/types.py +139 -0
- kopi_docka-2.0.0/kopi_docka.egg-info/PKG-INFO +1071 -0
- kopi_docka-2.0.0/kopi_docka.egg-info/SOURCES.txt +37 -0
- kopi_docka-2.0.0/kopi_docka.egg-info/dependency_links.txt +1 -0
- kopi_docka-2.0.0/kopi_docka.egg-info/entry_points.txt +2 -0
- kopi_docka-2.0.0/kopi_docka.egg-info/requires.txt +11 -0
- kopi_docka-2.0.0/kopi_docka.egg-info/top_level.txt +1 -0
- kopi_docka-2.0.0/pyproject.toml +88 -0
- kopi_docka-2.0.0/requirements.txt +1 -0
- kopi_docka-2.0.0/setup.cfg +4 -0
kopi_docka-2.0.0/LICENSE
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Markus F. (TZERO78)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
================================================================================
|
|
24
|
+
THIRD PARTY NOTICES
|
|
25
|
+
================================================================================
|
|
26
|
+
|
|
27
|
+
This project uses and depends on the following third-party software:
|
|
28
|
+
|
|
29
|
+
--------------------------------------------------------------------------------
|
|
30
|
+
1. KOPIA
|
|
31
|
+
--------------------------------------------------------------------------------
|
|
32
|
+
Website: https://kopia.io
|
|
33
|
+
GitHub: https://github.com/kopia/kopia
|
|
34
|
+
License: Apache License 2.0
|
|
35
|
+
Copyright: Jarek Kowalski and Contributors
|
|
36
|
+
|
|
37
|
+
Kopi-Docka is a wrapper tool that orchestrates Kopia for Docker backup workflows.
|
|
38
|
+
Kopia remains unmodified and is used as an external dependency.
|
|
39
|
+
|
|
40
|
+
Full Kopia License: https://github.com/kopia/kopia/blob/master/LICENSE
|
|
41
|
+
|
|
42
|
+
NOTICE: Kopi-Docka is an independent project with no official affiliation to
|
|
43
|
+
the Kopia project. "Kopia" is a trademark of its respective owner.
|
|
44
|
+
|
|
45
|
+
--------------------------------------------------------------------------------
|
|
46
|
+
2. DOCKER
|
|
47
|
+
--------------------------------------------------------------------------------
|
|
48
|
+
Website: https://www.docker.com
|
|
49
|
+
License: Proprietary
|
|
50
|
+
Copyright: Docker, Inc.
|
|
51
|
+
|
|
52
|
+
Kopi-Docka interacts with Docker via the Docker CLI and Docker Engine API.
|
|
53
|
+
Docker is not bundled with this software and must be installed separately.
|
|
54
|
+
|
|
55
|
+
Docker Terms of Service: https://www.docker.com/legal/docker-terms-service/
|
|
56
|
+
|
|
57
|
+
NOTICE: "Docker" and the Docker logo are trademarks or registered trademarks
|
|
58
|
+
of Docker, Inc. in the United States and/or other countries. Docker, Inc. and
|
|
59
|
+
other parties may also have trademark rights in other terms used herein.
|
|
60
|
+
Use of these trademarks does not imply endorsement by Docker, Inc.
|
|
61
|
+
|
|
62
|
+
--------------------------------------------------------------------------------
|
|
63
|
+
3. PYTHON DEPENDENCIES
|
|
64
|
+
--------------------------------------------------------------------------------
|
|
65
|
+
|
|
66
|
+
This project uses the following Python packages:
|
|
67
|
+
|
|
68
|
+
• psutil (BSD 3-Clause License)
|
|
69
|
+
https://github.com/giampaolo/psutil
|
|
70
|
+
Copyright (c) 2009, Jay Loden, Dave Daeschler, Giampaolo Rodola
|
|
71
|
+
|
|
72
|
+
• typer (MIT License)
|
|
73
|
+
https://github.com/tiangolo/typer
|
|
74
|
+
Copyright (c) 2019 Sebastián Ramírez
|
|
75
|
+
|
|
76
|
+
Full license texts for these dependencies can be found in their respective
|
|
77
|
+
repositories or via Python package metadata.
|
|
78
|
+
|
|
79
|
+
================================================================================
|
|
80
|
+
DISCLAIMER
|
|
81
|
+
================================================================================
|
|
82
|
+
|
|
83
|
+
Kopi-Docka is provided as a convenience wrapper around existing tools (primarily
|
|
84
|
+
Kopia and Docker). The authors and contributors of Kopi-Docka:
|
|
85
|
+
|
|
86
|
+
1. Are not affiliated with, endorsed by, or sponsored by:
|
|
87
|
+
- The Kopia project or its maintainers
|
|
88
|
+
- Docker, Inc. or its affiliates
|
|
89
|
+
- Any cloud storage providers
|
|
90
|
+
|
|
91
|
+
2. Make no warranties about:
|
|
92
|
+
- Data integrity or backup reliability
|
|
93
|
+
- Compatibility with future versions of dependencies
|
|
94
|
+
- Fitness for any particular purpose
|
|
95
|
+
|
|
96
|
+
3. Strongly recommend:
|
|
97
|
+
- Always test your backups and verify restore procedures
|
|
98
|
+
- Keep multiple backup copies using different tools/strategies
|
|
99
|
+
- Read and understand the documentation of all dependencies
|
|
100
|
+
- Never rely solely on automated backups for critical data
|
|
101
|
+
|
|
102
|
+
USE THIS SOFTWARE AT YOUR OWN RISK. ALWAYS TEST BACKUPS BEFORE RELYING ON
|
|
103
|
+
THEM IN PRODUCTION ENVIRONMENTS.
|
|
104
|
+
|
|
105
|
+
================================================================================
|
|
106
|
+
ACKNOWLEDGMENTS
|
|
107
|
+
================================================================================
|
|
108
|
+
|
|
109
|
+
Special thanks to:
|
|
110
|
+
|
|
111
|
+
• Jarek Kowalski and all Kopia contributors for creating an excellent
|
|
112
|
+
backup solution that makes Kopi-Docka possible.
|
|
113
|
+
|
|
114
|
+
• The Docker community for revolutionizing containerization.
|
|
115
|
+
|
|
116
|
+
• All open-source developers whose work we build upon.
|
|
117
|
+
|
|
118
|
+
================================================================================
|
|
119
|
+
|
|
120
|
+
For questions or issues, please visit:
|
|
121
|
+
https://github.com/TZERO78/kopi-docka
|
|
122
|
+
|
|
123
|
+
Last updated: October 2025
|