Re: [Lurker-users] Back up of the Lurker system
Brought to you by:
terpstra
From: Wesley W. T. <we...@te...> - 2011-03-11 21:46:42
|
On Fri, Mar 11, 2011 at 9:53 PM, Robert Woodworth <ro...@a1...>wrote: > Whats the best way to do backups of the Lurker system? > > > > If I run a cron job to copy the database over to another location, how do I > ensure that my backup and an indexing process do not collide ? > If you lock the file /var/lib/lurker/db.writer during your backup of the lurker database, this will stop any new messages from being indexed. Another option is a filesystem or block-level snapshot. At any given instant the lurker database is consistent, so any sort of snapshotting technology will work. |