Rick Gates
2010-Oct-08 20:28 UTC
[Samba] tdbbackup with bouncing/shutting down samba possible?
Hi, We are a small company, which has just started using samba. Recently we have faced a few issues regarding the TDBs getting corrupted. I have read that the only way of getting around this issue, is to regularly take tdbbackups. But, this process needs a downtime of my samba server, which we would not want. Instead, is there a way where I can take the tdbbackup with out shutting down samba server. That is, perhaps a way by which we just effectively shutdown TDBs one by one, taking there backups. If that is possible, then we can schedule this activity at the time when the load on the server is at the lowest point. I tried to google it but could not find anything about this. Any ideas/thoughts on how can we take tdbbackups without shutting down samba? Regards, Rick
Marten Gajda
2010-Oct-08 20:41 UTC
[Samba] tdbbackup with bouncing/shutting down samba possible?
Hi Rick, here's a small excerpt from the tdbbackup man page:> The tdbbackup utility can safely be run at any time. It was designedso that it can be used at any> time to validate the integrity of tdb files, even during Samba operation.There is no need to stop samba during backup creation. regards Marten Am 08.10.2010 22:28, schrieb Rick Gates:> Hi, > > We are a small company, which has just started using samba. > Recently we have faced a few issues regarding the TDBs getting corrupted. > I have read that the only way of getting around this issue, is to regularly > take tdbbackups. > But, this process needs a downtime of my samba server, which we would not > want. > > Instead, is there a way where I can take the tdbbackup with out shutting > down samba server. > That is, perhaps a way by which we just effectively shutdown TDBs one by > one, taking there backups. > If that is possible, then we can schedule this activity at the time when the > load on the server is at the lowest point. > > I tried to google it but could not find anything about this. > Any ideas/thoughts on how can we take tdbbackups without shutting down > samba? > > Regards, > Rick
Jeremy Allison
2010-Oct-08 20:51 UTC
[Samba] tdbbackup with bouncing/shutting down samba possible?
On Sat, Oct 09, 2010 at 01:58:20AM +0530, Rick Gates wrote:> Hi, > > We are a small company, which has just started using samba. > Recently we have faced a few issues regarding the TDBs getting corrupted. > I have read that the only way of getting around this issue, is to regularly > take tdbbackups. > But, this process needs a downtime of my samba server, which we would not > want.tdbbackup can backup a live tdb. Jeremy.