On 14 May 2014 14:24, Discussion list for OpenIndiana <
openindiana-discuss@openindiana.org> wrote:
> There is nothing wrong with using "tail -1" as Bob said. If the question
> you're trying to answer, is "what's the latest snapshot of the specified
> filesystem" that's just fine ... And in f
On Wed, 14 May 2014, Discussion list for OpenIndiana wrote:
From: Discussion list for OpenIndiana [mailto:openindiana-
disc...@openindiana.org]
It seems that someone should bring up this issue on the zfs list. All
of the proposed solutions have involved 'tail -1'. This is a
non-scalable solut
> > > It seems that someone should bring up this issue on the zfs list. All
> > > of the proposed solutions have involved 'tail -1'. This is a
> > > non-scalable solution which does not work efficiently for any number
> > > of snapshots.
> >
> > What's wrong with it?
> >
> > Works for me, and alt
On 14 May 2014 12:27, Discussion list for OpenIndiana <
openindiana-discuss@openindiana.org> wrote:
> > From: Discussion list for OpenIndiana [mailto:openindiana-
> > disc...@openindiana.org]
> >
> > It seems that someone should bring up this issue on the zfs list. All
> > of the proposed solutio
> From: Discussion list for OpenIndiana [mailto:openindiana-
> disc...@openindiana.org]
>
> It seems that someone should bring up this issue on the zfs list. All
> of the proposed solutions have involved 'tail -1'. This is a
> non-scalable solution which does not work efficiently for any number
It seems that someone should bring up this issue on the zfs list. All
of the proposed solutions have involved 'tail -1'. This is a
non-scalable solution which does not work efficiently for any number
of snapshots. Since it is such a common requirement, zfs should
provide an efficient way to
> From: Discussion list for OpenIndiana [mailto:openindiana-
> disc...@openindiana.org]
>
> On our backup servers I have a "backup-check" script that checks to see
> what the last snapshot for a particular volume is (and compares it with the
> current date)
This is how I do it:
By doing "zfs list
interested in.
>
> John
>
> -Original Message-
> From: Discussion list for OpenIndiana [mailto:
> openindiana-discuss@openindiana.org]
> Sent: 12 May 2014 12:20
> To: Discussion list for OpenIndiana
> Subject: [OpenIndiana-discuss] Finding the "last" snapshot f
sion list for OpenIndiana
Subject: [OpenIndiana-discuss] Finding the "last" snapshot for a zfs volume
On our backup servers I have a "backup-check" script that checks to see what
the last snapshot for a particular volume is (and compares it with the current
date)
df -F zfs -h |grep $my
On our backup servers I have a "backup-check" script that checks to see
what the last snapshot for a particular volume is (and compares it with the
current date)
df -F zfs -h |grep $mypool | nawk '{system("zfs list -t snapshot -r "$1" \|
tail -1")}' | egrep -v "$yesterday|no datasets"
okay, it's
10 matches
Mail list logo