git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
664fa8e
)
prevent bogus compiler complaints about comments in comments
author
Andrew Tridgell
<tridge@samba.org>
Sun, 10 Mar 2002 01:46:56 +0000
(
01:46
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sun, 10 Mar 2002 01:46:56 +0000
(
01:46
+0000)
(This used to be commit
73b3487daf4d7c65aac2c8ec150539791d19e1f5
)
source3/tdb/tdbbackup.c
patch
|
blob
|
history
diff --git
a/source3/tdb/tdbbackup.c
b/source3/tdb/tdbbackup.c
index 91bedb5661dc8c9c16932d1c5210e294c91cb428..ae8f143440d4eafa7880714d75f547d1126e6c42 100644
(file)
--- a/
source3/tdb/tdbbackup.c
+++ b/
source3/tdb/tdbbackup.c
@@
-21,10
+21,10
@@
/*
This program is meant for backup/restore of tdb databases. Typical usage would be:
- tdbbackup
/var/lock/samba/
*.tdb
+ tdbbackup *.tdb
when Samba shuts down cleanly, which will make a backup of all the local databases
to *.bak files. Then on Samba startup you would use:
- tdbbackup -v
/var/lock/samba/
*.tdb
+ tdbbackup -v *.tdb
and this will check the databases for corruption and if corruption is detected then
the backup will be restored.