Forum: Managing VoltDB

Post: Backup and recovery questions...

Backup and recovery questions...
hchen
Jan 29, 2013
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
nshi
Jan 29, 2013
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
Shanky
Sep 2, 2013
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 ????/
rbetts
Sep 3, 2013
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 ????


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