You can subscribe to this list here.
2007 |
Jan
(76) |
Feb
(76) |
Mar
(54) |
Apr
(14) |
May
(23) |
Jun
(21) |
Jul
|
Aug
|
Sep
(9) |
Oct
(14) |
Nov
(12) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
(18) |
Mar
(3) |
Apr
|
May
|
Jun
(2) |
Jul
(3) |
Aug
|
Sep
|
Oct
(17) |
Nov
(13) |
Dec
|
2009 |
Jan
(1) |
Feb
(1) |
Mar
(15) |
Apr
(2) |
May
(18) |
Jun
(1) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(61) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(18) |
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(4) |
Nov
(10) |
Dec
(9) |
2012 |
Jan
(10) |
Feb
(23) |
Mar
|
Apr
(5) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(4) |
2013 |
Jan
(17) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <st...@us...> - 2007-01-31 23:28:35
|
Revision: 348 http://safekeep.svn.sourceforge.net/safekeep/?rev=348&view=rev Author: stelian Date: 2007-01-31 15:28:33 -0800 (Wed, 31 Jan 2007) Log Message: ----------- Update the DEB packaging: - split into -server, -client, -common subpackages - create the 'safekeep' user for the server - install a daily cron task - etc. Modified Paths: -------------- safekeep/trunk/debian/control safekeep/trunk/debian/rules Added Paths: ----------- safekeep/trunk/debian/safekeep-client.docs safekeep/trunk/debian/safekeep-common.dirs safekeep/trunk/debian/safekeep-common.docs safekeep/trunk/debian/safekeep-server.dirs safekeep/trunk/debian/safekeep-server.docs safekeep/trunk/debian/safekeep-server.postinst safekeep/trunk/debian/safekeep-server.prerm Removed Paths: ------------- safekeep/trunk/debian/dirs safekeep/trunk/debian/docs Modified: safekeep/trunk/debian/control =================================================================== --- safekeep/trunk/debian/control 2007-01-31 20:57:31 UTC (rev 347) +++ safekeep/trunk/debian/control 2007-01-31 23:28:33 UTC (rev 348) @@ -5,9 +5,34 @@ Build-Depends: debhelper (>= 4.0.0), xmlto, asciidoc (> 6.0.3) Standards-Version: 3.6.2 -Package: safekeep +Package: safekeep-server Architecture: all +Depends: safekeep-common, rdiff-backup, adduser, ssh-client +Replaces: safekeep +Description: The server component of the SafeKeep backup system. + SafeKeep is a client/server backup system which enhances the + power of rdiff-backup with simple configuration and use. + . + This component should be installed on the server on + which the data will be backed-up to. + +Package: safekeep-client +Architecture: all +Depends: safekeep-common, ssh-server +Replaces: safekeep +Description: The client component of the SafeKeep backup system. + SafeKeep is a client/server backup system which enhances the + power of rdiff-backup with simple configuration and use. + . + This component should be installed on all hosts that + need to be backed-up. + +Package: safekeep-common +Architecture: all Depends: ${python:Depends}, rdiff-backup -Description: Lattica's backup script - SafeKeep is a client/server backup script which enhances the - power of rdiff-backup with simple configuration and use. +Replaces: safekeep +Description: The common component of the SafeKeep backup system. + SafeKeep is a client/server backup system which enhances the + power of rdiff-backup with simple configuration and use. + . + This is shared in between the client/server components. Deleted: safekeep/trunk/debian/dirs =================================================================== --- safekeep/trunk/debian/dirs 2007-01-31 20:57:31 UTC (rev 347) +++ safekeep/trunk/debian/dirs 2007-01-31 23:28:33 UTC (rev 348) @@ -1,2 +0,0 @@ -etc/safekeep.d -usr/bin Deleted: safekeep/trunk/debian/docs =================================================================== --- safekeep/trunk/debian/docs 2007-01-31 20:57:31 UTC (rev 347) +++ safekeep/trunk/debian/docs 2007-01-31 23:28:33 UTC (rev 348) @@ -1,6 +0,0 @@ -AUTHORS -COPYING -LICENSE -README -safekeep-test -sample.conf Modified: safekeep/trunk/debian/rules =================================================================== --- safekeep/trunk/debian/rules 2007-01-31 20:57:31 UTC (rev 347) +++ safekeep/trunk/debian/rules 2007-01-31 23:28:33 UTC (rev 348) @@ -14,12 +14,15 @@ make build - mkdir -p $(CURDIR)/debian/safekeep/usr/bin - mkdir -p $(CURDIR)/debian/safekeep/etc/safekeep.d - mkdir -p $(CURDIR)/debian/safekeep/usr/share/man/man1 + install -d -m 755 $(CURDIR)/debian/safekeep-common/usr/bin + install -d -m 755 $(CURDIR)/debian/safekeep-common/usr/share/man/{man1,man5} + install -m 755 safekeep $(CURDIR)/debian/safekeep-common/usr/bin + install -m 755 doc/safekeep.1 $(CURDIR)/debian/safekeep-common/usr/share/man/man1 + install -m 755 doc/safekeep.conf.5 $(CURDIR)/debian/safekeep-common/usr/share/man/man5 - install -m 755 safekeep $(CURDIR)/debian/safekeep/usr/bin - install -m 755 doc/safekeep.1 $(CURDIR)/debian/safekeep/usr/share/man/man1 + install -d -m 755 $(CURDIR)/debian/safekeep-server/etc/safekeep.d + install -d -m 755 $(CURDIR)/debian/safekeep-server/etc/cron.daily + install -m 755 safekeep.cron $(CURDIR)/debian/safekeep-server/etc/cron.daily/safekeep binary-indep: install dh_testdir Added: safekeep/trunk/debian/safekeep-client.docs =================================================================== --- safekeep/trunk/debian/safekeep-client.docs (rev 0) +++ safekeep/trunk/debian/safekeep-client.docs 2007-01-31 23:28:33 UTC (rev 348) @@ -0,0 +1,3 @@ +AUTHORS +COPYING +LICENSE Added: safekeep/trunk/debian/safekeep-common.dirs =================================================================== --- safekeep/trunk/debian/safekeep-common.dirs (rev 0) +++ safekeep/trunk/debian/safekeep-common.dirs 2007-01-31 23:28:33 UTC (rev 348) @@ -0,0 +1 @@ +usr/bin Added: safekeep/trunk/debian/safekeep-common.docs =================================================================== --- safekeep/trunk/debian/safekeep-common.docs (rev 0) +++ safekeep/trunk/debian/safekeep-common.docs 2007-01-31 23:28:33 UTC (rev 348) @@ -0,0 +1,5 @@ +AUTHORS +COPYING +LICENSE +README +TODO Added: safekeep/trunk/debian/safekeep-server.dirs =================================================================== --- safekeep/trunk/debian/safekeep-server.dirs (rev 0) +++ safekeep/trunk/debian/safekeep-server.dirs 2007-01-31 23:28:33 UTC (rev 348) @@ -0,0 +1,2 @@ +etc/cron.daily +etc/safekeep.d Added: safekeep/trunk/debian/safekeep-server.docs =================================================================== --- safekeep/trunk/debian/safekeep-server.docs (rev 0) +++ safekeep/trunk/debian/safekeep-server.docs 2007-01-31 23:28:33 UTC (rev 348) @@ -0,0 +1,5 @@ +AUTHORS +COPYING +LICENSE +safekeep-test +sample.conf Added: safekeep/trunk/debian/safekeep-server.postinst =================================================================== --- safekeep/trunk/debian/safekeep-server.postinst (rev 0) +++ safekeep/trunk/debian/safekeep-server.postinst 2007-01-31 23:28:33 UTC (rev 348) @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + adduser --quiet --system --home /var/lib/safekeep safekeep + install -d -m 700 -o safekeep -g nogroup /var/lib/safekeep/.ssh + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +exit 0 Property changes on: safekeep/trunk/debian/safekeep-server.postinst ___________________________________________________________________ Name: svn:executable + * Added: safekeep/trunk/debian/safekeep-server.prerm =================================================================== --- safekeep/trunk/debian/safekeep-server.prerm (rev 0) +++ safekeep/trunk/debian/safekeep-server.prerm 2007-01-31 23:28:33 UTC (rev 348) @@ -0,0 +1,19 @@ +#! /bin/sh + +set -e + +case "$1" in + remove|deconfigure) + deluser safekeep + ;; + upgrade) + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +exit 0 Property changes on: safekeep/trunk/debian/safekeep-server.prerm ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <st...@us...> - 2007-01-31 20:57:42
|
Revision: 347 http://safekeep.svn.sourceforge.net/safekeep/?rev=347&view=rev Author: stelian Date: 2007-01-31 12:57:31 -0800 (Wed, 31 Jan 2007) Log Message: ----------- Typo. Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-31 20:06:22 UTC (rev 346) +++ safekeep/trunk/safekeep.spec.in 2007-01-31 20:57:31 UTC (rev 347) @@ -56,7 +56,7 @@ %description server The server component of the SafeKeep backup system. -This compoenent should be installed on the server on +This component should be installed on the server on which the data will be backed-up to. %prep This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-31 20:06:29
|
Revision: 346 http://safekeep.svn.sourceforge.net/safekeep/?rev=346&view=rev Author: dimi Date: 2007-01-31 12:06:22 -0800 (Wed, 31 Jan 2007) Log Message: ----------- Add skeletal man page for the configuration file. Modified Paths: -------------- safekeep/trunk/Makefile safekeep/trunk/safekeep.spec.in Added Paths: ----------- safekeep/trunk/doc/safekeep.conf.txt Modified: safekeep/trunk/Makefile =================================================================== --- safekeep/trunk/Makefile 2007-01-31 19:25:01 UTC (rev 345) +++ safekeep/trunk/Makefile 2007-01-31 20:06:22 UTC (rev 346) @@ -10,9 +10,9 @@ dirname := $(shell basename $(PWD)) rpmroot := $(shell grep '%_topdir' ~/.rpmmacros | sed 's/^[^ \t]*[ \t]*//') svnroot := $(shell LANG=C svn info |grep Root |cut -c 18-) -MAN_TXT := doc/safekeep.txt +MAN_TXT := doc/safekeep.txt doc/safekeep.conf.txt +DOC_MAN := doc/safekeep.1 doc/safekeep.conf.5 DOC_HTML := $(patsubst %.txt,%.html,$(MAN_TXT)) -DOC_MAN := $(patsubst %.txt,%.1,$(MAN_TXT)) all: help @@ -63,7 +63,7 @@ %.html: %.txt asciidoc -b xhtml11 -d manpage -f doc/asciidoc.conf $< -%.1: %.xml +%.1 %.5: %.xml xmlto -o doc -m doc/callouts.xsl man $< %.xml: %.txt @@ -123,4 +123,4 @@ clean: rm -f {.,doc,debian}/*~ *.py[co] rm -f $(name).spec debian/changelog - rm -f doc/*.xml doc/*.html doc/*.1 + rm -f doc/*.xml doc/*.html doc/*.[15] Added: safekeep/trunk/doc/safekeep.conf.txt =================================================================== --- safekeep/trunk/doc/safekeep.conf.txt (rev 0) +++ safekeep/trunk/doc/safekeep.conf.txt 2007-01-31 20:06:22 UTC (rev 346) @@ -0,0 +1,27 @@ +safekeep.conf(5) +================ + +NAME +---- +safekeep.conf - Configuration file for 'safekeep(1)' + +SYNOPSIS +-------- +TODO + +DESCRIPTION +----------- +TODO + +PARAMETERS +---------- +TODO + +FILES +----- + /etc/safekeep.d/ + +SEE ALSO +-------- +safekeep(1), rdiff-backup(1) + Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-31 19:25:01 UTC (rev 345) +++ safekeep/trunk/safekeep.spec.in 2007-01-31 20:06:22 UTC (rev 346) @@ -73,6 +73,8 @@ install -m 755 safekeep "%{buildroot}%{_bindir}/" install -d -m 755 "%{buildroot}%{_mandir}/man1/" install -m 755 doc/safekeep.1 "%{buildroot}%{_mandir}/man1/" +install -d -m 755 "%{buildroot}%{_mandir}/man5/" +install -m 755 doc/safekeep.conf.5 "%{buildroot}%{_mandir}/man5/" install -d -m 750 "%{buildroot}%{homedir}" install -d -m 700 "%{buildroot}%{homedir}/.ssh" @@ -91,6 +93,7 @@ %defattr(-,root,root,-) %{_bindir}/safekeep %{_mandir}/man1/safekeep.1* +%{_mandir}/man5/safekeep.5* %doc AUTHORS COPYING LICENSE README TODO %files client This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-31 19:25:05
|
Revision: 345 http://safekeep.svn.sourceforge.net/safekeep/?rev=345&view=rev Author: dimi Date: 2007-01-31 11:25:01 -0800 (Wed, 31 Jan 2007) Log Message: ----------- Add a TODO file with ideas for the future Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Added Paths: ----------- safekeep/trunk/TODO Added: safekeep/trunk/TODO =================================================================== --- safekeep/trunk/TODO (rev 0) +++ safekeep/trunk/TODO 2007-01-31 19:25:01 UTC (rev 345) @@ -0,0 +1,15 @@ +These are ideas that we need to look at post 1.0. + + +Future: + * Find a way to show man page on website with header and footer + * decide how big the snapshot size should be automagically + * fully automatic shapshotting mode + * configuration inheritance + * transactional store of ops on server side, and automagic recovery from errors + * Windows support for the client + * Write SE Linux rules to limit access rights (akin to the httpd ones) + * Add tests db dumps + * Run the server in a chroot-jail + * Compare mirroring with a straight `rsync` + Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-31 16:20:33 UTC (rev 344) +++ safekeep/trunk/safekeep.spec.in 2007-01-31 19:25:01 UTC (rev 345) @@ -91,7 +91,7 @@ %defattr(-,root,root,-) %{_bindir}/safekeep %{_mandir}/man1/safekeep.1* -%doc AUTHORS COPYING LICENSE README +%doc AUTHORS COPYING LICENSE README TODO %files client %doc AUTHORS COPYING LICENSE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-31 16:26:14
|
Revision: 343 http://safekeep.svn.sourceforge.net/safekeep/?rev=343&view=rev Author: dimi Date: 2007-01-31 08:19:54 -0800 (Wed, 31 Jan 2007) Log Message: ----------- Add ChangeLog generation support Modified Paths: -------------- safekeep/trunk/Makefile Added Paths: ----------- safekeep/trunk/doc/users Modified: safekeep/trunk/Makefile =================================================================== --- safekeep/trunk/Makefile 2007-01-31 15:55:06 UTC (rev 342) +++ safekeep/trunk/Makefile 2007-01-31 16:19:54 UTC (rev 343) @@ -71,6 +71,9 @@ $(DOC_HTML) $(DOC_MAN): doc/asciidoc.conf +changelog: + svn log -v --xml | svn2log.py -D 0 -u doc/users + tar: tar-snapshot tar-snapshot: Added: safekeep/trunk/doc/users =================================================================== --- safekeep/trunk/doc/users (rev 0) +++ safekeep/trunk/doc/users 2007-01-31 16:19:54 UTC (rev 343) @@ -0,0 +1,7 @@ +# mapping used by svn2log from logins to names + +anonymous Dimi Paun <di...@la...> +dimi Dimi Paun <di...@la...> +ed Eduard Malinschi <ed...@la...> +mihai Mihai Popa <mi...@la...> +stelian Stelian Pop <st...@la...> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-31 16:26:14
|
Revision: 344 http://safekeep.svn.sourceforge.net/safekeep/?rev=344&view=rev Author: dimi Date: 2007-01-31 08:20:33 -0800 (Wed, 31 Jan 2007) Log Message: ----------- Add a ChangeLog file Added Paths: ----------- safekeep/trunk/ChangeLog Added: safekeep/trunk/ChangeLog =================================================================== --- safekeep/trunk/ChangeLog (rev 0) +++ safekeep/trunk/ChangeLog 2007-01-31 16:20:33 UTC (rev 344) @@ -0,0 +1,1674 @@ +2007-01-30 19:31 +0000 [r340] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Use the regular logging functions to + complain about ignored files + +2007-01-30 19:21 +0000 [r339] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Make use of the standard safekeep + user instead of inventing our own backup-op user. + +2007-01-30 17:15 +0000 [r338] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Create the .ssh dir at install + time too + +2007-01-30 16:55 +0000 [r337] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix string interpolation + +2007-01-30 16:27 +0000 [r336] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix installation of packages on the + test boxes + +2007-01-30 15:33 +0000 [r335] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: The new packages superseed the + old ones + +2007-01-30 15:32 +0000 [r334] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Make sure the version we expect + ends up being installed + +2007-01-30 15:25 +0000 [r333] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Instrument the fulltest to deal + with the multiple packages + +2007-01-30 15:01 +0000 [r332] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Add the licensing files to all + packages + +2007-01-30 04:45 +0000 [r331] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Create the homedir in the build + root + +2007-01-30 04:43 +0000 [r330] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Create the home dir during build + +2007-01-29 21:46 +0000 [r329] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Split RPM into 3 packages: + -common, -client, -server Add a bunch more Requires, etc. Create + a 'safekeep' user for the server part. + +2007-01-29 19:13 +0000 [r328] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.txt: Fix the example with the latest + results + +2007-01-29 17:22 +0000 [r327] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Ignode /selinux/ too. + +2007-01-29 05:40 +0000 [r326] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: A more compact representation for the + excludes + +2007-01-29 05:22 +0000 [r325] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Exclude unneeded stuff from named's + chroot. No need to include /, it's implicit in rdiff-backup. + +2007-01-29 01:31 +0000 [r324] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: "Stelian Pop" <st...@la...> + Invoke remote command explicitly in case the wrong SSH key is + used with the client. + +2007-01-28 23:34 +0000 [r323] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Let the user know we're excluding some + files because of wrong suffix. + +2007-01-28 23:23 +0000 [r322] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: List the options in the same order as + the modes. + +2007-01-27 18:13 +0000 [r321] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Remove + the --client mode from the online help screen, this is an + internal-only mode, and it just makes the output more confusing + and difficult to read. + +2007-01-27 18:10 +0000 [r320] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: We need + to support the -c/--conf in --keys mode too + +2007-01-27 17:11 +0000 [r319] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Rename + the -m option to -s, now that it's available. + +2007-01-27 17:09 +0000 [r318] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Use + sendmail is no SMTP server is specified. + +2007-01-26 23:25 +0000 [r317] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Use the standard os.getenv() instead our + ad-hoc version + +2007-01-26 23:16 +0000 [r316] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.txt: Document some more realistic + configuration examples. + +2007-01-26 22:17 +0000 [r315] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Protect against duplicated client IDs + +2007-01-26 22:04 +0000 [r314] Dimi Paun <di...@la...> + + * safekeep/trunk/sample.conf: Cleanup a bit the sample file + +2007-01-26 22:02 +0000 [r313] Dimi Paun <di...@la...> + + * safekeep/trunk/debian/docs, safekeep/trunk/sample.cfg (removed), + safekeep/trunk/safekeep-test, safekeep/trunk/safekeep.spec.in, + safekeep/trunk/safekeep, safekeep/trunk/sample.conf (added), + safekeep/trunk/doc/safekeep.txt: Rename the .cfg extension to + .conf, and the --cfg option to --conf + +2007-01-26 21:46 +0000 [r312] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test, safekeep/trunk/safekeep, + safekeep/trunk/doc/safekeep.txt: Rename the -C option to -c now + that it is available. + +2007-01-26 21:16 +0000 [r311] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.txt: Cleanup the docs a bit + +2007-01-26 21:13 +0000 [r310] Dimi Paun <di...@la...> + + * safekeep/trunk/Makefile, safekeep/trunk/doc/Makefile (removed): + Merge the doc Makefile into the main Makefile. It makes it easier + if everything is in one place. + http://members.canb.auug.org.au/~millerp/rmch/recu-make-cons-harm.html + +2007-01-26 20:35 +0000 [r309] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Less confusing name + +2007-01-26 20:28 +0000 [r308] Dimi Paun <di...@la...> + + * safekeep/trunk/doc/safekeep.txt: Update documentation + +2007-01-26 19:03 +0000 [r307] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Cleanup code, we check now the arguments + ahead of time. + +2007-01-26 18:40 +0000 [r306] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Add support for filtering by client-ids + in server mode + +2007-01-26 18:27 +0000 [r305] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Complain if inappropriate options are + used in selected mode + +2007-01-26 18:18 +0000 [r304] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Validate arguments as clientIDs where + appropriate + +2007-01-26 18:10 +0000 [r303] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Transform the list of configurations + into a dictionary. It should make it easier to look through the + known ids. + +2007-01-26 16:47 +0000 [r302] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Default to server mode only at the end. + Small cleanups. + +2007-01-26 16:33 +0000 [r301] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Allow only one mode at a time. + +2007-01-26 16:32 +0000 [r300] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Teach usage() to exit if need be, + simplify the code a bit. + +2007-01-26 16:26 +0000 [r299] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Be a little more careful when accessing + environment variables, provide fallbacks in case they are not + defined + +2007-01-26 11:04 +0000 [r298] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Fix backup.log marker logic. + +2007-01-26 04:27 +0000 [r297] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Make + the keys options more like options rather then mode selectors. + This means that any combination of them is now valid as input on + the command line. Addition documentation work to match these + changes. + +2007-01-26 04:09 +0000 [r296] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep, safekeep/trunk/doc/safekeep.txt: Remove + the short options for selecting the operation mode, since they + were polluting the namespace and they weren't all that useful: - + the server mode is the defalt mode, no switch is required - the + client mode should never be invoked manually - the keys mode + benefits slighly from the additional clarity. This should allow + us in the future more freedom to add other options with those + names. + +2007-01-26 03:56 +0000 [r295] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Reorganize the help message for clarity + +2007-01-25 18:36 +0000 [r294] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: According to the FHS + (http://www.pathname.com/fhs/), we can also exclude the following + dirs: /var/cache /var/lock /var/run /var/tmp + +2007-01-25 16:46 +0000 [r293] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Use os.environ['LOGNAME'] instead of + os.getlogin() to avoid errors when the controlling terminal goes + missing (http://docs.python.org/lib/os-procinfo.html) + +2007-01-25 14:50 +0000 [r292] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Fix 'safekeep -k --deploy' problem. + +2007-01-25 04:57 +0000 [r291] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Always nuke yum's cache of our + repo, it's changing too fast and causes problems + +2007-01-25 04:47 +0000 [r290] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Create the config dir so it is + available to receive config files + +2007-01-25 04:21 +0000 [r289] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix server namer. + +2007-01-25 04:09 +0000 [r288] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: If the backup.log exists, mark current + possition and dump starting from the marker only + +2007-01-24 19:58 +0000 [r287] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Provide a reasonable set of + includes/excludes if not specified + +2007-01-23 22:11 +0000 [r286] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: Create dirs for the man page too + +2007-01-23 22:04 +0000 [r285] Dimi Paun <di...@la...> + + * safekeep/trunk/README: Document the build requirements + +2007-01-23 22:04 +0000 [r284] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep.spec.in: We need to create the dir for + the binary + +2007-01-12 11:53 +0000 [r281] Stelian Pop <st...@la...> + + * safekeep/trunk/debian/rules, safekeep/trunk/debian/control: Fix + the debian build rules for the manpage. + +2007-01-12 11:45 +0000 [r280] Stelian Pop <st...@la...> + + * safekeep/trunk/debian/rules, safekeep/trunk/Makefile, + safekeep/trunk/sample.cfg, safekeep/trunk/doc/callouts.xsl + (added), safekeep/trunk/safekeep.spec.in, + safekeep/trunk/debian/control, safekeep/trunk/doc/Makefile + (added), safekeep/trunk/safekeep, safekeep/trunk/doc (added), + safekeep/trunk/doc/safekeep.txt (added), + safekeep/trunk/doc/asciidoc.conf (added): Add documentation and + rework the sample configuration file. + +2007-01-12 05:02 +0000 [r279] Dimi Paun <di...@la...> + + * safekeep/trunk/.project: Fix project name + +2007-01-04 00:36 +0000 [r276] Dimi Paun <di...@la...> + + * safekeep/trunk/README: Test checkin 2 + +2007-01-04 00:31 +0000 [r275] Dimi Paun <di...@la...> + + * safekeep/trunk/README: Test checkin 1 + +2007-01-03 14:36 +0000 [r274] Stelian Pop <st...@la...> + + * safekeep/trunk/Makefile: Update packaging/versionning to SVN + instead of CVS. + +2007-01-03 14:18 +0000 [r273] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep.spec.in: No need for python_sitelib for + SafeKeep. + +2007-01-03 06:46 +0000 [r272] Dimi Paun <di...@la...> + + * safekeep/trunk/README: Fix protocol docs + +2007-01-03 00:32 +0000 [r271] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Misc typo fixes. Use python provided + os.getlogin() and os.uname()[1] instead of looking at possibly + inexistent environment variables. + +2007-01-03 00:30 +0000 [r270] Stelian Pop <st...@la...> + + * safekeep/trunk/sample.cfg: Fix retention parameter and XML syntax + +2007-01-02 23:39 +0000 [r269] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Fix --status argument parsing and + reorganize the option list. + +2007-01-02 23:18 +0000 [r268] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Whitespace cleanup. + +2007-01-02 23:11 +0000 [r267] Stelian Pop <st...@la...> + + * safekeep/trunk/debian/docs (added), safekeep/trunk/debian/rules, + safekeep/trunk/Makefile, safekeep/trunk/safekeep.spec.in (added), + safekeep/trunk/debian/dirs: Packaging (rpm and deb) enhancements: + - first version of safekeep.spec.in - install documentations + (AUTHORS, README, LICENSE, etc) - use $(name) in Makefile instead + of safekeep when possible + +2006-12-27 21:21 +0000 [r266] Dimi Paun <di...@la...> + + * safekeep/trunk/debian/rules, safekeep/trunk/Makefile, + safekeep/trunk/README, safekeep/trunk/debian/changelog.in, + safekeep/trunk/sample.cfg, safekeep/trunk/safekeep-test, + safekeep/trunk/LICENSE, safekeep/trunk/debian/control, + safekeep/trunk/safekeep, safekeep/trunk/AUTHORS: Rename LaBackup + to SafeKeep, using the following rules: - in natural language, it + is spelled SafeKeep - the binary, package, dirs, etc. are all + lower case: safekeep This follows the pattern used by + SpamAssassin. Please note that the files have been manipulated in + the CVS repo to maintain the history. The new CVS module is + called 'SafeKeep', the old 'LaBackup' module still exists in CVS + as read-only. + +2006-12-27 20:50 +0000 [r265] Dimi Paun <di...@la...> + + * safekeep/trunk/LICENSE (added), safekeep/trunk/AUTHORS (added), + safekeep/trunk/COPYING (added): Add OSS structure + +2006-12-27 20:39 +0000 [r264] Dimi Paun <di...@la...> + + * safekeep/trunk/README, safekeep/trunk/safekeep: Add protocol + versioning. + +2006-12-24 17:04 +0000 [r263] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Pass the default id to the client as + well. + +2006-12-20 03:55 +0000 [r262] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Make use of our wrapper spawn() + function. + +2006-12-20 03:46 +0000 [r261] Dimi Paun <di...@la...> + + * safekeep/trunk/Makefile: Replace the '+' in the snapshot version + with '.', the '+' is too unusual. Report the date in UTC to avoid + the need for a timezone. Don't separate time from date to create + one nr for the snapshot id. + +2006-12-20 03:40 +0000 [r260] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Get rid of extranous white space at end + of line + +2006-12-20 03:36 +0000 [r259] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Capture stdout and stderr of child + processes and redirect it to the logs + +2006-12-19 05:50 +0000 [r258] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Exclude /etc/mtab and /etc/lvm + during backup, they change during snapshotting + +2006-12-19 05:36 +0000 [r257] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add ability to pass extra args to + LaBackup, such as -vv flags for debugging + +2006-12-19 05:30 +0000 [r256] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add parameter to control nr of test + iterations + +2006-12-19 05:29 +0000 [r255] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix typo + +2006-12-19 01:34 +0000 [r254] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Rerooting the paths on the rbind root + requires special attention + +2006-12-19 01:27 +0000 [r253] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix snapshot syntax and enable + snapshots during testing. + +2006-12-14 04:49 +0000 [r252] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix typo + +2006-12-14 04:45 +0000 [r251] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Always reset the known_hosts file + +2006-12-14 04:32 +0000 [r250] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Always reset the host file + +2006-12-14 04:21 +0000 [r249] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Be a bit more explicit + +2006-12-14 04:19 +0000 [r248] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix typo + +2006-12-14 04:07 +0000 [r247] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix typo + +2006-12-14 04:05 +0000 [r246] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add support for deploying to + multiple distros + +2006-12-14 04:03 +0000 [r245] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add automatic distribution + detection + +2006-12-14 03:49 +0000 [r244] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Use a more distinctive name for the + devel repo + +2006-12-14 03:26 +0000 [r243] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Bunch of little fixes + +2006-12-14 02:57 +0000 [r242] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: If the client is remote (that is, we + have a host), we must have a username and an identity file, so + reflect that in the code by removing all the code testing for + their existance. + +2006-12-14 02:46 +0000 [r241] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Use the default user too + +2006-12-14 02:45 +0000 [r240] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Use the default key for ctrl to + test that portion of the code + +2006-12-14 02:42 +0000 [r239] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Always perform the LVM check for + now + +2006-12-14 02:42 +0000 [r238] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Check for removed --rbinds + +2006-12-14 02:40 +0000 [r237] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Mark the rbind dir so we can later find + it easily + +2006-12-14 02:32 +0000 [r236] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add conditional snapshotting + +2006-12-14 02:23 +0000 [r235] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Mark TODOs clearly + +2006-12-14 02:21 +0000 [r234] Dimi Paun <di...@la...> + + * safekeep/trunk/README: More instructions. + +2006-12-14 02:21 +0000 [r233] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Ensure RDBMSes are installed and + running + +2006-12-13 04:43 +0000 [r232] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Ignore clients that don't have proper + keys + +2006-12-13 04:39 +0000 [r231] Dimi Paun <di...@la...> + + * safekeep/trunk/README (added): Add a small README with info about + the full test + +2006-12-13 04:37 +0000 [r230] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add client automatically to the + server's /etc/hosts + +2006-12-13 04:08 +0000 [r229] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Move fingerprint setup in the + server section + +2006-12-13 04:00 +0000 [r228] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Automatically deploy client's + fingerprint to the server so we avoid any kind of interactivity + during key management. + +2006-12-13 03:24 +0000 [r227] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add support for local commands to + all helper functions. Take over client before we take over the + server. + +2006-12-12 05:21 +0000 [r226] Dimi Paun <di...@la...> + + * safekeep/trunk/Makefile: Rename testfull to fulltest, it's easier + on the tongue. + +2006-12-12 05:20 +0000 [r225] Dimi Paun <di...@la...> + + * safekeep/trunk/debian/rules: Rename /etc/LaBackup to + /etc/LaBackup.d + +2006-12-12 05:16 +0000 [r224] Dimi Paun <di...@la...> + + * safekeep/trunk/debian/rules, safekeep/trunk/Makefile, + safekeep/trunk/debian/changelog.in, safekeep/trunk/sample.cfg, + safekeep/trunk/safekeep-test, safekeep/trunk/debian/control, + safekeep/trunk/safekeep: Standardize capitalization to + 'LaBackup'. Rename /etc/labackuip --> /etc/LaBackup.d + +2006-12-12 04:49 +0000 [r223] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Backup /srv instead of /var, there + we have too many files changing. Exclude a few problematic files + from the backup. Small misc fixes. + +2006-12-11 19:05 +0000 [r222] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Make the MD5 sums gathered on + client and server as simialar as possible in terms of the + filenames + +2006-12-11 04:21 +0000 [r221] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Prepare the server to receive the + data; better tracing + +2006-12-11 03:55 +0000 [r220] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix copy&paste bug + +2006-12-11 03:46 +0000 [r219] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Install/upgrade appropriately. Also + make sure to blow the cache away to we get the latest + +2006-12-11 03:35 +0000 [r218] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: We renamed the key-{ctrl,data} to + key_{ctrl,data} + +2006-12-11 03:33 +0000 [r217] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Do not attempt to cleanup non-existant + dir + +2006-12-11 03:31 +0000 [r216] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Make package optional, and turn it + off by default. + +2006-12-11 03:28 +0000 [r215] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Tiny fix + +2006-12-11 02:56 +0000 [r214] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Now we have LaBack in repo, install + it + +2006-12-11 02:55 +0000 [r213] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Build, sign and deploy the .rpm + +2006-12-11 01:45 +0000 [r212] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Deploty the server's ID to the + cliend a bit smarter, so we don't keep on adding it ad-infinitum. + +2006-12-11 01:40 +0000 [r211] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Getting rid of the .ssh dir is not + a good idea as we lose access to the box + +2006-12-11 01:38 +0000 [r210] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add the key blindly to make sure we + have it, and we are asked the passwd only once. + +2006-12-11 01:32 +0000 [r209] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix typo + +2006-12-11 01:31 +0000 [r208] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Use the new func to reimplement + writefile() + +2006-12-11 01:29 +0000 [r207] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add function that supports feeding + input to the remote command + +2006-12-11 01:28 +0000 [r206] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Generate a server id file, and + install it on client. Then install the control and data keys via + key management functionality. + +2006-12-10 19:48 +0000 [r205] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Nicer key naming for test server + +2006-12-10 19:05 +0000 [r204] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Introduce a --status action for the + --keys mode, and made it default. It displays the key status + (e.g. what will happen on --deploy) for each of the named + clients. Fix a few bugs left over in the key management code. + +2006-12-10 08:00 +0000 [r203] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Remove debug statement + +2006-12-10 07:56 +0000 [r202] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Remember the original line and feed that + to the client + +2006-12-10 07:54 +0000 [r201] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Render the keys back to text form + +2006-12-10 07:51 +0000 [r200] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Actually returned the parsed keys + +2006-12-10 07:50 +0000 [r199] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Implement parse_authorized_keys() + function. Disable agent forwarding for the commands we are + running on clients. + +2006-12-10 00:36 +0000 [r198] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Never return non-zero exit code + +2006-12-09 22:07 +0000 [r197] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Better key comment + +2006-12-09 22:04 +0000 [r196] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Automatically generate keys if they + don't exist. Rename some variables for clarity. + +2006-12-09 21:36 +0000 [r195] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: On the server side, tracing information + should go to the stderr. + +2006-12-09 21:35 +0000 [r194] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Better tracing + +2006-12-09 21:31 +0000 [r193] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Better error reporting + +2006-12-09 21:28 +0000 [r192] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Get rid of the --clientid option, pass + the ids, if any, as arguments. Handle all clients if no id was + specified on the command line. + +2006-12-09 06:29 +0000 [r191] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Smartly deploy keys to the client (in an + idempotentic manner) + +2006-12-09 06:01 +0000 [r190] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: No need to restrict by host, it + overcomplicates things + +2006-12-09 05:59 +0000 [r189] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Output all key lines at once + +2006-12-09 05:56 +0000 [r188] Dimi Paun <di...@la...> + + * safekeep/trunk/sample.cfg, safekeep/trunk/safekeep-test, + safekeep/trunk/safekeep: Rename key/key2 to key_ctrl/key_data + respectively + +2006-12-09 05:48 +0000 [r187] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Provide default values for key and key2 + +2006-12-08 05:34 +0000 [r186] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Replace ssh-copy-id with our own + (better) implementation. Fix a nasty copy & paste bug, better + tracing. + +2006-12-08 04:58 +0000 [r185] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Better trace + +2006-12-08 04:56 +0000 [r184] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix copy & paste error + +2006-12-08 04:54 +0000 [r183] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Factor out capturing of output from + remote host + +2006-12-08 04:49 +0000 [r182] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: More verbosity, add missing mode + +2006-12-08 04:41 +0000 [r181] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add readfile() abstraction (able to + read content from remote hosts as well), and make use of it + +2006-12-08 04:33 +0000 [r180] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Install the key in backup-op's home + dir, not in root's dir. Lighter quoting, we don't need to be so + strict. + +2006-12-08 04:27 +0000 [r179] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Do not attempt to get LaBackup via + yum for now, it's not available just yet + +2006-12-07 22:32 +0000 [r178] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix typo + +2006-12-07 22:31 +0000 [r177] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Take over the client & server + unconditionally, so we have less chances of breakaage in the test + +2006-12-07 20:28 +0000 [r176] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Quote remote commands properly + +2006-12-07 20:14 +0000 [r175] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix the command generation now that + we abstracted away mkssh() + +2006-12-07 16:51 +0000 [r174] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix typo, and declare + ssh_id_file_keys as global + +2006-12-07 16:47 +0000 [r173] Dimi Paun <di...@la...> + + * safekeep/trunk/Makefile: Add ability to invoke test via the + Makefile + +2006-12-07 16:46 +0000 [r172] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Avoid errors on non-existant + environment variables + +2006-12-07 16:37 +0000 [r171] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Provide decent company wide + defaults for LaBackup test boxes + +2006-12-07 16:35 +0000 [r170] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Read the client/server address from + the environment if available + +2006-12-07 16:27 +0000 [r169] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Separate rcmd from rpipe for + clarity. Allow them to return the exit status if no description + is passed it + +2006-12-07 16:21 +0000 [r168] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add comment on what we need to do + to get rid of ssh-copy-id + +2006-12-07 15:26 +0000 [r167] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Try to guess SSH id files/keys + automatically + +2006-12-07 14:26 +0000 [r166] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Allow ability to specify identity + file + +2006-12-07 14:19 +0000 [r165] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix a bunch of obvious bugs + +2006-12-05 05:16 +0000 [r164] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Remove extraneous line + +2006-12-05 05:15 +0000 [r163] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Allow for specifying the address of + the client and server in the remote test + +2006-12-05 05:11 +0000 [r162] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: For now, run the full test only for + 2 interations + +2006-12-05 05:10 +0000 [r161] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Remove stale arg + +2006-12-05 04:58 +0000 [r160] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Create the base .cfg file for the + full test. Small cleanups and reorgs. + +2006-12-05 04:42 +0000 [r159] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test, safekeep/trunk/safekeep: Implement + the --print flag for the --keys mode. + +2006-12-05 04:39 +0000 [r158] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Install the keys on the client. + +2006-12-05 04:31 +0000 [r157] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Merge the lbc-copy-id script into + LaBackup. + +2006-12-05 04:27 +0000 [r156] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Better id + +2006-12-05 04:26 +0000 [r155] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Merge key management into LaBackup + +2006-12-05 03:49 +0000 [r154] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Refactor the parsing code to a separate + function + +2006-12-05 02:23 +0000 [r153] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix typo + +2006-12-05 02:23 +0000 [r152] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Reorg help output, add more checks + +2006-12-05 02:03 +0000 [r151] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix glob pattern + +2006-12-05 01:36 +0000 [r150] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Fix typo + +2006-12-04 06:09 +0000 [r149] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Compute the MD5 sums of all files + that were backed up + +2006-12-04 06:08 +0000 [r148] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Implement big chunk of remote test + +2006-12-04 05:57 +0000 [r147] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add ability to pipe from one remote + machine to another + +2006-12-04 05:39 +0000 [r146] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Create files on client + +2006-12-04 05:35 +0000 [r145] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add support for creating file on a + remote machine as well + +2006-12-03 21:38 +0000 [r144] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Add start for test-remote, plus + document remaining steps to accomplish + +2006-12-03 19:21 +0000 [r143] Mihai Popa <mi...@la...> + + * safekeep/trunk/safekeep-test: fix comments + +2006-12-03 18:26 +0000 [r142] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Just do 2 iterations for the local + test, we don't need more + +2006-12-03 18:25 +0000 [r141] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Make the database name optional, and + dump all databases if it's not specified. + +2006-12-03 18:05 +0000 [r140] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: We are ready for a 0.1.0 release + +2006-12-03 17:48 +0000 [r139] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Add support for controlling the + verbosity level both on client and server + +2006-12-03 17:17 +0000 [r138] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Invert the meaning of the client/server + flag + +2006-12-03 17:11 +0000 [r137] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Move function in more appropriate place + +2006-12-03 17:10 +0000 [r136] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Log the data in the correct format + directly on the client side + +2006-12-03 17:03 +0000 [r135] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Get rid of trailing whitespace in lines + we read from a file + +2006-12-03 17:02 +0000 [r134] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Lighter output + +2006-12-03 17:02 +0000 [r133] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Turn the logbuf into a list for + performance reasons + +2006-12-03 17:00 +0000 [r132] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Wait a bit between tests, + rdiff-backup can't run within the same second + +2006-12-03 16:47 +0000 [r131] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Don't bother setting the remote schema + if we don't have a host + +2006-12-03 16:43 +0000 [r130] Dimi Paun <di...@la...> + + * safekeep/trunk/Makefile: Add help info for test + +2006-12-03 16:42 +0000 [r129] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Don't recreate things unnecessarily + in between tests + +2006-12-03 15:41 +0000 [r128] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep-test: Correctly compute the MD5 sums + +2006-12-03 15:36 +0000 [r127] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Do not assume the rdiff-backup-data dir + always exists + +2006-12-03 15:33 +0000 [r126] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Do not default host and user to + localhost and root, simply run the backup in local mode if not + present. Debug and logging enhancements. + +2006-12-03 05:41 +0000 [r125] Dimi Paun <di...@la...> + + * safekeep/trunk/Makefile, safekeep/trunk/safekeep-test (added): + Add testing harness + +2006-12-02 23:15 +0000 [r124] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Small syntax fix + +2006-12-02 20:28 +0000 [r123] Eduard Malinschi <ed...@la...> + + * safekeep/trunk/sample.cfg: update comments + +2006-12-02 00:39 +0000 [r122] Dimi Paun <di...@la...> + + * safekeep/trunk/sample.cfg: Fix sample.cfg + +2006-11-30 06:07 +0000 [r121] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Properly quote command passed to 'su -c' + +2006-11-30 06:01 +0000 [r120] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Whitespace fix + +2006-11-30 06:00 +0000 [r119] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Don't bother with fancy error handling + on server, client knows to cleanup after itself in case it loses + connection with the server. + +2006-11-30 05:58 +0000 [r118] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Move rdiff-backup logs handling closer + to where it's needed + +2006-11-30 05:56 +0000 [r117] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Remove the BDIR protocol command, do + everything in SETUP. This way we can atomically create and test + if we can --rbind the bdir. Move sending of reposes from client + to server in the main client loop. Allow for bdir to simply be + '/' if we don't need a temporary root. Create a temporarry root + in bdir only if we have snapshots. Fix a bunch more of path and + string manipulations. + +2006-11-30 04:41 +0000 [r116] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Rename the '<dir>' element to '<repo>' + for clarity. Add a 'retention' attribute to '<repo>' that + controls the amount of time data will be retained in the repo. + +2006-11-30 04:27 +0000 [r115] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: More path handling cleanups + +2006-11-30 03:49 +0000 [r114] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Dump the backup.log and statistics file. + +2006-11-30 03:33 +0000 [r113] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: We now separate server/client output by + case + +2006-11-30 03:31 +0000 [r112] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Add support function to dump content of + file to logs + +2006-11-30 03:26 +0000 [r111] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Move send_notification to a more + appropriate portion of the file + +2006-11-30 03:25 +0000 [r110] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Tiny clarification. + +2006-11-30 03:24 +0000 [r109] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Support multiple email addresses. Small + fixes for the help output. + +2006-11-29 21:59 +0000 [r108] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Factor out the logging of data into one + function called log(). Rename the log buffer to logbuf. Better + display of messages from client. + +2006-11-29 21:46 +0000 [r107] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: ERROR is a reserved word + +2006-11-29 19:05 +0000 [r106] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Follow the smtplib convention for + missing SMTP host + +2006-11-29 18:32 +0000 [r105] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: A bit more clear message + +2006-11-29 18:31 +0000 [r104] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Factor out email notifications from + server business. Handle all exceptions at the higher level. + +2006-11-29 16:40 +0000 [r103] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Small cleanup + +2006-11-29 04:42 +0000 [r102] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Encode the instance information in the + snapshot name + +2006-11-29 04:39 +0000 [r101] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Add missing param + +2006-11-29 04:38 +0000 [r100] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Refactor snapshot info handling in one + function. Use the long option names where possible for clarity. + Small cleanups. + +2006-11-29 04:15 +0000 [r99] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Factor out process spawning. + +2006-11-29 02:53 +0000 [r98] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: More standard handling of paths, and a + few little cleanups. + +2006-11-28 05:56 +0000 [r97] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix error in cleanup logic, rename + variable for readability. + +2006-11-28 05:50 +0000 [r96] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: We don't snapshot without a bdir + +2006-11-28 05:48 +0000 [r95] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Better error handling and dealing with + no bind-dir in client cleanup. + +2006-11-28 05:37 +0000 [r94] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Abstract the sending of the data a bit + +2006-11-28 05:30 +0000 [r93] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Bit cleaner error reporting + +2006-11-28 01:18 +0000 [r92] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: This is a config file problem + +2006-11-28 01:16 +0000 [r91] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Make the --rbind optional, just skip the + snapshots if we don't have it + +2006-11-28 01:05 +0000 [r90] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: We no longer crap out of DB dump + +2006-11-28 01:01 +0000 [r89] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Cleanup error handling and logging for + snapshot setup and teardown. + +2006-11-19 21:52 +0000 [r88] Stelian Pop <st...@la...> + + * safekeep/trunk/debian/changelog.in: gpg does a full string search + on the email. + +2006-11-19 21:49 +0000 [r87] Stelian Pop <st...@la...> + + * safekeep/trunk/debian/changelog.in: Use de...@la... so + debuild will automatically sign the package + +2006-11-19 21:46 +0000 [r86] Stelian Pop <st...@la...> + + * safekeep/trunk/Makefile: '_' is a reserved character in DEB + package naming, try with '+' + +2006-11-19 21:41 +0000 [r85] Stelian Pop <st...@la...> + + * safekeep/trunk/debian/rules, safekeep/trunk/Makefile: Now make it + also work... + +2006-11-19 21:18 +0000 [r84] Stelian Pop <st...@la...> + + * safekeep/trunk/Makefile (added): Add a central Makefile which + facilitates the build. + +2006-11-19 21:17 +0000 [r83] Stelian Pop <st...@la...> + + * safekeep/trunk/debian/copyright (added), + safekeep/trunk/debian/rules (added), + safekeep/trunk/debian/changelog.in (added), safekeep/trunk/debian + (added), safekeep/trunk/debian/control (added), + safekeep/trunk/debian/dirs (added), safekeep/trunk/safekeep, + safekeep/trunk/debian/compat (added): RPM and DEB packaging, all + with a global Makefile. + +2006-11-08 08:57 +0000 [r82] Stelian Pop <st...@la...> + + * safekeep/trunk/sample.cfg: Correct some typos. + +2006-11-08 05:04 +0000 [r81] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Add a new option: -C, --cfg=<file|dir> + If the argument is a filename, it will use it as a configuration + file. No attention is payed to the extension. If it is a + directory, it will scan it for files that have the extension + .cfg, and use those as configuration files. If no such + configuration option is present on the command line, the program + simply scans '/etc/labackup' for .cfg files, as before. (It + behaves as if it was involved with -C /etc/labackup). + +2006-11-06 21:03 +0000 [r80] Eduard Malinschi <ed...@la...> + + * safekeep/trunk/sample.cfg: changed comment style + +2006-11-05 21:16 +0000 [r79] Eduard Malinschi <ed...@la...> + + * safekeep/trunk/sample.cfg: Added comments to the config file + +2006-11-01 21:47 +0000 [r78] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Let the user specify (using -m/--smtp + command line options) the mail server to use when sending mails. + +2006-11-01 21:39 +0000 [r77] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Include hostname in the subject of + emails from LaBackup. + +2006-10-30 14:07 +0000 [r76] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Doh. lvcreate/lvremove prefer the + /dev/<group>/<volume> syntax over the + /dev/mapper/<group>-<volume> one. + +2006-10-30 03:26 +0000 [r75] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Replace more of the leftover symbols + +2006-10-30 03:04 +0000 [r74] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix some leftover code + +2006-10-29 23:24 +0000 [r73] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Accept both + '/dev/mapper/<group>-<volume>' and '/dev/<group>/<volume>' + syntaxes for LVM snapshotting. + +2006-10-16 21:01 +0000 [r72] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Add a proper subject: header to the + notification email. + +2006-10-16 20:44 +0000 [r71] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Whitespace cleanups. + +2006-10-16 20:43 +0000 [r70] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Implement email notifications. + +2006-10-01 00:48 +0000 [r69] Mihai Popa <mi...@la...> + + * safekeep/trunk/safekeep: remove typo ? not sure how it got there + in the first place + +2006-07-17 04:02 +0000 [r68] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Issue warnings instead of crashing + during DB dumping process. + +2006-07-17 04:00 +0000 [r67] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Separate the DB user from the Unix user, + make them both optional. If Unix user is specified, run the dump + command as that user. This way we don't require to implement + "trust" policy for users. + +2006-07-13 19:16 +0000 [r66] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Test the DB type, not database instance + name. + +2006-07-13 19:14 +0000 [r65] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Always cleanup before exiting the + client. + +2006-07-13 18:36 +0000 [r64] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Catch errors early on. + +2006-07-13 18:33 +0000 [r63] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Mark config errors differently, they are + user errors. + +2006-07-13 18:10 +0000 [r62] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Avoid asserts, be explicit about the + problem. + +2006-07-13 17:47 +0000 [r61] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Use recommended popen() calls. + +2006-07-13 17:13 +0000 [r60] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Force the remove of the snapshot, + otherwise we get prompted. + +2006-07-13 17:12 +0000 [r59] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: read the config file only once, to avoid + races. Fix syntax for splice operation. + +2006-07-13 17:02 +0000 [r58] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Default the id to the filename of the + config file. Factor out the config extension into a constant. + +2006-07-13 16:56 +0000 [r57] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Pick a more direct name for the dev->mp + function. + +2006-07-13 16:28 +0000 [r56] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Fix /proc/mount parsing. + +2006-07-13 16:26 +0000 [r55] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Another try at fixing snap paths. + +2006-07-13 16:16 +0000 [r54] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Don't use '-snap' because we replace - + with / later... + +2006-07-13 16:10 +0000 [r53] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Deduct mountpoint from /dev/mapper/ + specification. + +2006-07-13 15:53 +0000 [r52] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Correct mount point (its the third + element in 'mount'). + +2006-07-13 15:42 +0000 [r51] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Read the mount points from the output of + mount, /proc/mounts does not least the LVM volumes on certain + kernels. + +2006-07-13 14:29 +0000 [r50] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Go back to a single client instance, it + was a bad idea to separate SETUP and CLEANUP Add a separate BDIR + command to create the backup dir Implement the mount --rbind + thingie Finish the LVM snapshot implementation using the mount + --rbind namespace (not tested...) Cleanup the info/error messages + Threat the client errors in the client's while loop (we don't + want to exit the client on errors) + +2006-07-13 10:35 +0000 [r49] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Make the temp dir name part of the + client/server protocol. Client generates it in SETUP and returns + it to the server, which passes it back to the client in the + CLEANUP command. + +2006-07-13 10:17 +0000 [r48] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Factorized some code Make separate + invocations for setup and cleanup to ease cleanups in case of + errors + +2006-07-13 03:57 +0000 [r47] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Remove the client-side semaphore, rely + on a second key to be used by rdiff-backup for the data-channel. + +2006-07-13 03:54 +0000 [r46] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Revert inocent refactoring, it's + breaking the code for mysterious reasons (I'm willing to pay + money for a good explanation) + +2006-07-13 03:19 +0000 [r45] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Remove unused code + +2006-07-13 03:17 +0000 [r44] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Refactor the client backup bit into its + own function. + +2006-07-13 03:13 +0000 [r43] Dimi Paun <di...@la...> + + * safekeep/trunk/sample.cfg, safekeep/trunk/safekeep: Add the + (optional) second key to be used by rdiff-backup. Build the + remote-schema for rdiff-backup explicitely, don't rely on the + default one. + +2006-07-12 22:20 +0000 [r42] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Remove redundant exit + +2006-07-12 22:01 +0000 [r41] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix slice for good + +2006-07-12 21:36 +0000 [r40] Dimi Paun <di...@la...> + + * safekeep/trunk/sample.cfg, safekeep/trunk/safekeep: Allow for an + explicit identity file/public key. + +2006-07-12 21:11 +0000 [r39] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Make expandtab automatic for the one + true editor. + +2006-07-12 21:06 +0000 [r38] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Retab to avoid ugly diffs. + +2006-07-12 21:04 +0000 [r37] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix slice, simplify code a bit. + +2006-07-12 20:35 +0000 [r36] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Make the <dir> optional. Fix the + traceback. + +2006-07-12 20:16 +0000 [r35] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix indentation + +2006-07-12 19:57 +0000 [r34] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Use exceptions consistently throughout + the code when dealing with problems (instead of the fatal() + routine). Handle exceptions centrally, at the outer layer. Use + Python's try/finally statement to handle cleanup. + +2006-07-12 19:35 +0000 [r33] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Separate the protocol for the config + file format. Reorganize the code a bit as a result. + +2006-07-12 18:17 +0000 [r32] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Make good use of the log() function. Add + a fatal() funtion, similar to log(), taht quits the app. Add + ability to log exceptions with tracebacks. + +2006-07-12 17:57 +0000 [r31] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: More Pythoneque comparisons. + +2006-07-12 17:50 +0000 [r30] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Exclude by default stuff that is not + explicitly included. More debugging code. + +2006-07-12 17:43 +0000 [r29] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Default the 'dir' to the 'id' of the + backup job. + +2006-07-12 17:40 +0000 [r28] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Default 'host' to localhost. More + pythonesque comparison. + +2006-07-12 17:39 +0000 [r27] Dimi Paun <di...@la...> + + * safekeep/trunk/sample.cfg, safekeep/trunk/safekeep: Remove the + 'root' attribute, always use '/'. It is not useful without a way + to control destination directory. + +2006-07-12 04:07 +0000 [r26] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Unify handling of the + <include>/<exclude> directives so that we can easily maintain + their relative order. + +2006-07-11 18:26 +0000 [r25] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: It almost always make sense to run the + client as root, so default the user name to 'root'. + +2006-07-11 16:25 +0000 [r24] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Use manual read()/write() instead of + pexpect methods, the pexpect module is not standard in RHEL4. + +2006-07-11 15:53 +0000 [r23] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Make the <setup> element optional for + the config file. + +2006-07-11 15:50 +0000 [r22] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Dump the traceback for easier debugging. + +2006-07-11 15:42 +0000 [r21] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Use a temporary directory instead of + /mnt for mounting LVM snapshots + +2006-07-11 14:44 +0000 [r20] Stelian Pop <st...@la...> + + * safekeep/trunk/sample.cfg, safekeep/trunk/safekeep: Implemented + LVM snapshots. Changed the 'volume' attribute to 'device' and + added the 'size' attribute. + +2006-07-11 11:20 +0000 [r19] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Implement --include/--exclude options. + +2006-07-11 09:16 +0000 [r18] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Final retab. + +2006-07-11 09:14 +0000 [r17] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Combine hard tabs with spaces. + +2006-07-11 09:08 +0000 [r16] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Retab with 4 spaces instead of real + tabs. + +2006-07-11 08:46 +0000 [r15] Stelian Pop <st...@la...> + + * safekeep/trunk/sample.cfg (added): Sample config file for + LaBackup + +2006-07-11 08:45 +0000 [r14] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Fix Dimi's changes. + +2006-07-11 04:42 +0000 [r13] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Make 'root' be an attribute to <data> + rather then an element inside it. + +2006-07-11 04:39 +0000 [r12] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Add dump implementation. Add 'user' + (optional) attribute to <dump> to specify the database user to + connect as. It may also need to support an option 'passwd' + attribute too. + +2006-07-10 23:14 +0000 [r11] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Introduce a new attribute to <dump> + called cleanup. Default it to false, must be explicitily set to + true for the dump to be deleted after the backup. Remove the dump + file for the ones requesting cleanup of exit. + +2006-07-10 16:18 +0000 [r10] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Use 'id' for presentation purposes. + +2006-07-10 15:58 +0000 [r9] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Client/server works now Implemented the + new style config file. + +2006-07-07 12:37 +0000 [r8] Stelian Pop <st...@la...> + + * safekeep/trunk/safekeep: Half-implemented the client/server + protocol. It does not work yet... + +2006-07-03 15:47 +0000 [r7] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Fix indentation and cleanups. + +2006-07-03 15:42 +0000 [r6] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Outout errors to stderr. + +2006-07-03 15:32 +0000 [r5] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: This is a python file, it's text. + +2006-07-03 15:31 +0000 [r4] Dimi Paun <di...@la...> + + * safekeep/trunk/.project: We no longer need yaml. + +2006-07-03 15:31 +0000 [r3] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep: Switch from yaml to xml to avoid + dependence on non-standard lib. + +2006-07-03 06:32 +0000 [r2] Dimi Paun <di...@la...> + + * safekeep/trunk/safekeep (added), safekeep/trunk/.project (added): + Add first cut at our backup script. + +2006-07-03 06:32 +0000 [r1] Dimi Paun <di...@la...> + + * safekeep/tags (added), safekeep (added), safekeep/trunk (added), + safekeep/branches (added): New repository initialized by cvs2svn. + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-31 15:55:19
|
Revision: 342 http://safekeep.svn.sourceforge.net/safekeep/?rev=342&view=rev Author: dimi Date: 2007-01-31 07:55:06 -0800 (Wed, 31 Jan 2007) Log Message: ----------- Make the reports look a bit more interesting. Modified Paths: -------------- safekeep/trunk/safekeep.cron Modified: safekeep/trunk/safekeep.cron =================================================================== --- safekeep/trunk/safekeep.cron 2007-01-31 15:21:00 UTC (rev 341) +++ safekeep/trunk/safekeep.cron 2007-01-31 15:55:06 UTC (rev 342) @@ -2,5 +2,5 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin -sudo -H -u safekeep safekeep --server +sudo -H -u safekeep safekeep -v --server This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-31 15:24:09
|
Revision: 341 http://safekeep.svn.sourceforge.net/safekeep/?rev=341&view=rev Author: dimi Date: 2007-01-31 07:21:00 -0800 (Wed, 31 Jan 2007) Log Message: ----------- Install a daily cron task for safekeep Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Added Paths: ----------- safekeep/trunk/safekeep.cron Added: safekeep/trunk/safekeep.cron =================================================================== --- safekeep/trunk/safekeep.cron (rev 0) +++ safekeep/trunk/safekeep.cron 2007-01-31 15:21:00 UTC (rev 341) @@ -0,0 +1,6 @@ +#!/bin/sh + +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +sudo -H -u safekeep safekeep --server + Property changes on: safekeep/trunk/safekeep.cron ___________________________________________________________________ Name: svn:executable + * Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-30 19:31:43 UTC (rev 340) +++ safekeep/trunk/safekeep.spec.in 2007-01-31 15:21:00 UTC (rev 341) @@ -67,6 +67,8 @@ %install install -d -m 755 "%{buildroot}%{_sysconfdir}/safekeep.d" +install -d -m 755 "%{buildroot}%{_sysconfdir}/cron.daily" +install -m 755 safekeep.cron "%{buildroot}%{_sysconfdir}/cron.daily" install -d -m 755 "%{buildroot}%{_bindir}/" install -m 755 safekeep "%{buildroot}%{_bindir}/" install -d -m 755 "%{buildroot}%{_mandir}/man1/" @@ -98,6 +100,7 @@ %attr(750,%{name},%{name}) %dir %{homedir} %attr(700,%{name},%{name}) %dir %{homedir}/.ssh %dir %{_sysconfdir}/safekeep.d +%config %{_sysconfdir}/cron.daily/safekeep.cron %doc safekeep-test sample.conf %doc AUTHORS COPYING LICENSE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 19:31:45
|
Revision: 340 http://safekeep.svn.sourceforge.net/safekeep/?rev=340&view=rev Author: dimi Date: 2007-01-30 11:31:43 -0800 (Tue, 30 Jan 2007) Log Message: ----------- Use the regular logging functions to complain about ignored files Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2007-01-30 19:21:11 UTC (rev 339) +++ safekeep/trunk/safekeep 2007-01-30 19:31:43 UTC (rev 340) @@ -227,7 +227,7 @@ if os.path.isdir(cfg): for ent in os.listdir(cfg): if not ent.endswith(config_ext): - print >> sys.stderr, 'Ignoring file %s not ending in %s' % (os.path.join(cfg, ent), config_ext) + warn('Ignoring file %s not ending in %s' % (os.path.join(cfg, ent), config_ext)) continue filepath = os.path.join(cfg, ent) if not os.path.isfile(filepath): @@ -236,7 +236,7 @@ elif os.path.isfile(cfg): cfgfiles.append(cfg) else: - print >> sys.stderr, 'Inaccessible configuration, ignoring:', cfg + warn('Inaccessible configuration, ignoring: %s' % cfg) cfgs = {} for filepath in cfgfiles: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 19:21:18
|
Revision: 339 http://safekeep.svn.sourceforge.net/safekeep/?rev=339&view=rev Author: dimi Date: 2007-01-30 11:21:11 -0800 (Tue, 30 Jan 2007) Log Message: ----------- Make use of the standard safekeep user instead of inventing our own backup-op user. Modified Paths: -------------- safekeep/trunk/safekeep-test Modified: safekeep/trunk/safekeep-test =================================================================== --- safekeep/trunk/safekeep-test 2007-01-30 17:15:19 UTC (rev 338) +++ safekeep/trunk/safekeep-test 2007-01-30 19:21:11 UTC (rev 339) @@ -218,8 +218,8 @@ rcmd(cmd, 'root', host, 'install safekeep') def createKey(user, host, keyname, comment): - key = '/home/%s/.ssh/%s' % (user, keyname) - cmd = 'test -f %s || ssh-keygen -q -b 1024 -t dsa -N \'\' -c \'%s\' -f %s' % (key, comment, key) + key = '.ssh/%s' % keyname + cmd = 'test -f %s || ssh-keygen -q -b 1024 -t dsa -N \'\' -C \'%s\' -f %s' % (key, comment, key) rcmd(cmd, user, host, 'create %s on server' % keyname) return key @@ -300,20 +300,20 @@ takeOver(server, 'server', verrel) # setup the server + cmd = 'chsh -s /bin/bash safekeep' + rcmd(cmd, 'root', server, 'Allow access to the safekeep account') client_addr = socket.gethostbyname(client) if client_addr != client: cmd = '(grep -iv %s /etc/hosts; echo "%s %s") > /etc/hosts.new; mv -f /etc/hosts.new /etc/hosts' % (client, client_addr, client) rcmd(cmd, 'root', server, 'install the client name in /etc/hosts') - cmd = 'useradd backup-op || true' - rcmd(cmd, 'root', server, 'create backup-op user') - cmd = 'cd ~backup-op; umask 077; test -d .ssh || mkdir .ssh; ' + \ + cmd = 'cd ~safekeep; ' + \ 'cp /root/.ssh/authorized_keys .ssh/authorized_keys; ' + \ - 'chown -R backup-op.backup-op .ssh' - rcmd(cmd, 'root', server, 'install key for backup-op user') - key_id = createKey('backup-op', server, 'id_dsa', 'SafeKeep server ID') - key_ctrl = createKey('backup-op', server, 'safekeep-server-ctrl-key', 'SafeKeep server control key') - key_data = createKey('backup-op', server, 'id-safekeep-data-key', 'SafeKeep server data key') + 'chown -R safekeep.safekeep .ssh' + rcmd(cmd, 'root', server, 'install key for the safekeep user') + key_id = createKey('safekeep', server, 'id_dsa', 'SafeKeep server ID') + key_ctrl = createKey('safekeep', server, 'safekeep-server-ctrl-key', 'SafeKeep server control key') + key_data = createKey('safekeep', server, 'id-safekeep-data-key', 'SafeKeep server data key') cmd = 'if ! rpm -q postgresql-server; then p=postgresql-server; fi; ' + \ 'if ! rpm -q mysql-server; then p="$p mysql-server"; fi; ' + \ @@ -327,7 +327,7 @@ fingerprint = rcmdout(cmd, None, None, 'read the client fingerprint') if fingerprint: cmd = '(if test -f .ssh/known_hosts; then grep -iv %s .ssh/known_hosts; fi; cat) > .ssh/known_hosts.new; mv -f .ssh/known_hosts.new .ssh/known_hosts' % (client, ) - rcmdin(cmd, fingerprint, 'backup-op', server, 'deploy client fingerprint on server') + rcmdin(cmd, fingerprint, 'safekeep', server, 'deploy client fingerprint on server') snap_conf = '' if perform_snapshots: @@ -335,7 +335,7 @@ conf = """ <backup id="test-client"> <host name="%s" key-data="%s" /> - <repo path="/home/backup-op/client/data" retention="5h"/> + <repo path="/var/lib/safekeep/client/data" retention="5h"/> <setup> %s </setup> @@ -352,22 +352,22 @@ writefile('/etc/safekeep.d/test-client.conf', conf, '664', 'w', 'root', server) cmd = 'rm -rf client; mkdir -p client/data' - rcmd(cmd, 'backup-op', server, 'create data repo') + rcmd(cmd, 'safekeep', server, 'create data repo') # setup the client cmd = 'umask 077; test -d .ssh || mkdir .ssh; if test -f .ssh/authorized_keys; then cat .ssh/authorized_keys; fi' clkeys_txt = rcmdout(cmd, 'root', client, 'fetch client keys') - key_id_enc = readfile('.ssh/id_dsa.pub', 'backup-op', server) + key_id_enc = readfile('.ssh/id_dsa.pub', 'safekeep', server) if key_id_enc not in clkeys_txt.splitlines(): writefile('.ssh/authorized_keys', key_id_enc, None, 'a', 'root', client) cmd = 'safekeep %s --keys --deploy' % safekeep_args - rcmd(cmd, 'backup-op', server, 'deploy keys to client') + rcmd(cmd, 'safekeep', server, 'deploy keys to client') # run the test for i in range(test_reps): cmd = 'rm -f md5sum.client md5sum.server' - rcmd(cmd, 'backup-op', server, 'cleanup MD5 sums') + rcmd(cmd, 'safekeep', server, 'cleanup MD5 sums') FILES = ( '/etc/a-simple-file', '/etc/another-file.nobackup', @@ -380,14 +380,14 @@ "grep -v '\.nobackup$' | grep -v '^/etc/cups/certs/' | " + \ "grep -v '^/etc/mtab' | grep -v '^/etc/lvm/' | " + \ "sort | sed s/.// | xargs md5sum" - cmd2 = "cat > /home/backup-op/md5sum.client" - rpipe(cmd1, 'root', client, 'do MD5 sums on client', cmd2, 'backup-op', server) + cmd2 = "cat > /var/lib/safekeep/md5sum.client" + rpipe(cmd1, 'root', client, 'do MD5 sums on client', cmd2, 'safekeep', server) cmd = 'safekeep %s' % safekeep_args - rcmd(cmd, 'backup-op', server, 'backup data') - cmd = 'cd /home/backup-op/client/data; find -type f | grep -v rdiff-backup-data/ | sort | sed s/..// | xargs md5sum > /home/backup-op/md5sum.server' - rcmd(cmd, 'backup-op', server, 'do MD5 sums on server') - cmd = 'diff -q /home/backup-op/md5sum.client /home/backup-op/md5sum.server' - rcmd(cmd, 'backup-op', server, 'compare MD5 sums') + rcmd(cmd, 'safekeep', server, 'backup data') + cmd = 'cd /var/lib/safekeep/client/data; find -type f | grep -v rdiff-backup-data/ | sort | sed s/..// | xargs md5sum > /var/lib/safekeep/md5sum.server' + rcmd(cmd, 'safekeep', server, 'do MD5 sums on server') + cmd = 'diff -q /var/lib/safekeep/md5sum.client /var/lib/safekeep/md5sum.server' + rcmd(cmd, 'safekeep', server, 'compare MD5 sums') # TODO: list available backups # TODO: compare against retention policy, fail if different This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 17:32:58
|
Revision: 338 http://safekeep.svn.sourceforge.net/safekeep/?rev=338&view=rev Author: dimi Date: 2007-01-30 09:15:19 -0800 (Tue, 30 Jan 2007) Log Message: ----------- Create the .ssh dir at install time too Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-30 16:55:15 UTC (rev 337) +++ safekeep/trunk/safekeep.spec.in 2007-01-30 17:15:19 UTC (rev 338) @@ -72,6 +72,7 @@ install -d -m 755 "%{buildroot}%{_mandir}/man1/" install -m 755 doc/safekeep.1 "%{buildroot}%{_mandir}/man1/" install -d -m 750 "%{buildroot}%{homedir}" +install -d -m 700 "%{buildroot}%{homedir}/.ssh" %clean rm -rf "%{buildroot}" @@ -95,6 +96,7 @@ %files server %attr(750,%{name},%{name}) %dir %{homedir} +%attr(700,%{name},%{name}) %dir %{homedir}/.ssh %dir %{_sysconfdir}/safekeep.d %doc safekeep-test sample.conf %doc AUTHORS COPYING LICENSE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 16:55:21
|
Revision: 337 http://safekeep.svn.sourceforge.net/safekeep/?rev=337&view=rev Author: dimi Date: 2007-01-30 08:55:15 -0800 (Tue, 30 Jan 2007) Log Message: ----------- Fix string interpolation Modified Paths: -------------- safekeep/trunk/safekeep-test Modified: safekeep/trunk/safekeep-test =================================================================== --- safekeep/trunk/safekeep-test 2007-01-30 16:27:04 UTC (rev 336) +++ safekeep/trunk/safekeep-test 2007-01-30 16:55:15 UTC (rev 337) @@ -326,8 +326,7 @@ cmd = 'if test -f %s; then grep -i %s %s; fi' % (known_hosts, client, known_hosts) fingerprint = rcmdout(cmd, None, None, 'read the client fingerprint') if fingerprint: - cmd = '(if test -f .ssh/known_hosts; then grep -iv %s %s .ssh/known_hosts; fi; cat) > .ssh/known_hosts.new; ' + \ - 'mv -f .ssh/known_hosts.new .ssh/known_hosts' + cmd = '(if test -f .ssh/known_hosts; then grep -iv %s .ssh/known_hosts; fi; cat) > .ssh/known_hosts.new; mv -f .ssh/known_hosts.new .ssh/known_hosts' % (client, ) rcmdin(cmd, fingerprint, 'backup-op', server, 'deploy client fingerprint on server') snap_conf = '' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 16:27:15
|
Revision: 336 http://safekeep.svn.sourceforge.net/safekeep/?rev=336&view=rev Author: dimi Date: 2007-01-30 08:27:04 -0800 (Tue, 30 Jan 2007) Log Message: ----------- Fix installation of packages on the test boxes Modified Paths: -------------- safekeep/trunk/safekeep-test Modified: safekeep/trunk/safekeep-test =================================================================== --- safekeep/trunk/safekeep-test 2007-01-30 15:33:46 UTC (rev 335) +++ safekeep/trunk/safekeep-test 2007-01-30 16:27:04 UTC (rev 336) @@ -206,13 +206,15 @@ lattica_repo = '\n'.join([line.strip() for line in lattica_repo.splitlines()]) cmd = 'echo %s > /etc/yum.repos.d/lattica-development.repo' % (mkarg(lattica_repo).strip()) rcmd(cmd, 'root', host, 'install Lattica Repo') - cmd = 'rm -rf /var/cache/yum/lattica-development/; ' + \ - 'if rpm -q safekeep-%(role)s-%(verrel)s; ' + \ - 'then yum update -y safekeep-%(role)s-%(verrel); ' + \ - 'else yum install -y safekeep-%(role)s-%(verrel); ' + \ - 'fi; ' + \ - 'rpm -q safekeep-%(role)s | grep %(verrel)s' \ - % { 'role': role, 'verrel': verrel } + cmd = """ + rm -rf /var/cache/yum/lattica-development/; + if rpm -q safekeep-%(role)s-%(verrel)s; then + yum update -y safekeep-%(role)s-%(verrel)s; + else + yum install -y safekeep-%(role)s-%(verrel)s; + fi; + rpm -q safekeep-%(role)s | grep %(verrel)s + """ % { 'role': role, 'verrel': verrel } rcmd(cmd, 'root', host, 'install safekeep') def createKey(user, host, keyname, comment): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 15:33:48
|
Revision: 335 http://safekeep.svn.sourceforge.net/safekeep/?rev=335&view=rev Author: dimi Date: 2007-01-30 07:33:46 -0800 (Tue, 30 Jan 2007) Log Message: ----------- The new packages superseed the old ones Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-30 15:32:16 UTC (rev 334) +++ safekeep/trunk/safekeep.spec.in 2007-01-30 15:33:46 UTC (rev 335) @@ -26,6 +26,7 @@ %package common Summary: The SafeKeep backup system (common component) Group: Applications/System +Obsoletes: safekeep Requires: rdiff-backup Requires(pre): python >= 2.3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 15:32:20
|
Revision: 334 http://safekeep.svn.sourceforge.net/safekeep/?rev=334&view=rev Author: dimi Date: 2007-01-30 07:32:16 -0800 (Tue, 30 Jan 2007) Log Message: ----------- Make sure the version we expect ends up being installed Modified Paths: -------------- safekeep/trunk/safekeep-test Modified: safekeep/trunk/safekeep-test =================================================================== --- safekeep/trunk/safekeep-test 2007-01-30 15:25:22 UTC (rev 333) +++ safekeep/trunk/safekeep-test 2007-01-30 15:32:16 UTC (rev 334) @@ -165,7 +165,7 @@ shutil.rmtree(os.path.join(tmproot, 'restore')) time.sleep(1) -def takeOver(host, role): +def takeOver(host, role, verrel): cmd = 'ssh -o PasswordAuthentication=no root@%s true' % (host) if os.system(cmd): print 'The box %s does not appear to have been initialized' % (host) @@ -207,9 +207,12 @@ cmd = 'echo %s > /etc/yum.repos.d/lattica-development.repo' % (mkarg(lattica_repo).strip()) rcmd(cmd, 'root', host, 'install Lattica Repo') cmd = 'rm -rf /var/cache/yum/lattica-development/; ' + \ - 'if rpm -q safekeep-%(role)s; ' + \ - 'then yum update -y safekeep-%(role)s; ' + \ - 'else yum install -y safekeep-%(role)s; fi' % { 'role': role } + 'if rpm -q safekeep-%(role)s-%(verrel)s; ' + \ + 'then yum update -y safekeep-%(role)s-%(verrel); ' + \ + 'else yum install -y safekeep-%(role)s-%(verrel); ' + \ + 'fi; ' + \ + 'rpm -q safekeep-%(role)s | grep %(verrel)s' \ + % { 'role': role, 'verrel': verrel } rcmd(cmd, 'root', host, 'install safekeep') def createKey(user, host, keyname, comment): @@ -278,8 +281,10 @@ raise TestFailure('Failed to copy safekee-*-%s-1.noarch.rpm to the repository' % ver) cmd = 'createrepo %s' % mkarg(repodir) - rcmd(cmd, user, host, 'update repo metadata') + rcmd(cmd, user, host, 'update repo metadata') + return ver + '-1' + def remoteTest(tmproot, client, server): # build, sign and upload the .rpm repodirs = [ @@ -287,10 +292,10 @@ '/var/www/repos/lattica/yum/fedora/6/devel/i386', '/var/www/repos/lattica/yum/centos/4/devel/i386', ] - packageAndUpload(tmproot, 'Lattica, Inc. (Devel Key) <de...@la...>', repodirs, 'root', 'ulysses') + verrel = packageAndUpload(tmproot, 'Lattica, Inc. (Devel Key) <de...@la...>', repodirs, 'root', 'ulysses') - takeOver(client, 'client') - takeOver(server, 'server') + takeOver(client, 'client', verrel) + takeOver(server, 'server', verrel) # setup the server client_addr = socket.gethostbyname(client) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 15:25:23
|
Revision: 333 http://safekeep.svn.sourceforge.net/safekeep/?rev=333&view=rev Author: dimi Date: 2007-01-30 07:25:22 -0800 (Tue, 30 Jan 2007) Log Message: ----------- Instrument the fulltest to deal with the multiple packages Modified Paths: -------------- safekeep/trunk/safekeep-test Modified: safekeep/trunk/safekeep-test =================================================================== --- safekeep/trunk/safekeep-test 2007-01-30 15:01:25 UTC (rev 332) +++ safekeep/trunk/safekeep-test 2007-01-30 15:25:22 UTC (rev 333) @@ -206,7 +206,10 @@ lattica_repo = '\n'.join([line.strip() for line in lattica_repo.splitlines()]) cmd = 'echo %s > /etc/yum.repos.d/lattica-development.repo' % (mkarg(lattica_repo).strip()) rcmd(cmd, 'root', host, 'install Lattica Repo') - cmd = 'rm -rf /var/cache/yum/lattica-development/; if rpm -q safekeep; then yum update -y safekeep; else yum install -y safekeep; fi' + cmd = 'rm -rf /var/cache/yum/lattica-development/; ' + \ + 'if rpm -q safekeep-%(role)s; ' + \ + 'then yum update -y safekeep-%(role)s; ' + \ + 'else yum install -y safekeep-%(role)s; fi' % { 'role': role } rcmd(cmd, 'root', host, 'install safekeep') def createKey(user, host, keyname, comment): @@ -251,22 +254,28 @@ if os.system(cmd): raise TestFailure('Failed to nuke the tar') - basename = mytar[0:-len('.tar.gz')] - binrpm = os.path.join(pkgroot, 'RPMS/noarch', basename + '-1.noarch.rpm') - if not os.path.isfile(binrpm): - raise TestFailure('Failed to find binary rpm: %s' % binrpm) + ver = mytar[len('safekeep-'):-len('.tar.gz')] + binrpm_common = os.path.join(pkgroot, 'RPMS/noarch', 'safekeep-common-' + ver + '-1.noarch.rpm') + binrpm_client = os.path.join(pkgroot, 'RPMS/noarch', 'safekeep-client-' + ver + '-1.noarch.rpm') + binrpm_server = os.path.join(pkgroot, 'RPMS/noarch', 'safekeep-server-' + ver + '-1.noarch.rpm') + for binrpm in (binrpm_common, binrpm_client, binrpm_server): + if not os.path.isfile(binrpm): + raise TestFailure('Failed to find binary rpm: %s' % binrpm) + if sign_packages: - cmd = 'rpm --define %s --addsign %s' % (mkarg('_gpg_name ' + keyname), mkarg(binrpm)) + cmd = 'rpm --define %s --addsign %s %s %s' % \ + (mkarg('_gpg_name ' + keyname), binrpm_common, binrpm_client, binrpm_server) print cmd if os.system(cmd): raise TestFailure('Failed to sign rpms') for repodir in repodirs: - cmd = '%s %s %s@%s:%s' % (mkssh('scp'), mkarg(binrpm), user, host, repodir) + cmd = '%s %s %s %s %s@%s:%s' % \ + (mkssh('scp'), binrpm_common, binrpm_client, binrpm_server, user, host, repodir) print cmd if os.system(cmd): - raise TestFailure('Failed to copy %s to the repository' % binrpm) + raise TestFailure('Failed to copy safekee-*-%s-1.noarch.rpm to the repository' % ver) cmd = 'createrepo %s' % mkarg(repodir) rcmd(cmd, user, host, 'update repo metadata') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 15:01:30
|
Revision: 332 http://safekeep.svn.sourceforge.net/safekeep/?rev=332&view=rev Author: dimi Date: 2007-01-30 07:01:25 -0800 (Tue, 30 Jan 2007) Log Message: ----------- Add the licensing files to all packages Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-30 04:45:58 UTC (rev 331) +++ safekeep/trunk/safekeep.spec.in 2007-01-30 15:01:25 UTC (rev 332) @@ -89,10 +89,14 @@ %{_mandir}/man1/safekeep.1* %doc AUTHORS COPYING LICENSE README +%files client +%doc AUTHORS COPYING LICENSE + %files server %attr(750,%{name},%{name}) %dir %{homedir} %dir %{_sysconfdir}/safekeep.d %doc safekeep-test sample.conf +%doc AUTHORS COPYING LICENSE %changelog This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 04:45:59
|
Revision: 331 http://safekeep.svn.sourceforge.net/safekeep/?rev=331&view=rev Author: dimi Date: 2007-01-29 20:45:58 -0800 (Mon, 29 Jan 2007) Log Message: ----------- Create the homedir in the build root Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-30 04:43:58 UTC (rev 330) +++ safekeep/trunk/safekeep.spec.in 2007-01-30 04:45:58 UTC (rev 331) @@ -70,7 +70,7 @@ install -m 755 safekeep "%{buildroot}%{_bindir}/" install -d -m 755 "%{buildroot}%{_mandir}/man1/" install -m 755 doc/safekeep.1 "%{buildroot}%{_mandir}/man1/" -install -d -m 750 %{homedir} +install -d -m 750 "%{buildroot}%{homedir}" %clean rm -rf "%{buildroot}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-30 04:44:00
|
Revision: 330 http://safekeep.svn.sourceforge.net/safekeep/?rev=330&view=rev Author: dimi Date: 2007-01-29 20:43:58 -0800 (Mon, 29 Jan 2007) Log Message: ----------- Create the home dir during build Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-29 21:46:51 UTC (rev 329) +++ safekeep/trunk/safekeep.spec.in 2007-01-30 04:43:58 UTC (rev 330) @@ -70,6 +70,7 @@ install -m 755 safekeep "%{buildroot}%{_bindir}/" install -d -m 755 "%{buildroot}%{_mandir}/man1/" install -m 755 doc/safekeep.1 "%{buildroot}%{_mandir}/man1/" +install -d -m 750 %{homedir} %clean rm -rf "%{buildroot}" @@ -89,7 +90,7 @@ %doc AUTHORS COPYING LICENSE README %files server -%dir %{homedir} +%attr(750,%{name},%{name}) %dir %{homedir} %dir %{_sysconfdir}/safekeep.d %doc safekeep-test sample.conf This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-29 21:46:53
|
Revision: 329 http://safekeep.svn.sourceforge.net/safekeep/?rev=329&view=rev Author: dimi Date: 2007-01-29 13:46:51 -0800 (Mon, 29 Jan 2007) Log Message: ----------- Split RPM into 3 packages: -common, -client, -server Add a bunch more Requires, etc. Create a 'safekeep' user for the server part. Modified Paths: -------------- safekeep/trunk/safekeep.spec.in Modified: safekeep/trunk/safekeep.spec.in =================================================================== --- safekeep/trunk/safekeep.spec.in 2007-01-29 19:13:19 UTC (rev 328) +++ safekeep/trunk/safekeep.spec.in 2007-01-29 21:46:51 UTC (rev 329) @@ -1,11 +1,13 @@ %define name safekeep %define version TBD %define release 1 +%define homedir %{_localstatedir}/lib/%{name} Name: %{name} Version: %{version} Release: %{release}%{?dist} Summary: The SafeKeep backup system +Vendor: Lattica, Inc. Group: Applications/System License: GPL @@ -15,15 +17,47 @@ Prefix: %{_prefix} BuildArch: noarch - BuildRequires: xmlto, asciidoc > 6.0.3 -Requires: rdiff-backup -Provides: safekeep %description -SafeKeep is a client/server backup script which enhances the +SafeKeep is a client/server backup system which enhances the power of rdiff-backup with simple configuration and use. +%package common +Summary: The SafeKeep backup system (common component) +Group: Applications/System +Requires: rdiff-backup +Requires(pre): python >= 2.3 + +%description common +The common component of the SafeKeep backup system. +This is shared in between the client/server components. + +%package client +Summary: The SafeKeep backup system (client component) +Group: Applications/System +Requires: openssh-server +Requires: coreutils +Requires: util-linux +Requires(pre): safekeep-common = %{PACKAGE_VERSION} + +%description client +The client component of the SafeKeep backup system. +This component should be installed on all hosts that +need to be backed-up. + +%package server +Summary: The SafeKeep backup system (server component) +Group: Applications/System +Prereq: /usr/sbin/useradd +Requires: openssh, openssh-clients +Requires(pre): safekeep-common = %{PACKAGE_VERSION} + +%description server +The server component of the SafeKeep backup system. +This compoenent should be installed on the server on +which the data will be backed-up to. + %prep %setup -q @@ -40,12 +74,24 @@ %clean rm -rf "%{buildroot}" -%files +%pre server +%{_sbindir}/useradd -r -d %{homedir} -s /sbin/nologin -u 186 %{name} 2> /dev/null || : + +%preun server +if [ "$1" = "0" ]; then + %{_sbindir}/userdel %{name} >> /dev/null 2>&1 || : +fi + +%files common %defattr(-,root,root,-) -%dir %{_sysconfdir}/safekeep.d %{_bindir}/safekeep %{_mandir}/man1/safekeep.1* -%doc AUTHORS COPYING LICENSE README safekeep-test sample.conf +%doc AUTHORS COPYING LICENSE README +%files server +%dir %{homedir} +%dir %{_sysconfdir}/safekeep.d +%doc safekeep-test sample.conf + %changelog This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-29 19:13:21
|
Revision: 328 http://safekeep.svn.sourceforge.net/safekeep/?rev=328&view=rev Author: dimi Date: 2007-01-29 11:13:19 -0800 (Mon, 29 Jan 2007) Log Message: ----------- Fix the example with the latest results Modified Paths: -------------- safekeep/trunk/doc/safekeep.txt Modified: safekeep/trunk/doc/safekeep.txt =================================================================== --- safekeep/trunk/doc/safekeep.txt 2007-01-29 17:22:11 UTC (rev 327) +++ safekeep/trunk/doc/safekeep.txt 2007-01-29 19:13:19 UTC (rev 328) @@ -158,7 +158,12 @@ <exclude path="/var/lock"/> <exclude path="/var/run"/> <exclude path="/var/tmp"/> + <include path="/var/named/chroot/etc"/> + <include path="/var/named/chroot/var/named"/> + <exclude path="/var/named/chroot"/> <include path="/var"/> + + <exclude path="/"/> </data> </backup> ------------------------------------------------------------------------ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-29 17:22:16
|
Revision: 327 http://safekeep.svn.sourceforge.net/safekeep/?rev=327&view=rev Author: dimi Date: 2007-01-29 09:22:11 -0800 (Mon, 29 Jan 2007) Log Message: ----------- Ignode /selinux/ too. Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2007-01-29 05:40:03 UTC (rev 326) +++ safekeep/trunk/safekeep 2007-01-29 17:22:11 UTC (rev 327) @@ -211,7 +211,7 @@ cludes.append(parse_clude(child_el)) cludes.append({ 'type' : 'exclude', 'path' : '', 'glob' : '', 'regexp' : '.*' }) else: - path_xcludes = [ '/dev/', '/media/', '/mnt/', '/net/', '/proc/', '/sys/', + path_xcludes = [ '/dev/', '/media/', '/mnt/', '/net/', '/proc/', '/selinux/', '/sys/', '/tmp/', '/var/cache', '/var/lock', '/var/run', '/var/tmp', '/var/named/chroot/dev', '/var/named/chroot/proc', '/var/named/chroot/var/run', '/var/named/chroot/var/tmp' ] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-29 05:40:06
|
Revision: 326 http://safekeep.svn.sourceforge.net/safekeep/?rev=326&view=rev Author: dimi Date: 2007-01-28 21:40:03 -0800 (Sun, 28 Jan 2007) Log Message: ----------- A more compact representation for the excludes Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2007-01-29 05:22:36 UTC (rev 325) +++ safekeep/trunk/safekeep 2007-01-29 05:40:03 UTC (rev 326) @@ -211,23 +211,11 @@ cludes.append(parse_clude(child_el)) cludes.append({ 'type' : 'exclude', 'path' : '', 'glob' : '', 'regexp' : '.*' }) else: - cludes = [ - { 'type' : 'exclude', 'path' : '/dev/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/media/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/mnt/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/net/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/proc/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/sys/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/tmp/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/cache', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/lock', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/named/dev', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/named/proc', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/named/var/run', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/named/var/tmp', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/run', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/tmp', 'glob' : None, 'regexp' : None }, - ] + path_xcludes = [ '/dev/', '/media/', '/mnt/', '/net/', '/proc/', '/sys/', + '/tmp/', '/var/cache', '/var/lock', '/var/run', '/var/tmp', + '/var/named/chroot/dev', '/var/named/chroot/proc', + '/var/named/chroot/var/run', '/var/named/chroot/var/tmp' ] + cludes = [{ 'type' : 'exclude', 'path' : path, 'glob' : None, 'regexp' : None } for path in path_xcludes] return { 'id': id, 'host' : host, 'user' : user, 'key_ctrl' : key_ctrl, 'key_data' : key_data, 'dir' : dir, 'retention' : retention, 'dumps' : dumps, 'snaps' : snaps, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-29 05:22:38
|
Revision: 325 http://safekeep.svn.sourceforge.net/safekeep/?rev=325&view=rev Author: dimi Date: 2007-01-28 21:22:36 -0800 (Sun, 28 Jan 2007) Log Message: ----------- Exclude unneeded stuff from named's chroot. No need to include /, it's implicit in rdiff-backup. Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2007-01-29 01:31:16 UTC (rev 324) +++ safekeep/trunk/safekeep 2007-01-29 05:22:36 UTC (rev 325) @@ -212,18 +212,21 @@ cludes.append({ 'type' : 'exclude', 'path' : '', 'glob' : '', 'regexp' : '.*' }) else: cludes = [ - { 'type' : 'exclude', 'path' : '/dev/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/media/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/mnt/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/net/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/proc/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/sys/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/tmp/', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/cache', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/lock', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/run', 'glob' : None, 'regexp' : None }, - { 'type' : 'exclude', 'path' : '/var/tmp', 'glob' : None, 'regexp' : None }, - { 'type' : 'include', 'path' : '/', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/dev/', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/media/', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/mnt/', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/net/', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/proc/', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/sys/', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/tmp/', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/var/cache', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/var/lock', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/var/named/dev', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/var/named/proc', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/var/named/var/run', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/var/named/var/tmp', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/var/run', 'glob' : None, 'regexp' : None }, + { 'type' : 'exclude', 'path' : '/var/tmp', 'glob' : None, 'regexp' : None }, ] return { 'id': id, 'host' : host, 'user' : user, 'key_ctrl' : key_ctrl, 'key_data' : key_data, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <di...@us...> - 2007-01-29 01:31:17
|
Revision: 324 http://safekeep.svn.sourceforge.net/safekeep/?rev=324&view=rev Author: dimi Date: 2007-01-28 17:31:16 -0800 (Sun, 28 Jan 2007) Log Message: ----------- "Stelian Pop" <st...@la...> Invoke remote command explicitly in case the wrong SSH key is used with the client. Modified Paths: -------------- safekeep/trunk/safekeep Modified: safekeep/trunk/safekeep =================================================================== --- safekeep/trunk/safekeep 2007-01-28 23:34:41 UTC (rev 323) +++ safekeep/trunk/safekeep 2007-01-29 01:31:16 UTC (rev 324) @@ -551,7 +551,7 @@ do_server_data_cleanup(cfg) if cfg['host']: - cmd = 'ssh -T -i %(key_ctrl)s -l %(user)s %(host)s' % cfg + cmd = 'ssh -T -i %(key_ctrl)s -l %(user)s %(host)s safekeep --client' % cfg else: cmd = 'safekeep --client' debug('Run [' + cmd + ']') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |