Results 1 to 4 of 4

Thread: Backup and recovery questions...

  1. #1
    New Member
    Join Date
    Dec 2012
    Posts
    4

    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. #2
    Super Moderator
    Join Date
    Feb 2010
    Posts
    79
    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

  3. #3
    New Member
    Join Date
    Jul 2013
    Posts
    19
    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 ????/

  4. #4
    Super Moderator
    Join Date
    Feb 2010
    Posts
    186
    [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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •