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
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
Romain Dessort
backupninja
Commits
f1523f9a
Commit
f1523f9a
authored
8 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
Merge the two FAQs.
parent
5319b341
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
FAQ
+0
-19
0 additions, 19 deletions
FAQ
FAQ.md
+20
-0
20 additions, 0 deletions
FAQ.md
Makefile.am
+1
-1
1 addition, 1 deletion
Makefile.am
with
21 additions
and
20 deletions
FAQ
deleted
100644 → 0
+
0
−
19
View file @
5319b341
Q: duplicity works fine when run standalone, but complains about gpg
"public key not found" when run from backupninja
A: We bet you're using sudo to run both duplicity and backupninja, and have been
using sudo as well when generating the GnuPG key pair used by duplicity.
Quick fix: generate a new GnuPG key pair in a root shell, or using
"sudo -H" instead of plain sudo.
Another solution: import the GnuPG keypair into the root user's keyring, taking
care of running "gpg --update-trustdb" in a root shell or using "sudo -H"
afterwards, in order to tag this keypair as "ultimately trusted".
Detailed explanation: sudo does not change $HOME by default, so GnuPG saved the
newly generated key pair to your own keyring, rather than to the root user's
keyring. Running "sudo duplicity" hides the problem, as it uses your own
keyring. Running "sudo backupninja" reveals the problem, as backupninja uses
"su" to make sure it runs duplicity in a real root environment, i.e. using the
root user's GnuPG keyring.
This diff is collapsed.
Click to expand it.
FAQ.md
+
20
−
0
View file @
f1523f9a
duplicity works fine when run standalone, but complains about gpg "public key not found" when run from backupninja
==================================================================================================================
We bet you're using sudo to run both duplicity and backupninja, and have been
using sudo as well when generating the GnuPG key pair used by duplicity.
Quick fix: generate a new GnuPG key pair in a root shell, or using
`sudo -H`
instead of plain sudo.
Another solution: import the GnuPG keypair into the root user's keyring, taking
care of running
`gpg --update-trustdb`
in a root shell or using
`sudo -H`
afterwards, in order to tag this keypair as "ultimately trusted".
Detailed explanation: sudo does not change
`$HOME`
by default, so GnuPG saved the
newly generated key pair to your own keyring, rather than to the root user's
keyring. Running
`sudo duplicity`
hides the problem, as it uses your own
keyring. Running
`sudo backupninja`
reveals the problem, as backupninja uses
`su`
to make sure it runs duplicity in a real root environment, i.e. using the
root user's GnuPG keyring.
What should I do when rdiff-backup fails?
=========================================
...
...
This diff is collapsed.
Click to expand it.
Makefile.am
+
1
−
1
View file @
f1523f9a
# vi: noexpandtab softtabstop=0
## Process this file with automake to produce Makefile.in
EXTRA_DIST
=
FAQ README.md COPYING AUTHORS INSTALL.md NEWS ChangeLog
\
EXTRA_DIST
=
FAQ
.md
README.md COPYING AUTHORS INSTALL.md NEWS ChangeLog
\
backupninja.spec backupninja.spec.in autogen.sh
SUBDIRS
=
etc examples handlers lib man src
...
...
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