[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-directory-users
Subject: Re: [Fedora-directory-users] Re: backup/dump--restore/import
From: "Linux Admin" <sysadmin.linux () gmail ! com>
Date: 2007-10-24 21:21:24
Message-ID: 696934990710241421r5028460fr37a99d66474bbe7 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
The restore worked, yet it killed admin server.
had manually fix it by copying over adm.conf and admpw files
Great mail list! Thanks you!!!
On 10/24/07, Linux Admin <sysadmin.linux@gmail.com> wrote:
>
> Thanks Richard, George, Ivan for all you help.
> I will do some more testing, so far I did manage to get it work on new
> server with the same identifier.
>
>
> On 10/24/07, Richard Megginson <rmeggins@redhat.com> wrote:
> >
> > Linux Admin wrote:
> > > DR is disaster recovery.
> > > Copy is OK...I tar the file and sftp to the server.
> > > backup/restore work ok from CLI for me too, but only if backup is done
> > > of the original server and resotre is done on the same server.
> > > Tring taking backup of server A and restore it to vanilly server B
> > > does not. Will that work for anyone?
> > It should work, assuming the same suffix/database/index configuration on
> > both servers, and assuming the architecture of both machines are the
> > same.
> > >
> > >
> > > On 10/24/07, *Richard Megginson* <rmeggins@redhat.com
> > > <mailto:rmeggins@redhat.com>> wrote:
> > >
> > > Linux Admin wrote:
> > > > It get really bad:
> > > > on new clean server:
> > > > Backup from CLI: db2bak
> > > > Restore CLI: works OK
> > > > then I bring the dir produce by db2bak from the server I am
> > > trying to
> > > > restore to new box and teh same restore commad fails
> > > Then there must be something going wrong with the copy. Because
> > > backup/restore from cli works ok.
> > > >
> > > >
> > > > On 10/24/07, *Linux Admin* <sysadmin.linux@gmail.com
> > > <mailto:sysadmin.linux@gmail.com >
> > > > <mailto:sysadmin.linux@gmail.com
> > > <mailto:sysadmin.linux@gmail.com>>> wrote:
> > > >
> > > > Using the refernace for redhat site even command line does
> > work
> > > > error 43: Failed to read backup file set
> > > >
> > > >
> > > >
> > > > On 10/24/07, * George Holbert* < gholbert@broadcom.com
> > > <mailto:gholbert@broadcom.com>
> > > > <mailto: gholbert@broadcom.com
> > > <mailto:gholbert@broadcom.com>>> wrote:
> > > >
> > > > Backup/Restore: Creates / restores from a copy of the
> > > > server's binary
> > > > database files.
> > > > Export/Import: Creates / imports from ASCII text LDIF
> > > files
> > > > representing the data in the directory server.
> > > >
> > > > It's actually a good idea to do both (if possible), as
> > this
> > > > will give
> > > > you the most flexibility when you're in the heat of a
> > > restore.
> > > >
> > > >
> > > http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1055147
> >
> > > > <
> > >
> > http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1055147
> > >
> > > >
> > > > > I get error 53 (failed to read the backup file set)
> > > >
> > > > Is the backup file set still there?
> > > >
> > > >
> > > > Linux Admin wrote:
> > > > > If I want to do through GUI: which option do I use:
> > > > Backup/Restore or
> > > > > Import/Export
> > > > > When I sued Backup....I tried to restore into vanilla
> > > LDAP
> > > > specifying
> > > > > the top level directory which contains NetascapeRoot
> > > and userRoot
> > > > > subdirs, I get error 53 (failed to read the backup
> > > file set)
> > > > >
> > > > >
> > > > > On 10/18/07, *Linux Admin* < sysadmin.linux@gmail.com
> > > <mailto: sysadmin.linux@gmail.com>
> > > > <mailto:sysadmin.linux@gmail.com
> > > <mailto: sysadmin.linux@gmail.com>>
> > > > > <mailto:sysadmin.linux@gmail.com
> > > <mailto:sysadmin.linux@gmail.com >
> > > > <mailto:sysadmin.linux@gmail.com
> > > <mailto:sysadmin.linux@gmail.com>>>> wrote:
> > > > >
> > > > > Please forgive the newbee question here.
> > > > > What is the best way to
> > backup/dump--restore/import a
> > > > fedora ldap
> > > > > server
> > > > > (without downtime)
> > > > > TIA
> > > > >
> > > > >
> > > > >
> > >
> > ------------------------------------------------------------------------
> > > >
> > > >
> > > > --
> > > > Fedora-directory-users mailing list
> > > > Fedora-directory-users@redhat.com
> > > <mailto:Fedora-directory-users@redhat.com>
> > > > <mailto: Fedora-directory-users@redhat.com
> > > <mailto:Fedora-directory-users@redhat.com>>
> > > >
> > > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> > > > <
> > > https://www.redhat.com/mailman/listinfo/fedora-directory-users>
> > > >
> > > >
> > > >
> > > >
> > >
> > ------------------------------------------------------------------------
> > > >
> > > > --
> > > > Fedora-directory-users mailing list
> > > > Fedora-directory-users@redhat.com
> > > <mailto: Fedora-directory-users@redhat.com>
> > > > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> > > < https://www.redhat.com/mailman/listinfo/fedora-directory-users>
> > > >
> > >
> > >
> > > --
> > > Fedora-directory-users mailing list
> > > Fedora-directory-users@redhat.com
> > > <mailto:Fedora-directory-users@redhat.com>
> > > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> > >
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > > --
> > > Fedora-directory-users mailing list
> > > Fedora-directory-users@redhat.com
> > > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> > >
> >
> >
> > --
> > Fedora-directory-users mailing list
> > Fedora-directory-users@redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >
> >
> >
>
[Attachment #5 (text/html)]
The restore worked, yet it killed admin server.<br>had manually fix it by copying \
over adm.conf and admpw files<br>Great mail list! Thanks you!!!<br><br><br><div><span \
class="gmail_quote">On 10/24/07, <b class="gmail_sendername"> Linux Admin</b> <<a \
href="mailto:sysadmin.linux@gmail.com">sysadmin.linux@gmail.com</a>> \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Thanks Richard, George, \
Ivan for all you help.<br>I will do some more testing, so far I did manage to get it \
work on new server with the same identifier.<div><span class="e" \
id="q_115d3c709f42cedb_1"><br><br><br><div><span class="gmail_quote"> On 10/24/07, <b \
class="gmail_sendername"> Richard Megginson</b> <<a \
href="mailto:rmeggins@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">rmeggins@redhat.com</a>> \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Linux Admin wrote:<br>> DR is disaster recovery.<br>> Copy is OK...I tar the \
file and sftp to the server.<br>> backup/restore work ok from CLI for me too, but \
only if backup is done<br>> of the original server and resotre is done on the same \
server. <br>> Tring taking backup of server A and restore it to vanilly server \
B<br>> does not. Will that work for anyone?<br>It should work, assuming the same \
suffix/database/index configuration on<br>both servers, and assuming the architecture \
of both machines are the same. <br>><br>><br>> On 10/24/07, *Richard \
Megginson* <<a href="mailto:rmeggins@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">rmeggins@redhat.com</a><br>> <mailto:<a \
href="mailto:rmeggins@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> rmeggins@redhat.com</a>>> wrote:<br>
><br>> Linux Admin \
wrote:<br>> > It get really \
bad:<br>> > on new clean \
server:<br>> > Backup from CLI: \
db2bak<br>> > Restore CLI: works \
OK<br>> > then I bring the dir produce by db2bak from \
the server I am <br>> trying \
to<br>> > restore to new box and teh same restore \
commad fails<br>> Then there must be something going wrong \
with the copy. Because<br>> backup/restore from \
cli works ok.<br>> > <br>> \
><br>> > On 10/24/07, *Linux Admin* <<a \
href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">sysadmin.linux@gmail.com</a><br>> \
<mailto: <a href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">sysadmin.linux@gmail.com \
</a>><br>> > <mailto:<a \
href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">sysadmin.linux@gmail.com</a><br>> \
<mailto:<a href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> sysadmin.linux@gmail.com</a>>>> \
wrote:<br> > ><br>> \
> Using the refernace for redhat site even command line \
does work<br>> > error 43: \
Failed to read backup file set<br>> \
><br>> ><br>> \
><br>> > On 10/24/07, * \
George Holbert* < <a href="mailto:gholbert@broadcom.com" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">gholbert@broadcom.com</a><br>> \
<mailto:<a href="mailto:gholbert@broadcom.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> \
gholbert@broadcom.com</a>><br>> \
> <mailto:<a href="mailto:gholbert@broadcom.com" \
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
gholbert@broadcom.com</a><br>> <mailto:<a \
href="mailto:gholbert@broadcom.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">gholbert@broadcom.com</a>>>> \
wrote:<br>> > <br>> \
> \
Backup/Restore: Creates / restores from a copy of the \
<br>> > \
server's binary<br>> \
> database \
files.<br>> \
> \
Export/Import: Creates / imports from ASCII text \
LDIF<br>> files<br>> \
> representing the data in the \
directory server. <br>> \
><br>> \
> It's actually a good idea to \
do both (if possible), as this<br>> \
> will \
give<br>> \
> you the most flexibility when \
you're in the heat of a <br>> \
restore.<br>> ><br>> \
><br>> <a \
href="http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1055147" \
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1055147 \
</a><br>> \
> \
<<br>> <a \
href="http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1055147" \
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">http://www.redhat.com/docs/manuals/dir-server/ag/7.1/dbmanage.html#1055147
</a>><br>> >
<br>> > \
> I get error 53 (failed to read the backup file \
set)<br>> ><br>> \
> Is the backup file set still \
there?<br>> ><br>> \
><br>> \
> Linux Admin wrote: \
<br>> > \
> If I want to do through GUI: which option do I \
use:<br>> \
> Backup/Restore \
or<br>> \
> > \
Import/Export<br>> \
> > When I sued Backup....I \
tried to restore into vanilla <br>> \
LDAP<br>> \
> \
specifying<br>> \
> > the top level directory \
which contains NetascapeRoot<br>> and \
userRoot<br>> \
> > subdirs, I get error 53 \
(failed to read the backup <br>> file \
set)<br>> \
> \
><br>> \
> \
><br>> \
> > On 10/18/07, *Linux Admin* \
< <a href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> \
sysadmin.linux@gmail.com</a><br>> <mailto: <a \
href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">sysadmin.linux@gmail.com</a>><br>> \
> <mailto:<a \
href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> \
sysadmin.linux@gmail.com</a><br>> <mailto:<a \
href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> \
sysadmin.linux@gmail.com</a>>><br>> \
> > <mailto:<a \
href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">sysadmin.linux@gmail.com</a><br> \
> <mailto:<a href="mailto:sysadmin.linux@gmail.com" \
target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">sysadmin.linux@gmail.com \
</a>><br>> \
> <mailto:<a \
href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">sysadmin.linux@gmail.com</a><br>> \
<mailto:<a href="mailto:sysadmin.linux@gmail.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> sysadmin.linux@gmail.com</a>>>>> \
wrote: <br>> \
> \
><br>> \
> > \
Please forgive the newbee question here.<br>> \
> > \
What is the best way to backup/dump--restore/import a<br>> \
> fedora ldap \
<br>> > \
> server<br>> \
> > \
(without downtime)<br>> \
> > \
TIA<br>> \
> \
><br>> \
> \
><br>> \
> > \
<br>> \
------------------------------------------------------------------------<br>> \
><br>> ><br>> \
> \
--<br>> \
> Fedora-directory-users mailing \
list<br>> \
> <a \
href="mailto:Fedora-directory-users@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">Fedora-directory-users@redhat.com</a><br>> \
<mailto:<a href="mailto:Fedora-directory-users@redhat.com" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> \
Fedora-directory-users@redhat.com</a>><br>> \
> <mailto: <a \
href="mailto:Fedora-directory-users@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">Fedora-directory-users@redhat.com</a><br>> \
<mailto:<a href="mailto:Fedora-directory-users@redhat.com" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> \
Fedora-directory-users@redhat.com</a>>><br>> > \
<br>> <a \
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>
<br>> \
> \
<<br>> <a \
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> \
https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>><br>> \
><br>> ><br>> \
><br>> ><br>> \
------------------------------------------------------------------------ \
<br>> ><br>> > \
--<br>> > Fedora-directory-users mailing \
list<br>> > <a \
href="mailto:Fedora-directory-users@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> \
Fedora-directory-users@redhat.com</a><br>> <mailto:<a \
href="mailto:Fedora-directory-users@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> \
Fedora-directory-users@redhat.com</a>><br>> > <a \
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">https://www.redhat.com/mailman/listinfo/fedora-directory-users
</a><br>> <<a \
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> \
https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>><br>> \
><br>><br>><br>> \
--<br>> Fedora-directory-users mailing \
list<br>> <a \
href="mailto:Fedora-directory-users@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">
Fedora-directory-users@redhat.com</a><br>> <mailto:<a \
href="mailto:Fedora-directory-users@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">Fedora-directory-users@redhat.com</a> \
><br>> <a \
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> \
https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>><br>><br>><br>> \
------------------------------------------------------------------------<br>><br>> \
--<br>> Fedora-directory-users mailing list <br>> <a \
href="mailto:Fedora-directory-users@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">Fedora-directory-users@redhat.com</a><br>> \
<a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" \
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> \
https://www.redhat.com/mailman/listinfo/fedora-directory-users \
</a><br>><br><br><br>--<br>Fedora-directory-users mailing list<br><a \
href="mailto:Fedora-directory-users@redhat.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">Fedora-directory-users@redhat.com </a><br><a \
href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)"> \
https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br><br><br></blockquote></div><br>
</span></div></blockquote></div><br>
--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic