From: Michael Vrable Date: Sat, 31 May 2008 00:29:13 +0000 (-0700) Subject: Update NEWS file the 0.7 release. X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=commitdiff_plain;h=ef6894c21aee7047b3b105f8e373a06b016f7dad Update NEWS file the 0.7 release. Note the addition of the sub-file incrementals feature, and include a script for upgrading the local database to the new format. --- diff --git a/NEWS b/NEWS index cbcb48d..aee1b11 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,15 @@ 0.7 [??] + - LOCAL DATABASE CHANGE: The addition of subfile incrementals has + requires an extension to the local database. The upgrade script + contrib/upgrade0.7-localdb.sql should be run prior to running + backups with this version. - Initial support for direct backups to remote storage. A sample script is provided for backing up to Amazon S3. Other scripts should be simple to write. + - Support for efficient subfile incremental backups. Changes to a + small portion of a file do not require re-uploading substantially + all of the file, even in cases where there is an insertion or + deletion that shifts most of the file contents. - Allow selected files/directories to be restored, not simply an entire snapshot. Additionally, restore files in an order that should optimize performance (restore files based on how they are diff --git a/contrib/upgrade0.7-localdb.sql b/contrib/upgrade0.7-localdb.sql new file mode 100644 index 0000000..a7bf056 --- /dev/null +++ b/contrib/upgrade0.7-localdb.sql @@ -0,0 +1,13 @@ +-- SQL script for upgrading the local database to the format expected for LBS +-- version 0.7 (from a version 0.6 database). +-- +-- This script should be loaded after connecting to the database to be +-- upgraded. + +-- The subblock_signatures table was added to store a signature for old blocks +-- for performing subfile incremental backups. +create table subblock_signatures ( + blockid integer primary key, + algorithm text not null, + signatures blob not null +);