On Tue, 22 Nov 2016 17:07:14 +0400 Mike Lykov via samba <samba at lists.samba.org> wrote:> 22.11.2016 16:12, Bob of Donelson Trophy via samba пишет: > > I am testing the backup script found at > > https://github.com/thctlo/samba4/tree/master/backup-script on Ubuntu > > 16.04.1LTS with Samba 4.5.0 (from source) running. > > Are this backup method useful only for one-DC domain? > If AD domain runs two or more DC, restore from this backup one of DCs > break replication and something more? >It has its uses in a multi DC domain, you could get replication problems where no DC has a full and correct AD. The Problem I have with 'KEEP_DAYS' in Louis's script is not that it doesn't work, but why would anybody want to keep backups for certain days. The AD database changes frequently, so any backup for 15 days ago could be well out of date. Rowland
On 22/11/2016 13:22, Rowland Penny via samba wrote:> On Tue, 22 Nov 2016 17:07:14 +0400 > Mike Lykov via samba <samba at lists.samba.org> wrote: > >> 22.11.2016 16:12, Bob of Donelson Trophy via samba пишет: >>> I am testing the backup script found at >>> https://github.com/thctlo/samba4/tree/master/backup-script on Ubuntu >>> 16.04.1LTS with Samba 4.5.0 (from source) running. >> Are this backup method useful only for one-DC domain? >> If AD domain runs two or more DC, restore from this backup one of DCs >> break replication and something more? >> > It has its uses in a multi DC domain, you could get replication > problems where no DC has a full and correct AD. > > The Problem I have with 'KEEP_DAYS' in Louis's script is not that it > doesn't work, but why would anybody want to keep backups for certain > days. The AD database changes frequently, so any backup for 15 days > ago could be well out of date. > >In case they unwittingly backed up a corrupt DC? -- Mike Howard
On Tue, 22 Nov 2016 15:37:52 +0000 Michael Howard via samba <samba at lists.samba.org> wrote:> On 22/11/2016 13:22, Rowland Penny via samba wrote: > > On Tue, 22 Nov 2016 17:07:14 +0400 > > Mike Lykov via samba <samba at lists.samba.org> wrote: > > > >> 22.11.2016 16:12, Bob of Donelson Trophy via samba пишет: > >>> I am testing the backup script found at > >>> https://github.com/thctlo/samba4/tree/master/backup-script on > >>> Ubuntu 16.04.1LTS with Samba 4.5.0 (from source) running. > >> Are this backup method useful only for one-DC domain? > >> If AD domain runs two or more DC, restore from this backup one of > >> DCs break replication and something more? > >> > > It has its uses in a multi DC domain, you could get replication > > problems where no DC has a full and correct AD. > > > > The Problem I have with 'KEEP_DAYS' in Louis's script is not that it > > doesn't work, but why would anybody want to keep backups for certain > > days. The AD database changes frequently, so any backup for 15 days > > ago could be well out of date. > > > > > In case they unwittingly backed up a corrupt DC? >Good point, perhaps the backup script could check before actually doing the backup ? Rowland