From: Stefan Huber Date: Tue, 22 May 2012 07:25:32 +0000 (+0200) Subject: Merge branch 'rename' X-Git-Tag: v2.0-rc2~1 X-Git-Url: https://git.sthu.org/?p=sitarba.git;a=commitdiff_plain;h=207d81ff3a5012639ae13be8470856b1a1ddc7ac;hp=a585f311a72f239ecc7d87218a0a35978d11133e Merge branch 'rename' Conflicts: sitarba --- diff --git a/Makefile b/Makefile index 408a6ad..8ceb4c0 100644 --- a/Makefile +++ b/Makefile @@ -2,20 +2,22 @@ PREFIX=/usr # Where the script binary should go BINPATH = $(PREFIX)/bin MANPATH = $(PREFIX)/share/man -CONFFILE = $(PREFIX)/share/shbackup.conf.sample +SHAREDIR = $(PREFIX)/share/sitarba/ +CONFFILE = $(SHAREDIR)/sitarba.conf.sample ###################################################################### all: install: all - install -m 0755 shbackup $(BINPATH)/shbackup - install -m 0644 shbackup.conf $(CONFFILE) - install -m 0644 shbackup.1 $(MANPATH)/man1/shbackup.1 + install -m 0755 sitarba $(BINPATH)/sitarba + mkdir -p $(SHAREDIR) + install -m 0644 sitarba.conf $(CONFFILE) + install -m 0644 sitarba.1 $(MANPATH)/man1/sitarba.1 -manpage: shbackup.1 +manpage: sitarba.1 -shbackup.1: shbackup.docbook +sitarba.1: sitarba.docbook docbook2man.pl $< diff --git a/shbackup.1 b/sitarba.1 similarity index 89% rename from shbackup.1 rename to sitarba.1 index e2b5fc6..07139cb 100644 --- a/shbackup.1 +++ b/sitarba.1 @@ -5,14 +5,14 @@ \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac -.TH shbackup 1 2012-05-13 "" "" +.TH sitarba 1 2012-05-13 "" "" .SH NAME -shbackup \- a simple backup solution +sitarba \- a simple backup solution .SH SYNOPSIS 'nh .fi .ad l -\fBshbackup\fR \kx +\fBsitarba\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu [options] {\fIcommand\fR} @@ -20,13 +20,13 @@ shbackup \- a simple backup solution .ad b 'hy .SH DESCRIPTION -\fBshbackup\fR is a simple backup solution +\fBsitarba\fR is a simple backup solution which packs user-defined file sets with tar. Each backup belongs to an epoch, which is 'sporadic' or one of the user-defined epochs. Standard epochs are year, month, week, day, or hour. The backup can be made either full, differential or incremental. -\fBshbackup\fR takes care for pruning old +\fBsitarba\fR takes care for pruning old backups. The user defines for every epoch the number of backups to keep, except for 'sporadic'. Sporadic backups need to be removed manually. @@ -47,7 +47,7 @@ Print out a help summary. .TP \*(T<\fB\-c, \-\-conf FILE\fR\*(T> Use given configuration file instead of -/etc/shbackup.conf. +/etc/sitarba.conf. .TP \*(T<\fB\-e, \-\-epoch EPOCH\fR\*(T> Do not determine epoch automatically, but diff --git a/shbackup.conf b/sitarba.conf similarity index 97% rename from shbackup.conf rename to sitarba.conf index 11bfa92..bd316a8 100644 --- a/shbackup.conf +++ b/sitarba.conf @@ -1,5 +1,5 @@ [global] -# Where shbackup stores the backups and other stuff +# Where sitarba stores the backups and other stuff backupdir = /media/backup # Which format should be used by tar? diff --git a/shbackup.docbook b/sitarba.docbook similarity index 92% rename from shbackup.docbook rename to sitarba.docbook index 36741d9..1eacde1 100644 --- a/shbackup.docbook +++ b/sitarba.docbook @@ -15,18 +15,18 @@ - shbackup + sitarba 1 - shbackup + sitarba a simple backup solution - shbackup + sitarba options command @@ -36,14 +36,14 @@ DESCRIPTION - shbackup is a simple backup solution + sitarba is a simple backup solution which packs user-defined file sets with tar. Each backup belongs to an epoch, which is 'sporadic' or one of the user-defined epochs. Standard epochs are year, month, week, day, or hour. The backup can be made either full, differential or incremental. - shbackup takes care for pruning old + sitarba takes care for pruning old backups. The user defines for every epoch the number of backups to keep, except for 'sporadic'. Sporadic backups need to be removed manually. @@ -98,7 +98,7 @@ Use given configuration file instead of - /etc/shbackup.conf. + /etc/sitarba.conf.