| 1 |
# vim: set ft=python ts=4 sw=4 expandtab: |
| 2 |
# ruff: file-ignore[unused-import, undefined-export] # ruff does not like the imports here, but I don't want to break the public interface |
| 3 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 4 |
# |
| 5 |
# C E D A R |
| 6 |
# S O L U T I O N S "Software done right." |
| 7 |
# S O F T W A R E |
| 8 |
# |
| 9 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 10 |
# |
| 11 |
# Author : Kenneth J. Pronovici <[email protected]> |
| 12 |
# Language : Python 3 |
| 13 |
# Project : Cedar Backup, release 3 |
| 14 |
# Purpose : Provides package initialization |
| 15 |
# |
| 16 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 17 |
|
| 18 |
######################################################################## |
| 19 |
# Module documentation |
| 20 |
######################################################################## |
| 21 |
|
| 22 |
""" |
| 23 |
Implements local and remote backups to CD or DVD media. |
| 24 |
|
| 25 |
Cedar Backup is a software package designed to manage system backups for a pool |
| 26 |
of local and remote machines. Cedar Backup understands how to back up |
| 27 |
filesystem data as well as MySQL and PostgreSQL databases and Subversion |
| 28 |
repositories. It can also be easily extended to support other kinds of data |
| 29 |
sources. |
| 30 |
|
| 31 |
Cedar Backup is focused around weekly backups to a single CD or DVD disc, with |
| 32 |
the expectation that the disc will be changed or overwritten at the beginning |
| 33 |
of each week. If your hardware is new enough, Cedar Backup can write |
| 34 |
multisession discs, allowing you to add incremental data to a disc on a daily |
| 35 |
basis. |
| 36 |
|
| 37 |
Besides offering command-line utilities to manage the backup process, Cedar |
| 38 |
Backup provides a well-organized library of backup-related functionality, |
| 39 |
written in the Python programming language. |
| 40 |
|
| 41 |
:author: Kenneth J. Pronovici <[email protected]> |
| 42 |
""" |
| 43 |
|
| 44 |
|
| 45 |
######################################################################## |
| 46 |
# Package initialization |
| 47 |
######################################################################## |
| 48 |
|
| 49 |
# Using 'from CedarBackup3 import *' will just import the modules listed |
| 50 |
# in the __all__ variable. |
| 51 |
|
| 52 |
import CedarBackup3.actions |
| 53 |
import CedarBackup3.cli |
| 54 |
import CedarBackup3.config |
| 55 |
import CedarBackup3.extend |
| 56 |
import CedarBackup3.filesystem |
| 57 |
import CedarBackup3.knapsack |
| 58 |
import CedarBackup3.peer |
| 59 |
import CedarBackup3.release |
| 60 |
import CedarBackup3.tools |
| 61 |
import CedarBackup3.util |
| 62 |
import CedarBackup3.writers |
| 63 |
|
| 64 |
__all__ = [ |
| 65 |
"actions", |
| 66 |
"cli", |
| 67 |
"config", |
| 68 |
"extend", |
| 69 |
"filesystem", |
| 70 |
"knapsack", |
| 71 |
"peer", |
| 72 |
"release", |
| 73 |
"tools", |
| 74 |
"util", |
| 75 |
"writers", |
| 76 |
] |