Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
6af4bda0
Commit
6af4bda0
authored
19 years ago
by
elijah
Browse files
Options
Downloads
Patches
Plain Diff
updated README
parent
809f2657
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+14
-9
14 additions, 9 deletions
README
with
14 additions
and
9 deletions
README
+
14
−
9
View file @
6af4bda0
...
@@ -58,13 +58,13 @@ To preform the actual backup, backupninja processes each configuration
...
@@ -58,13 +58,13 @@ To preform the actual backup, backupninja processes each configuration
file in /etc/backup.d according to the file's suffix:
file in /etc/backup.d according to the file's suffix:
.sh -- run this file as a shell script.
.sh -- run this file as a shell script.
.rdiff --
this is a configuration for
rdiff-backup
.rdiff --
filesystem backup (using
rdiff-backup
)
.
maildir -- this is a configuration to backup maildirs
.
dup -- filesystem backup (using duplicity)
.
dup
--
this is a configuration for duplicity
.
mysql
--
backup mysql databases
.
mysql
--
mysql
backup
configuration
.
ldap
-- backup
ldap databases
.
ldap
--
ldap backup configuration
.
sys
--
general hardware, partition, and system reports.
.s
ys
--
general system report
s
.s
vn
--
backup subversion repositorie
s
.
svn -- subversion repository backups
.
maildir -- incrementally backup maildirs (very specialized)
Support for additional configuration types can be added by dropping
Support for additional configuration types can be added by dropping
bash scripts with the name of the suffix into /usr/share/backupninja.
bash scripts with the name of the suffix into /usr/share/backupninja.
...
@@ -121,6 +121,9 @@ If two configurations files are scheduled close to one another in
...
@@ -121,6 +121,9 @@ If two configurations files are scheduled close to one another in
time, it is possible to have multiple copies of backupninja running if
time, it is possible to have multiple copies of backupninja running if
the first instance is not finished before the next one starts.
the first instance is not finished before the next one starts.
Make sure that you put the "when" option before any sections in your
configuration file.
These values for 'when' are equivalent:
These values for 'when' are equivalent:
when = tuesday at 05:30
when = tuesday at 05:30
...
@@ -136,7 +139,7 @@ These values for 'when' are invalid:
...
@@ -136,7 +139,7 @@ These values for 'when' are invalid:
REAL WORLD USAGE
REAL WORLD USAGE
================
================
Backupninja can be used to impl
i
ment whatever backup strategy you
Backupninja can be used to impl
e
ment whatever backup strategy you
choose. It is intended, however, to be used like so:
choose. It is intended, however, to be used like so:
(1) First, databases are safely copied or exported to /var/backups.
(1) First, databases are safely copied or exported to /var/backups.
...
@@ -174,6 +177,8 @@ user 'backup' on desthost without specifying a password.
...
@@ -174,6 +177,8 @@ user 'backup' on desthost without specifying a password.
Note: when prompted for a password by ssh-keygen, just leave it
Note: when prompted for a password by ssh-keygen, just leave it
blank by hitting return.
blank by hitting return.
The included helper program "ninjahelper" will walk you through creating
an rdiff-backup configuration, and will set up the ssh keys for you.
INSTALLATION
INSTALLATION
============
============
...
@@ -238,7 +243,7 @@ To add an additional 'wizard' to ninjahelper, follow these steps:
...
@@ -238,7 +243,7 @@ To add an additional 'wizard' to ninjahelper, follow these steps:
(2) next, you need to add your helper to the global HELPERS variable
(2) next, you need to add your helper to the global HELPERS variable
and define the main function for your helper (the function name
and define the main function for your helper (the function name
is always <helper>_wizard). for example, blue.helper:
is always <helper>_wizard). for example, blue.helper:
HELPERS="$HELPERS blue:description_of_this_helper
HELPERS="$HELPERS blue:description_of_this_helper
"
blue_wizard() {
blue_wizard() {
... do work here ...
... do work here ...
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment