On Tue, Feb 24, 2009 at 2:37 PM, Nicolas Williams
<nicolas.willi...@sun.com>wrote:

>
> >
> >
> > Hot Backup?
> >
> >  # Connect to the database
> >  sqlite3 db $dbfile
> >  # Lock the database, copy and commit or rollback
> >  if {[catch {db transaction immediate {file copy $dbfile ${dbfile}.bak}}
> res]} {
> >    puts "Backup failed: $res"
> >  } else {
> >    puts "Backup succeeded"
> >  }
>
> SMF uses SQLite2.  Sorry.
>


I don't quite follow why it wouldn't work for sqlite2 as well...
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to