[Samba] tdbbackup with bouncing/shutting down samba possible?

2010-10-08 Thread 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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] tdbbackup with bouncing/shutting down samba possible?

2010-10-08 Thread Jeremy Allison
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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] tdbbackup with bouncing/shutting down samba possible?

2010-10-08 Thread Marten Gajda
 Hi Rick,

here's a small excerpt from the tdbbackup man page:

 The tdbbackup utility can safely be run at any time. It was designed
so 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba