diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-03-07 18:58:33 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-03-07 18:58:33 +0000 |
commit | cb6c9ef4750a52ee08baded91df5fd48c19d4872 (patch) | |
tree | c6b843157c88a71b001a3e1cf2ee6aec63d23906 /source3/tdb/Makefile | |
parent | 6e6318525a810e2d397401ee75b9993ad17d455d (diff) | |
download | samba-cb6c9ef4750a52ee08baded91df5fd48c19d4872.tar.gz samba-cb6c9ef4750a52ee08baded91df5fd48c19d4872.tar.bz2 samba-cb6c9ef4750a52ee08baded91df5fd48c19d4872.zip |
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)
Diffstat (limited to 'source3/tdb/Makefile')
-rw-r--r-- | source3/tdb/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 |