Automatically back up data

Posts   
 
    
Ian avatar
Ian
User
Posts: 511
Joined: 01-Apr-2005
# Posted on: 06-Nov-2009 01:10:18   

Hi,

I've had a couple of accidents recently where db data has been deleted. Even a back up is never entirely up to date so I'm wondering if there's a straight forward way to have LLBLGen write out what its doing to a text file whenever it does something or for selected transactions?

Cheers, Ian.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 06-Nov-2009 02:04:14   

Hi Ian,

Do you mean you want LLBLGen log any actions (like insert, update, delete) somewhere? Well that is not built-in. You better go on DB LOG, or something made for that. You also could use LLBLGen Pro Auditing to log things.

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39862
Joined: 17-Aug-2003
# Posted on: 06-Nov-2009 11:31:50   

I think auditing is the way to go indeed. You can also enable tracing and use a custom tracer, but that can be verbose and slower. Auditing is more dedicated to the entity you want to audit.

Frans Bouma | Lead developer LLBLGen Pro
Ian avatar
Ian
User
Posts: 511
Joined: 01-Apr-2005
# Posted on: 08-Nov-2009 17:48:35   

I was wondering if anyone has any ideas of where to save audited data? (This is for a web app.) The database is obviously out and a single text file would result in a bottle neck and I'm not even sure it would be possible to syncronize a text file on a webfarm...

Any ideas?

Ian avatar
Ian
User
Posts: 511
Joined: 01-Apr-2005
# Posted on: 08-Nov-2009 21:24:56   

Actually I'm think I'm going about this the wroong way. Better off with something like DPM perhaps.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 09-Nov-2009 06:32:36   

Ian wrote:

Actually I'm think I'm going about this the wroong way. Better off with something like DPM perhaps.

For the problem you are facing (backup/restore), I agree, something like DPM should be used.

David Elizondo | LLBLGen Support Team