Greetings, Spike!

> thank you for sharing Fajar, this is very helpful. A couple questions:
> 1. how do you ensure data consistency? I don't think it's safe to take a
> snap of a mysql container with mysql running for example. Other backup
> solutions I've used in the past, like bacula for example, allowed you to run
> pre-backup jobs to say make the db readonly or stuff like that. Are you doing 
> such a thing with sanoid?
> 2. related to, if you move lib/lxd, is it safe to snap with lxd running? no 
> consistency issues?

It is never a good idea to snapshot the disk of a running system.
Any files opened for writing are unlikely to backup properly.
It is less of an issue for MySQL and other applications that use journaling
for their write operations, but on any given live system there's more apps
that don't expect power interruptions.


-- 
With best regards,
Andrey Repin
Sunday, April 30, 2017 20:45:49

Sorry for my terrible english...

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to