Quoting Johannes Graumann (johannes_graum...@web.de): > Hi, > > Is using "lxc-stop -n <CONTAINER>" on a host equivalent to running > "shutdown" within the container, meaning services are put to rest gracefully > etc? > > I'm in the process of scripting backup infrastructure for containers running > DBs (plone, mysql) and would like to avoid db corruption ... > > Thanks for any pointers.
Depends on your lxc version. If yours does, then the lxc-stop manpage will have text like: By default, it will request a clean shutdown of the container (by sending SIGPWR to the container), wait 60 seconds for the container to exit, and returns. ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users