On Tue, Feb 24, 2009 at 03:25:53PM -0600, Tim wrote:
> 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...

Because SQLite2 doesn't have that feature.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to