From cb6c9ef4750a52ee08baded91df5fd48c19d4872 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 7 Mar 2002 18:58:33 +0000 Subject: added a tdb backup utility when complete, this will be used to backup critical tdbs at samba startup and possibly periodically while Samba is running so that if tdb corruption is caused by a power failure Samba can restore from the backup. (This used to be commit f619330082712cab72ec2d2ab76d67b8e9f3194c) --- source3/tdb/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/tdb/Makefile') diff --git a/source3/tdb/Makefile b/source3/tdb/Makefile index b29bedf92c..3417759124 100644 --- a/source3/tdb/Makefile +++ b/source3/tdb/Makefile @@ -2,7 +2,7 @@ # Makefile for tdb directory # -CFLAGS = -DSTANDALONE -DTDB_DEBUG -O2 -g -DHAVE_MMAP=1 +CFLAGS = -DSTANDALONE -DTDB_DEBUG -pg -g -DHAVE_MMAP=1 CC = gcc PROGS = tdbtest tdbtool tdbtorture @@ -22,5 +22,8 @@ tdbtorture: tdbtorture.o $(TDB_OBJ) tdbdump: tdbdump.o $(TDB_OBJ) $(CC) $(CFLAGS) -o tdbdump tdbdump.o $(TDB_OBJ) +tdbbackup: tdbbackup.o $(TDB_OBJ) + $(CC) $(CFLAGS) -o tdbbackup tdbbackup.o $(TDB_OBJ) + clean: rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm -- cgit