<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Online Oracle backups using LVM snapshots in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788225#M23388</link>
    <description>Does anyone use LVM snapshots to grab online backups of their Oracle databases on Linux? Any hang-ups on Linux? &lt;BR /&gt;&lt;BR /&gt;Would this work?:&lt;BR /&gt;&lt;BR /&gt;&lt;PSEUDOCODE&gt;&lt;BR /&gt;For each tablespace in my database {&lt;BR /&gt; put the tablespace in backup-mode&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Create a snapshot of the entire "data" filesystem and mount it&lt;BR /&gt;&lt;BR /&gt;For each tablespace in my database {&lt;BR /&gt; take the tablespace out of backup-mode&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Copy all files from snapshot mount point to the "backup" mount point&lt;BR /&gt;Unmount and remove the snapshot&lt;BR /&gt;&lt;/PSEUDOCODE&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have an example script that I could look at for particulars?:&lt;BR /&gt;&lt;BR /&gt;Oracle says this: "Oracle will stop updating file headers, but will continue to write data to the database files even if a tablespace is in backup mode."&lt;BR /&gt;&lt;BR /&gt;Still ok to use filesystem snapshots, correct? Since the Oracle recovery mechanism should handle the possibility of partially written blocks?&lt;BR /&gt;&lt;BR /&gt;Thanks for any input.</description>
    <pubDate>Mon, 15 May 2006 08:28:09 GMT</pubDate>
    <dc:creator>Adam Garsha</dc:creator>
    <dc:date>2006-05-15T08:28:09Z</dc:date>
    <item>
      <title>Online Oracle backups using LVM snapshots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788225#M23388</link>
      <description>Does anyone use LVM snapshots to grab online backups of their Oracle databases on Linux? Any hang-ups on Linux? &lt;BR /&gt;&lt;BR /&gt;Would this work?:&lt;BR /&gt;&lt;BR /&gt;&lt;PSEUDOCODE&gt;&lt;BR /&gt;For each tablespace in my database {&lt;BR /&gt; put the tablespace in backup-mode&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Create a snapshot of the entire "data" filesystem and mount it&lt;BR /&gt;&lt;BR /&gt;For each tablespace in my database {&lt;BR /&gt; take the tablespace out of backup-mode&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Copy all files from snapshot mount point to the "backup" mount point&lt;BR /&gt;Unmount and remove the snapshot&lt;BR /&gt;&lt;/PSEUDOCODE&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have an example script that I could look at for particulars?:&lt;BR /&gt;&lt;BR /&gt;Oracle says this: "Oracle will stop updating file headers, but will continue to write data to the database files even if a tablespace is in backup mode."&lt;BR /&gt;&lt;BR /&gt;Still ok to use filesystem snapshots, correct? Since the Oracle recovery mechanism should handle the possibility of partially written blocks?&lt;BR /&gt;&lt;BR /&gt;Thanks for any input.</description>
      <pubDate>Mon, 15 May 2006 08:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788225#M23388</guid>
      <dc:creator>Adam Garsha</dc:creator>
      <dc:date>2006-05-15T08:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Online Oracle backups using LVM snapshots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788226#M23389</link>
      <description>If you are putting the tablespace in &lt;BR /&gt;backup mode you don't need a snapshot.&lt;BR /&gt;Oracle will recover all transactions&lt;BR /&gt;from the time you set the tablespace in&lt;BR /&gt;backup mode.&lt;BR /&gt;&lt;BR /&gt;The database needs to be in archivelog mode.&lt;BR /&gt;For recovery you need all logs archived&lt;BR /&gt;from the beginning of the backup.  I&lt;BR /&gt;would suggest forcing a log switch shortly &lt;BR /&gt;after completing the backup.&lt;BR /&gt;&lt;BR /&gt;The attached file is a modified oraback.sh&lt;BR /&gt;script which does our backups.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 May 2006 09:50:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788226#M23389</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2006-05-15T09:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Online Oracle backups using LVM snapshots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788227#M23390</link>
      <description>Sounds like transactional integrity will be safe, but what about block-level integrity?</description>
      <pubDate>Mon, 15 May 2006 13:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788227#M23390</guid>
      <dc:creator>Adam Garsha</dc:creator>
      <dc:date>2006-05-15T13:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Online Oracle backups using LVM snapshots</title>
      <link>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788228#M23391</link>
      <description>This gives me the warm fuzzy feeling I was looking for:&lt;BR /&gt;&lt;BR /&gt;In backup mode, Oracle will write out complete changed blocks to the redo log files. Normally only deltas (changes) are logged to the redo logs. This is done to enable reconstruction of a block if only half of it was backed up (split blocks). Because of this, one should notice increased log activity and archiving during on-line backups. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 May 2006 13:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/online-oracle-backups-using-lvm-snapshots/m-p/3788228#M23391</guid>
      <dc:creator>Adam Garsha</dc:creator>
      <dc:date>2006-05-15T13:56:17Z</dc:date>
    </item>
  </channel>
</rss>

