From: ChrisS on
On Dec 22, 4:07 pm, "Richard B. Gilbert" <rgilber...(a)comcast.net>
wrote:
> John D Groenveld wrote:
> > In article <18f96b93-a090-4aad-9cf5-131f1ecc7...(a)c34g2000yqn.googlegroups.com>,
> > Zfs.. <cian.scrip...(a)gmail.com> wrote:
> >> 90% of our zones are on zfs datasets, to restore or move a zone I use
> >> zfs send/recv
>
> > On Indiana backup is something like this:
> > foobar# zlogin foo init 5
> > foobar# zoneadm -z foo detach
> > foobar# zfs snapshot -r tank/var/zones/foo(a)backup
> > foobar# zoneadm -z foo attach
> > foobar# zoneadm -z foo boot
> > foobar# zfs send -R tank/var/zones/foo(a)backup | 7z a -si -bd /mnt/foo.snap.7z
>
> > Recovery is something like:
> > snafu# 7z x -bd -so /mnt/foo.snap.7z | zfs receive -u -d tank
> > snafu# zfs set mountpoint=/var/opt/zones/foo tank/var/zones/foo
> > snafu# zfs mount tank/var/zones/foo
> > snafu# mount -F zfs tank/var/zones/foo/ROOT/zbe /var/opt/zones/foo/root
> > snafu# zonecfg -z foo create -a /var/opt/zones/foo
> > snafu# zoneadm -z foo attach
> > snafu# zoneadm -z foo boot
>
> > John
> > groenv...(a)acm.org
>
> "7z"?????
>
> I think that's the first ever Solaris command with a leading numeric
> character!

I agree, 7z? Sweet, John just learnt use about a new tool. I tested
it against bzip2 and 7z did compress a bunch of PDF files better than
bzip2.

Thanks!
From: Chris Ridd on
On 2009-12-22 21:07:34 +0000, Richard B. Gilbert said:

> "7z"?????
>
> I think that's the first ever Solaris command with a leading numeric character!

There's "6to4relay", part of SUNWcsu in Solaris 10. It is not in
Solaris 8, and I don't have a Solaris 9 box to check on.

:-)
--
Chris

From: david on
On 22 Dec, 21:07, "Richard B. Gilbert" <rgilber...(a)comcast.net> wrote:
> John D Groenveld wrote:
> > In article <18f96b93-a090-4aad-9cf5-131f1ecc7...(a)c34g2000yqn.googlegroups.com>,
> > Zfs.. <cian.scrip...(a)gmail.com> wrote:
> >> 90% of our zones are on zfs datasets, to restore or move a zone I use
> >> zfs send/recv
>
> > On Indiana backup is something like this:
> > foobar# zlogin foo init 5
> > foobar# zoneadm -z foo detach
> > foobar# zfs snapshot -r tank/var/zones/foo(a)backup
> > foobar# zoneadm -z foo attach
> > foobar# zoneadm -z foo boot
> > foobar# zfs send -R tank/var/zones/foo(a)backup | 7z a -si -bd /mnt/foo.snap.7z
>
> > Recovery is something like:
> > snafu# 7z x -bd -so /mnt/foo.snap.7z | zfs receive -u -d tank
> > snafu# zfs set mountpoint=/var/opt/zones/foo tank/var/zones/foo
> > snafu# zfs mount tank/var/zones/foo
> > snafu# mount -F zfs tank/var/zones/foo/ROOT/zbe /var/opt/zones/foo/root
> > snafu# zonecfg -z foo create -a /var/opt/zones/foo
> > snafu# zoneadm -z foo attach
> > snafu# zoneadm -z foo boot
>
> > John
> > groenv...(a)acm.org
>
> "7z"?????
>
> I think that's the first ever Solaris command with a leading numeric
> character!

Probably 7zip http://www.downloadatoz.com/utility_directory/7-zip_a/

Did you not read comp.compression or the comp.compression FAQ?