File: README.server.Debian

package info (click to toggle)
afbackup 3.3.6pl4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,872 kB
  • ctags: 3,143
  • sloc: ansic: 44,316; tcl: 4,189; sh: 2,263; csh: 2,077; makefile: 566; sed: 93; perl: 80
file content (63 lines) | stat: -rw-r--r-- 2,269 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Configure your backup server with 

afserverconfig /etc/afbackup/client.conf

or 

xafserverconfig /etc/afbackup/client.conf

Explanations of the different parameters can be found in CONFIG.
Now the server is ready for your backups.

A note for building on other architectures:
If you want to build clients for non-Debian machines, here's
the relevant snippet from the debian/rules file (the script
build_local_inst may also be convenient):

build:
	./configure \
	--without-prefixext \
	--with-serverbindir=/usr/sbin \
	--with-serverlibdir=/etc/afbackup \
	--with-servervardir=/var/lib/afbackup \
	--with-serverlogdir=/var/log/afbackup \
	--with-clientbindir=/usr/sbin \
	--with-clientlibdir=/etc/afbackup \
	--with-clientvardir=/var/lib/afbackup \
	--with-clientlogdir=/var/log/afbackup \
	--with-rexecdir=/usr/lib/afbackup/rexec \
	--with-clientconf=client.conf \
	--with-serverconf=server.conf \
	--with-servermandir=/usr/share/man \
	--with-clientmandir=/usr/share/man \
	--with-commondir=/usr/lib/afbackup \
	--with-zlib \
	--with-zlib-include=/usr/include/ \
	--with-zlib-libdir=/usr/lib/
	make all DEBUG='-Wall -g' OPTIMIZE=-O2 afserver < debian/cryptkey

binary-arch: build
	make install.client \
		install.server \
		SERVERBINDIR=`pwd`/debian/afbackup/usr/sbin \
		SERVERLIBDIR=`pwd`/debian/afbackup/etc/afbackup \
		SERVERVARDIR=`pwd`/debian/afbackup/var/lib/afbackup \
		CLIENTBINDIR=`pwd`/debian/afbackup-client/usr/sbin \
		CLIENTLIBDIR=`pwd`/debian/afbackup-client/etc/afbackup \
		CLIENTVARDIR=`pwd`/debian/afbackup-client/var/lib/afbackup \
		SERVERREXECDIR=`pwd`/debian/afbackup-client/usr/lib/afbackup/rexec \
		COMMONDIR=`pwd`/debian/afbackup-client/usr/lib/afbackup \
		COMMONDATADIR=`pwd`/debian/afbackup-client/usr/lib/afbackup/share \
		COMMONSHLIBDIR=`pwd`/debian/afbackup-client/usr/lib/afbackup/share/lib \
		CLIENTMANDIR=`pwd`/debian/afbackup-client/usr/share/man \
		SERVERMANDIR=`pwd`/debian/afbackup/usr/share/man
	make install.rexeclinks \
		 CLIENTBINDIR=/usr/sbin \
		 SERVERREXECDIR=`pwd`/debian/afbackup-client/usr/lib/afbackup/rexec

Note that the installation roots for the debian packages are
pwd`/debian/afbackup/ and `pwd`/debian/afbackup-client/, so you have to
adjust it to your setup.
--
Torsten Werner <twerner@debian.org>