Debian Codegraph @

docs/index.rst

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 Cedar Backup v3
2 ===============
3
4 Release v\ |version|
5
6 .. image:: https://img.shields.io/pypi/v/cedar-backup3.svg
7 :target: https://pypi.org/project/cedar-backup3/
8
9 .. image:: https://img.shields.io/github/license/pronovic/cedar-backup3
10 :target: https://github.com/pronovic/cedar-backup3/blob/main/LICENSE
11
12 .. image:: https://img.shields.io/pypi/wheel/cedar-backup3.svg
13 :target: https://pypi.org/project/cedar-backup3/
14
15 .. image:: https://img.shields.io/pypi/pyversions/cedar-backup3.svg
16 :target: https://pypi.org/project/cedar-backup3/
17
18 .. image:: https://github.com/pronovic/cedar-backup3/workflows/Test%20Suite/badge.svg
19 :target: https://github.com/pronovic/cedar-backup3/actions?query=workflow%3A%22Test+Suite%22
20
21 .. image:: https://readthedocs.org/projects/cedar-backup3/badge/?version=stable&style=flat
22 :target: https://cedar-backup3.readthedocs.io/en/stable/
23
24 .. image:: https://coveralls.io/repos/github/pronovic/cedar-backup3/badge.svg?branch=main
25 :target: https://coveralls.io/github/pronovic/cedar-backup3?branch=main
26
27 Cedar Backup is a software package designed to manage system backups for a pool
28 of local and remote machines.
29
30 Cedar Backup understands how to back up filesystem data as well as MySQL and
31 PostgreSQL databases and Subversion repositories. It can also be easily extended
32 to support other kinds of data sources. The backup process is focused around
33 weekly backups to a single CD or DVD disc, with the expectation that the disc
34 will be changed or overwritten at the beginning of each week. Alternately,
35 Cedar Backup can write your backups to the Amazon S3 cloud rather than relying
36 on physical media.
37
38 Besides offering command-line utilities to manage the backup process, Cedar
39 Backup provides a well-organized library of backup-related functionality,
40 written in the Python 3 programming language.
41
42 There are many different backup software systems in the open source world.
43 Cedar Backup aims to fill a niche: it aims to be a good fit for people who need
44 to back up a limited amount of important data on a regular basis. Cedar Backup
45 isn’t for you if you want to back up your huge MP3 collection every night, or
46 if you want to back up a few hundred machines. However, if you administer a
47 small set of machines and you want to run daily incremental backups for things
48 like system configuration, current email, small web sites, source code
49 repositories, or small databases, then Cedar Backup is probably worth your
50 time.
51
52
53 Documentation
54 -------------
55
56 See the Changelog_ for recent changes.
57
58 The :doc:`manual/index` documents the process of setting up and using Cedar
59 Backup. In the manual, you can find information about how Cedar Backup works,
60 how to install and configure it, how to schedule backups, how to restore data,
61 and how to get support.
62
63
64 Package Distributions
65 ---------------------
66
67 Cedar Backup is primarily distributed as a Python 3 package. You can install
68 it using pip::
69
70 $ pip install cedar-backup3
71
72 In addition to the Python package, Cedar Backup requires a variety of external
73 system dependencies. For more information, see the :doc:`manual/index`.
74
75 Debian packages for Cedar Backup v3, called ``cedar-backup3`` and
76 ``cedar-backup3-doc``, were first available starting with the Debian 'stretch'
77 release. Debian derivatives (such as Ubuntu) should also contain the packages.
78
79
80 Library Code
81 ------------
82
83 The Cedar Backup v3 has been designed as both an application and a
84 library of backup-related functionality. The ``CedarBackup3`` Python package
85 contains a variety of useful backup-related classes and functions. For
86 instance: the ``IsoImage`` class represents an ISO CD image; the ``CdWriter``
87 class represents a CD-R/CD-RW writer device; and the ``FilesystemList`` class
88 represents a list of files and directories on a filesystem.
89
90 .. toctree::
91 :maxdepth: 1
92
93
94 Contributing Improvements
95 -------------------------
96
97 Users are welcome to contribute improvements to Cedar Backup. In the past,
98 users have helped out by reporting unit test failures, making suggestions,
99 requesting enhancements, updating documentation, submitting patches, and
100 beta-testing entire releases or individual bug fixes. As a result, Cedar
101 Backup has evolved into a much more flexible platform than it would otherwise
102 have been.
103
104
105 Migrating from Version 2 to Version 3
106 -------------------------------------
107
108 The main difference between Cedar Backup v2 and Cedar Backup v3 is the targeted
109 Python interpreter. Cedar Backup v2 was designed for Python 2, while v3 is a
110 conversion of the original code to Python 3. Other than that, both versions
111 are functionally equivalent. The configuration format is unchanged, and you
112 can mix-and-match masters and clients of different versions in the same backup
113 pool. However, v2 is no longer maintained, so you should convert as soon as
114 possible.
115
116 A major design goal for v3 was to facilitate easy migration testing for users,
117 by making it possible to install v3 on the same server where v2 was
118 already in use. A side effect of this design choice is that all of the
119 executables, configuration files, and logs changed names in v3. Where v2 used
120 ``cback``, v3 uses ``cback3``: ``cback3.conf`` instead of ``cback.conf``,
121 ``cback3.log`` instead of ``cback.log``, etc.
122
123 So, while migrating from v2 to v3 is relatively straightforward, you will have
124 to make some changes manually. You will need to create a new configuration
125 file (or soft link to the old one), modify your cron jobs to use the new
126 executable name, etc. You can migrate one server at a time in your pool with
127 no ill effects, or even incrementally migrate a single server by using v2 and
128 v3 on different days of the week or for different parts of the backup.
129
130 .. _Changelog: https://github.com/pronovic/cedar-backup3/blob/main/Changelog