flararch is not a friend of solaris zones. what to use?
cpio, of course. but let's just forget those mounted local filesystems and yeah,
those shared local libraries would be evil, too.
# zoneadm list -civ |grep myzone
2 myzone running /export/zones/myzone solaris8 shared
# zlogin -S myzone init 5 (physical power-off)
# find export/zones/myzone -fstype lofs -prune -o -local | cpio -oc -O /flar.arch/myzone.cpio
10958208 blocks
# ls -l flar.arch/myzone.cpio
-rwxr-xr-x 1 root root 5610602496 Jun 5 09:52 flar.arch/myzone.cpio
5.5G yeah. that's about right.
Thursday, June 5, 2014
find & cpio for sol10 zone backup
sigh.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment