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
5319b341
Commit
5319b341
authored
8 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
Import FAQ and link to it from README.md.
refs: #11262
parent
c98406b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
FAQ.md
+49
-0
49 additions, 0 deletions
FAQ.md
README.md
+5
-0
5 additions, 0 deletions
README.md
with
54 additions
and
0 deletions
FAQ.md
0 → 100644
+
49
−
0
View file @
5319b341
What should I do when rdiff-backup fails?
=========================================
If rdiff-backup fails, the meta data file may get corrupt. When this
happens, rdiff-backup will complain loudly every time it is run and
possibly fail to backup some or all the files.
To force rdiff-backup to rebuild the meta data, set this option in
the
`.rdiff`
backup action file:
options = --force
After a rdiff-backup run has been successful you should remove
this option.
How to restrict privileges on the backup server?
================================================
backupninja uses a "push" mechanism, where backups are sent from one
or several hosts to a centralized backup server.
Mount your backup partition with limited execution rights
---------------------------------------------------------
Edit
`/etc/fstab`
to mount your partition with limited rights. For example:
/home ext3 defaults,nosuid,noexec,nodev 0 2
Create a user for each client
-----------------------------
On the backup server, it is important to create a separate user for
each client.
Use a restricted shell and jail users
-------------------------------------
Furthermore, you may use a restricted shell like
[
rssh
](
http://www.pizzashack.org/rssh/index.shtml
)
or
[
scponly
](
http://sublimation.org/scponly/wiki/index.php/Main_Page
)
,
which also offer the ability to jail connections.
On the backup server:
$ apt-get install scponly
$ adduser --disabled-password --home /home/backup/ninja-host1 --shell /usr/bin/scponly ninja-host1
You may now use
`ninja-host1`
user to connect to the
`/home/backup/ninja-host1`
jail.
This diff is collapsed.
Click to expand it.
README.md
+
5
−
0
View file @
5319b341
...
...
@@ -278,3 +278,8 @@ strategy outlined above is the way to go because:
have root on the production server;
3.
rdiff-backup is more space efficient and featureful than using
rsync + hard links.
FAQ
===
See the
[
FAQ
](
FAQ.md
)
.
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