Announcement

Collapse
No announcement yet.

Backup and recovery questions...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Backup and recovery questions...

    Hi,

    I have a question on backup and recovery. I did setup auto backup while using voltDB and did create another script to backup data manually by calling @SnapshotSave. My question here is are these two method the same internally? The reason I asked this is we are not sure should we use the auto backup method volt provided or create a cron job calling @SnapshotSave periodically.

    Thanks

  • #2
    Hi hchen,

    Yes, they are essentially the same internally. Calling @SnapshotSave just gives you control over where the snapshot should go, and whether or not you want the snapshot to block other transactions while it's in progress.

    Ning
    Ning

    Comment


    • #3
      Hi,

      This the content of deployment.xml

      <?xml version="1.0"?>
      <deployment>
      <cluster hostcount="3" sitesperhost="2" kfactor="1"/>
      <httpd enabled="true">
      <jsonapi enabled="true" />
      </httpd>
      <partition-detection enabled="true">
      <snapshot prefix="netfaultsave"/>
      </partition-detection>
      <paths>
      <snapshots path="/var/VoltDB/Voltdb/snapshots" />
      </paths>
      </deployment>


      But the snapshots are not getting created ????/

      Comment


      • #4
        [QUOTE=Shanky;2941]Hi,

        This the content of deployment.xml

        <?xml version="1.0"?>
        <deployment>
        <cluster hostcount="3" sitesperhost="2" kfactor="1"/>
        <httpd enabled="true">
        <jsonapi enabled="true" />
        </httpd>
        <partition-detection enabled="true">
        <snapshot prefix="netfaultsave"/>
        </partition-detection>
        <paths>
        <snapshots path="/var/VoltDB/Voltdb/snapshots" />
        </paths>
        </deployment>


        But the snapshots are not getting created ????
        [QUOTE]

        If you want automated schedules, you must add a frequency to the snapshot element. See the documentation here:
        http://voltdb.com/docs/UsingVoltDB/SaveSnapshotAuto.php

        Comment

        Working...
        X