linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Using LVM to snapshot Oracle
Date: Mon, 20 Feb 2006 23:05:32 +0100	[thread overview]
Message-ID: <20060220220531.GA16484@percy.comedia.it> (raw)
In-Reply-To: <E8AFFEFDBE97C94E9297963F0527A07B485D23@pmi00exf00.us.packetmotion.com>

On Mon, Feb 20, 2006 at 11:28:56AM -0800, Mitchell Christensen wrote:
>I was wondering about the feasibility of using the LVM snapshot facility
>to backup/restore Oracle.  Does this make sense?
>
Yes
>
>A few issues that I am concerned about are,
>
>*	Would it be any better/faster/cheaper than RMAN (the standard
>Oracle backup facility)?
it will work in a different manner,
rman is more complex to handle. but it will give you some more features,
like integrated archive log management and point in time restores.

>*	Would hot-backups be possible, or would the database need to be
>in a quiescent state?
you can do hot backup, but you will need to tell oracle you are doing
so:

you will need to have oracle in archive log mode

you will need to manually set all tablespaces in backup mode:
alter tablespace XXX begin backup; (for all tablespaces)
alter system switch logfile;
do your backup including the archive logs
alter tablespace XXX end backup; (for all tablespaces)

it is a simple sql script to code

>*	Is anyone else out there doing this (or anything similar)?
sure

>*	Is it reasonable to expect that I could simply take a snapshot
>of all Oracle related files and be able to restore a viable Oracle
>instance from that snapshot?
after restore you will have to "recover database" to apply the archive
logs and make the database consistent.

L.


-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  reply	other threads:[~2006-02-20 22:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 19:28 [linux-lvm] Using LVM to snapshot Oracle Mitchell Christensen
2006-02-20 22:05 ` Luca Berra [this message]
2006-02-20 22:11   ` Luca Berra
2006-02-21 10:21     ` Klaus Strebel
2006-02-21 18:00     ` [linux-lvm] Situation with PVRESIZE command Roger Lucas
2006-02-28 13:32       ` Roger Lucas
2006-02-28 13:53       ` Patrick Caulfield
2006-02-28 15:51         ` Roger Lucas
2006-02-28 16:04           ` Patrick Caulfield
2006-02-28 16:07             ` Roger Lucas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060220220531.GA16484@percy.comedia.it \
    --to=bluca@comedia.it \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).