diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-11-08 23:57:26 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-11-09 00:09:40 +0100 |
commit | c14cc32b3fae8c2674497d16d190e0be7d378659 (patch) | |
tree | ee65ef8271f4e9793e34197f70f7277371d75bc2 /app-backup/obnam/files | |
parent | cb646851030bf217d0090a0d025505cc2659de61 (diff) | |
download | overlay-c14cc32b3fae8c2674497d16d190e0be7d378659.tar.gz overlay-c14cc32b3fae8c2674497d16d190e0be7d378659.tar.xz overlay-c14cc32b3fae8c2674497d16d190e0be7d378659.zip |
app-backup/obnam: port package to python-r1, distutils-r1
Diffstat (limited to 'app-backup/obnam/files')
-rw-r--r-- | app-backup/obnam/files/obnam-1.2_diff_fix.patch | 11 | ||||
-rw-r--r-- | app-backup/obnam/files/obnam-1.2_man_diff_fix.patch | 18 | ||||
-rw-r--r-- | app-backup/obnam/files/obnam.conf | 85 |
3 files changed, 114 insertions, 0 deletions
diff --git a/app-backup/obnam/files/obnam-1.2_diff_fix.patch b/app-backup/obnam/files/obnam-1.2_diff_fix.patch new file mode 100644 index 0000000..5739dd0 --- /dev/null +++ b/app-backup/obnam/files/obnam-1.2_diff_fix.patch @@ -0,0 +1,11 @@ +diff -urN obnam-1.2.orig/obnamlib/plugins/show_plugin.py obnam-1.2/obnamlib/plugins/show_plugin.py +--- obnam-1.2.orig/obnamlib/plugins/show_plugin.py 2012-10-06 18:45:31.000000000 +0200 ++++ obnam-1.2/obnamlib/plugins/show_plugin.py 2012-10-11 09:54:28.757951340 +0200 +@@ -234,6 +234,7 @@ + self.show_diff_for_file(gen2, full, '+') + for basename in sorted(set1): + # This was only in gen1 - it got removed ++ full = os.path.join(dirname, basename) + self.show_diff_for_file(gen1, full, '-') + + for subdir in subdirs: diff --git a/app-backup/obnam/files/obnam-1.2_man_diff_fix.patch b/app-backup/obnam/files/obnam-1.2_man_diff_fix.patch new file mode 100644 index 0000000..b2045c1 --- /dev/null +++ b/app-backup/obnam/files/obnam-1.2_man_diff_fix.patch @@ -0,0 +1,18 @@ +diff -urN obnam-1.2.orig/obnam.1.in obnam-1.2/obnam.1.in +--- obnam-1.2.orig/obnam.1.in 2012-10-06 18:45:31.000000000 +0200 ++++ obnam-1.2/obnam.1.in 2012-10-11 10:18:55.991780255 +0200 +@@ -59,6 +59,14 @@ + lists every backup generation for a given client, + plus some metadata about the generation. + .IP \(bu ++.B diff ++compares two generations and lists files differing between them. Every output ++line will be prefixed either by a plus sign (+) for files that were added, a ++minus sign (-) for files that have been removed or an asterisk (*) for files ++that have changed. If only one generation ID is specified on the command line ++that generation will be compared with its direct predecessor. If two IDs have ++been specified, all changes between those two generations will be listed. ++.IP \(bu + .B genids + lists the identifier for every backup generation for a given client. + No other information is shown. diff --git a/app-backup/obnam/files/obnam.conf b/app-backup/obnam/files/obnam.conf new file mode 100644 index 0000000..0d76717 --- /dev/null +++ b/app-backup/obnam/files/obnam.conf @@ -0,0 +1,85 @@ +# +# This is the global obnam configuration file +# +# see 'man obnam' for all available config options +# + +[config] +### +### BACKUP REPOSITORY (backup destination) +### +### configure where to store backups and how +### +# name of the backup repository +# can be a local path (or NFS mount ...) or a sftp URL +# +# local directory: +#repository = /mnt/mybackupspace +# +# or remote via sftp +#repository = sftp://someuser@server/path/to/backup +# +# enable compression of files in repository (disabled by default) +#compress-with = deflate + +### +### BACKUP ROOT(s) (backup source) +### +### configure what to backup and what to exclude +### +#root = /boot, /home +#exclude = ^/var/tmp/, .*\.pid$, \.cache/, ^/usr/src/linux.*/, ^/var/tmp/portage/, .*/.local/share/Trash/ +#one-file-system = true + +### +### FORGET POLICY (repository housekeeping) +### +### configure which backup generations to keep when +### cleaning up repository +#keep = 72h,14d,10w,12m + +### +### LOGGING +### +# where to write a logfile +# log = /var/log/obnam/obnam.log +# log-level = debug +# log-keep = 10 +# log-max = 0 +# log-mode = 0600 + +### +### BACKUP ENCRYPTION +### +# Encryption: +# --encrypt-with=ENCRYPT-WITH +# PGP key with which to encrypt data in the backup +# repository +# --keyid=KEYID PGP key id to add to/remove from the backup repository +# --weak-random use /dev/urandom instead of /dev/random to generate +# symmetric keys +# --symmetric-key-bits=SYMMETRIC-KEY-BITS +# size of symmetric key, in bits + +### +### PERFORMANCE TWEAKING +### +# +# Performance tweaking: +# --node-size=SIZE size of B-tree nodes on disk (default: 262144) +# --chunk-size=SIZE size of chunks of file data backed up (default: +# 1048576) +# --upload-queue-size=SIZE +# length of upload queue for B-tree nodes (default: +# 1024) +# --lru-size=SIZE size of LRU cache for B-tree nodes (default: 500) +# --idpath-depth=IDPATH-DEPTH +# depth of chunk id mapping +# --idpath-bits=IDPATH-BITS +# chunk id level size +# --idpath-skip=IDPATH-SKIP +# chunk id mapping lowest bits skip +# --chunkids-per-group=NUM +# encode NUM chunk ids per group (1024) +# +# EOF |