Debian Codegraph @

README.md

raw
1 # Cedar Backup v3
2
3 [![pypi](https://img.shields.io/pypi/v/cedar-backup3.svg)](https://pypi.org/project/cedar-backup3/)
4 [![license](https://img.shields.io/github/license/pronovic/cedar-backup3)](https://github.com/pronovic/cedar-backup3/blob/main/LICENSE)
5 [![wheel](https://img.shields.io/pypi/wheel/cedar-backup3.svg)](https://pypi.org/project/cedar-backup3/)
6 [![python](https://img.shields.io/pypi/pyversions/cedar-backup3.svg)](https://pypi.org/project/cedar-backup3/)
7 [![Test Suite](https://github.com/pronovic/cedar-backup3/workflows/Test%20Suite/badge.svg)](https://github.com/pronovic/cedar-backup3/actions?query=workflow%3A%22Test+Suite%22)
8 [![docs](https://readthedocs.org/projects/cedar-backup3/badge/?version=stable&style=flat)](https://cedar-backup3.readthedocs.io/en/stable/)
9 [![coverage](https://coveralls.io/repos/github/pronovic/cedar-backup3/badge.svg?branch=main)](https://coveralls.io/github/pronovic/cedar-backup3?branch=main)
10
11 ## What is Cedar Backup?
12
13 [Cedar Backup v3](https://pypi.org/project/cedar-backup3/) is a software
14 package designed to manage system backups for a pool of local and remote
15 machines. The project was originally maintained at SourceForge, and historical
16 releases still exist there. The project was moved to BitBucket in mid-2015, and
17 from there to GitHub in mid-2019 when BitBucket retired their Mercurial hosting
18 service.
19
20 Cedar Backup understands how to back up filesystem data as well as MySQL and
21 PostgreSQL databases and Subversion repositories. It can also be easily extended
22 to support other kinds of data sources. The backup process is focused around
23 weekly backups to a single CD or DVD disc, with the expectation that the disc
24 will be changed or overwritten at the beginning of each week. Alternately,
25 Cedar Backup can write your backups to the Amazon S3 cloud rather than relying
26 on physical media.
27
28 Besides offering command-line utilities to manage the backup process, Cedar
29 Backup provides a well-organized library of backup-related functionality,
30 written in the Python 3 programming language.
31
32 There are many different backup software systems in the open source world.
33 Cedar Backup aims to fill a niche: it aims to be a good fit for people who need
34 to back up a limited amount of important data on a regular basis. Cedar Backup
35 isn’t for you if you want to back up your huge MP3 collection every night, or
36 if you want to back up a few hundred machines. However, if you administer a
37 small set of machines and you want to run daily incremental backups for things
38 like system configuration, current email, small web sites, source code
39 repositories, or small databases, then Cedar Backup is probably worth your
40 time.
41
42 Cedar Backup has been developed on a [Debian GNU/Linux](http://www.debian.org/) system
43 and is primarily supported on Debian and other Linux systems. However, since it is written
44 in portable [Python 3](http://www.python.org), it should run without problems on
45 just about any UNIX-like operating system. In particular, full Cedar
46 Backup functionality is known to work on Debian and SuSE Linux, and client
47 functionality is also known to work on FreeBSD and OS X systems.
48
49 ## Supported Python Versions
50
51 My general policy is to support the latest four versions of the Python
52 interpreter. For example, starting in late 2026, I dropped support for Python
53 3.11, leaving support for Python 3.12, 3.13, 3.14, and 3.15. At my discretion, I
54 may choose to support older versions, as long as doing so doesn't cause too
55 much pain. These days Python is released about once per year, so most anyone
56 should be able to run one of the supported versions, even on a long-term
57 support Linux distribution.
58
59 **Statement on free-threading:** This code is single-threaded by design.
60 Starting with Python 3.14, the matrix build CI workflow in GitHub Actions
61 ensures that the test suite passes for both standard and free-threaded
62 interpreters.
63
64 ## Dependency Versions
65
66 For Python dependencies, I target the version that is available in the current
67 stable Debian release. This means that I'm often several major versions behind
68 what is available from PyPI. If I targeted the latest PyPI version instead,
69 then the Debian package for Cedar Backup would really only be usable on
70 bleeding-edge Linux systems, which is probably not where most usage is found.
71 As the next Debian stable release gets closer, I will sometimes migrate to
72 newer versions in preparation for that release, especially if there have been
73 no major functional changes in Cedar Backup recently.
74
75 ## Developer Documentation
76
77 Developer documentation is found in [DEVELOPER.md](DEVELOPER.md). See that
78 file for notes about how the code is structured, how to set up a development
79 environment, etc.
80
81 ## End User Documentation
82
83 See the [Changelog](https://github.com/pronovic/cedar-backup3/blob/main/Changelog) for
84 recent changes.
85
86 The [Cedar Backup v3 Software Manual](https://cedar-backup3.readthedocs.io/en/stable/manual/index.html) documents
87 the process of setting up and using Cedar Backup. In the manual, you can find
88 information about how Cedar Backup works, how to install and configure it, how
89 to schedule backups, how to restore data, and how to get support.
90
91 ## Library Code
92
93 The Cedar Backup v3 has been designed as both an application and a
94 library of backup-related functionality. The `CedarBackup3` Python
95 package contains a variety of useful backup-related classes and functions. For
96 instance: the `IsoImage` class represents an ISO CD image;
97 the `CdWriter` class represents a CD-R/CD-RW writer device; and the
98 `FilesystemList` class represents a list of files and directories on a
99 filesystem. For more information, see
100 the [API Reference](https://cedar-backup3.readthedocs.io/en/stable/autoapi/index.html) documentation.
101
102 ## Package Distributions
103
104 Cedar Backup is primarily distributed as a Python 3 package. You can install
105 it from [PyPI](https://pypi.org/project/cedar-backup3/) using pip:
106
107 ```
108 $ pip install cedar-backup3
109 ```
110
111 In addition to the Python package, Cedar Backup requires a variety of external
112 system dependencies. For more information, see
113 the [Cedar Backup v3 Software Manual](https://cedar-backup3.readthedocs.io/en/stable/manual/install.html#installing-the-python-package).
114
115 Debian packages for Cedar Backup v3, called `cedar-backup3` and
116 `cedar-backup3-doc`, were first available starting with the Debian 'stretch'
117 release. Debian derivatives (such as Ubuntu) should also contain the packages.
118