Bill Shannon wrote:
> If I do something like this:
>
> zfs snapshot [EMAIL PROTECTED]
> zfs send [EMAIL PROTECTED] > tank.backup
> sleep 86400
> zfs rename [EMAIL PROTECTED] [EMAIL PROTECTED]
> zfs snapshot [EMAIL PROTECTED]
> zfs send -I [EMAIL PROTECTED] [EMAIL PROTECTED] > tank.incr
>
> Am I g
On Thu, Mar 06, 2008 at 10:34:07PM -0800, Bill Shannon wrote:
> Darren J Moffat wrote:
> > I know this isn't answering the question but rather than using "today"
> > and "yesterday" why not not just use dates ?
>
> Because then I have to compute yesterday's date to do the incremental
> dump.
Not
> > zfs send -i z/[EMAIL PROTECTED]z/[EMAIL PROTECTED]| bzip2 -c |\
> >ssh host.com "bzcat | zfs recv -v -F -d z"
>
> Since I see 'bzip2' mentioned here (a rather slow compressor), I
> should mention that based on a recommendation from a friend, I gave a
> compressor called 'lzop' (http
On Fri, Mar 07, 2008 at 01:52:45AM -0500, Rob Logan wrote:
> > Because then I have to compute yesterday's date to do the
> > incremental dump.
>
> snaps=15
> today=`date +%j`
> # to change the second day of the year from 002 to 2
> today=`expr $today + 0`
Er, can't this be confused with octal
Randy Bias wrote:
> On Mar 7, 2008, at 8:55 AM, Bob Friesenhahn wrote:
>> On Fri, 7 Mar 2008, Rob Logan wrote:
>> Since I see 'bzip2' mentioned here (a rather slow compressor), I
>> should mention that based on a recommendation from a friend, I gave a
>> compressor called 'lzop' (http://www.lzop.or
On Mar 7, 2008, at 8:55 AM, Bob Friesenhahn wrote:
> On Fri, 7 Mar 2008, Rob Logan wrote:
> Since I see 'bzip2' mentioned here (a rather slow compressor), I
> should mention that based on a recommendation from a friend, I gave a
> compressor called 'lzop' (http://www.lzop.org/) a try due to its
>
On Fri, 7 Mar 2008, Rob Logan wrote:
>
> zfs send -i z/[EMAIL PROTECTED] z/[EMAIL PROTECTED] | bzip2 -c |\
> ssh host.com "bzcat | zfs recv -v -F -d z"
> zfs send -i z/[EMAIL PROTECTED] z/[EMAIL PROTECTED] | bzip2 -c |\
> ssh host.com "bzcat | zfs recv -v -F -d z"
> zfs send -i z/[EMAIL PRO
> Because then I have to compute yesterday's date to do the
incremental dump.
snaps=15
today=`date +%j`
# to change the second day of the year from 002 to 2
today=`expr $today + 0`
nuke=`expr $today - $snaps`
yesterday=`expr $today - 1`
if [ $yesterday -lt 1 ] ; then
yesterday=365
fi
if [
Darren J Moffat wrote:
> I know this isn't answering the question but rather than using "today"
> and "yesterday" why not not just use dates ?
Because then I have to compute yesterday's date to do the incremental dump.
I don't suppose I can create symlinks to snapshots in order to give them
mult
Bill Shannon wrote:
> If I do something like this:
>
> zfs snapshot [EMAIL PROTECTED]
> zfs send [EMAIL PROTECTED] > tank.backup
> sleep 86400
> zfs rename [EMAIL PROTECTED] [EMAIL PROTECTED]
> zfs snapshot [EMAIL PROTECTED]
> zfs send -I [EMAIL PROTECTED] [EMAIL PROTECTED] > tank.incr
>
> Am I g
If I do something like this:
zfs snapshot [EMAIL PROTECTED]
zfs send [EMAIL PROTECTED] > tank.backup
sleep 86400
zfs rename [EMAIL PROTECTED] [EMAIL PROTECTED]
zfs snapshot [EMAIL PROTECTED]
zfs send -I [EMAIL PROTECTED] [EMAIL PROTECTED] > tank.incr
Am I going to be able to restore the streams?
11 matches
Mail list logo