Commit cd88cafc authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

app-emu/lxc: dump/restore file locks

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ab2d10c2
......@@ -35,6 +35,7 @@ mkdir data
echo "Dump the CT $name ($pid)"
${crtools} dump --evasive-devices \
--tcp-established \
--file-locks \
-n net -n mnt -n ipc -n pid \
--action-script "`pwd`/network-script.sh dump $pid $name" \
-vvvv -D data -o dump.log -t $pid || exit 1
......@@ -46,6 +47,7 @@ read
echo "Restore the CT $name ($pid)"
${crtools} restore --evasive-devices \
--tcp-established \
--file-locks \
-n net -n mnt -n ipc -n pid \
--action-script "`pwd`/network-script.sh restore $name.0" \
--veth-pair eth0=$name.0 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment