Skip to content

Commit

Permalink
Include bup in the make process and document it.
Browse files Browse the repository at this point in the history
  • Loading branch information
lelutin committed May 24, 2015
1 parent 2bc7c87 commit 8922547
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
7 changes: 4 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ file in /etc/backup.d according to the file's suffix:
.sh -- run this file as a shell script.
.rdiff -- filesystem backup (using rdiff-backup)
.dup -- filesystem backup (using duplicity)
.bup -- filesystem backup (using bup)
.mysql -- backup mysql databases
.pgsql -- backup PostgreSQL databases
.sys -- general hardware, partition, and system reports.
Expand Down Expand Up @@ -195,9 +196,9 @@ hard links.
SSH KEYS
========

In order for rdiff-backup to sync files over ssh unattended, you must
create ssh keys on the source server and copy the public key to the
remote user's authorized keys file. For example:
In order for rdiff-backup or bup to sync files over ssh unattended, you must
create ssh keys on the source server and copy the public key to the remote
user's authorized keys file. For example:

root@srchost# ssh-keygen -t rsa -b 4096
root@srchost# ssh-copy-id -i /root/.ssh/id_rsa.pub backup@desthost
Expand Down
6 changes: 3 additions & 3 deletions examples/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

EXAMPLES = example.dup example.maildir example.makecd example.mysql \
example.pgsql example.rdiff example.rsync example.sh \
example.svn example.sys example.trac
EXAMPLES = example.bup example.dup example.maildir example.makecd \
example.mysql example.pgsql example.rdiff example.rsync \
example.sh example.svn example.sys example.trac

EXTRA_DIST = $(EXAMPLES)

Expand Down
7 changes: 7 additions & 0 deletions examples/example.bup
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[source]
path=/
bupdir=/var/backups/filesystem.bup

[dest]
type=local
branch=localhost
6 changes: 5 additions & 1 deletion handlers/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

HANDLERS = bup dup dup.helper maildir makecd \
HANDLERS = bup bup.helper dup dup.helper maildir makecd \
makecd.helper mysql mysql.helper pgsql pgsql.helper rdiff \
rdiff.helper rsync sh svn sys sys.helper trac tar tar.helper

Expand All @@ -22,6 +22,10 @@ bup: $(srcdir)/bup.in
rm -f bup
$(edit) $(srcdir)/bup.in > bup

bup.helper: $(srcdir)/bup.helper.in
rm -f bup.helper
$(edit) $(srcdir)/bup.helper.in > bup.helper

dup: $(srcdir)/dup.in
rm -f dup
$(edit) $(srcdir)/dup.in > dup
Expand Down

0 comments on commit 8922547

Please sign in to comment.