Fwd: How to backup samba4

steve steve at steve-ss.com
Tue Aug 28 14:36:34 MDT 2012


On 08/28/2012 06:59 PM, Gémes Géza wrote:
> Forwarded to list
>> As quoted by :
>> Stefan (metze) Metzmacher metze at samba.org <mailto:metze at samba.org>
>>
>>
>> Aug 24
>>
>> "Please not that you should never restore a dc from backup
>> if at least one other dc is still working! If you do that
>> you'll corrupt the directory as the replication meta data
>> get out of sync!
>>
>> The best would be a restore command that would change the invocationId,
>> and reset the highestCommitedUsn, this is what windows is doing on
>> restore... "
>>
>> If you have an active DC, join it like a secondary and let it 
>> replicate, then you will be back up and running :) (At least that is 
>> my understanding of replication)
>>
>> Ricky
>>
>> On Tue, Aug 28, 2012 at 11:50 AM, Gémes Géza <geza at kzsdabas.hu 
>> <mailto:geza at kzsdabas.hu>> wrote:
>>
>>     2012-08-28 17:34 keltezéssel, steve írta:
>>
>>         On 24/08/12 13:31, Andrew Bartlett wrote:
>>
>>             On Fri, 2012-08-24 at 13:04 +0200, Stefan (metze)
>>             Metzmacher wrote:
>>
>>                 Am 23.08.2012 22:50, schrieb Andrew Bartlett:
>>
>>                     On Thu, 2012-08-23 at 19:30 +0200, Marc Muehlfeld
>>                     wrote:
>>
>>
>>
>>                     There is actually already a script for this:
>>
>>                     source4/scripting/bin/samba_backup
>>
>>
>>         How about the restore process?
>>         1. Stop samba
>>         2. 'unbzip' the 3 backup files
>>         3. rsync them back to etc, sysvol and private respectively
>>
>>         Does that sound OK?
>>
>>         Cheers,
>>         Steve
>>
>>     Only if the box to restore is the only Samba4/WindowsAD in your
>>     forest.
>>
>>     Regards
>>
>>     Geza Gemes
>>
>>
>>
>>
>> -- 
>>
>>
Hi Geza
I suppose what you're really saying is that right now, there is no way 
to backup and restore a system with 2 or more DC's. No amount of Vbox 
snapshots, rsync's and samba-backups will get you back from a screwed up 
system to where you were before.
Cheers,
Steve



More information about the samba-technical mailing list