[LON-CAPA-admin] Proper back-up procedure

Guy Albertelli II guy at albertelli.com
Wed Oct 1 12:39:10 EDT 2003

Hi Lars,

> We have set up a nightly network back-up procedure of lon-capa. Basically all 
> we do is to tar up the lonUsers- and res/tmcc directories. My question is
> this:
> Is this a safe procedure?

I believe so, the GDBM files If they are being written to are locked
by the filesystem.

> What happens if someone is accessing/editing
> records while the tar job is processing? Strictly speaking, doesn't 
> the mysql database have to be locked during a back-up?

If you are backing up only the above directories you aren't backing up
the MySQL database.

This is fine as no real data is stored in the MySQL database.

guy at albertelli.com  LON-CAPA Developer  0-7-5-6-

More information about the LON-CAPA-admin mailing list