Re: [OmniOS-discuss] Backup script (one local, multiple remote snapshots)

2017-01-21 Thread Tobi Oetiker
try www.znapzend.org

cheers
tobi

Tobias Oetiker
t...@oetiker.ch
062 775 9902

> On 21 Jan 2017, at 19:00, Richard Elling  
> wrote:
> 
> 
> 
>> On Jan 21, 2017, at 8:07 AM, Dale Ghent  wrote:
>> 
>> We developed Zetaback for this.
> 
> +1 for zetaback. There are perhaps hundreds of implementations of this over 
> the years. I think you'll find that zetaback is one of the best designs.
> 
>  -- richard
> 
>> As for how you exactly want your snapshots to be in number and how long they 
>> should stay around, you might be able to configure a backup policy which 
>> covers that.
>> 
>> https://github.com/omniti-labs/zetaback
>> 
>> The documentation is perdoc within the zetaback script.
>> 
>> /dale
>> 
>>> On Jan 21, 2017, at 8:33 AM, Matej Žerovnik  wrote:
>>> 
>>> Hello,
>>> 
>>> I would like to implement backup for one of my servers with zfs send/recv. 
>>> My scenario would be the following:
>>> 
>>> For each dataset:
>>> - keep one daily snapshot on src server
>>> - copy daily snapshot from src server to backup server
>>> - on backup server, I would like to have one daily, one weekly and one 
>>> monthly snapshots
>>> 
>>> I checked out some ZFS backup scripts I found on GitHub, but non of them 
>>> did that I wanted (znapzend came close, but it keeps too many snapshots for 
>>> my case)
>>> 
>>> Does anyone has anything like that implementented? If yes, would be willing 
>>> to share?
>>> 
>>> Thanks, Matej
>>> ___
>>> OmniOS-discuss mailing list
>>> OmniOS-discuss@lists.omniti.com
>>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>> 
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Backup script (one local, multiple remote snapshots)

2017-01-21 Thread Richard Elling


> On Jan 21, 2017, at 8:07 AM, Dale Ghent  wrote:
> 
> We developed Zetaback for this.

+1 for zetaback. There are perhaps hundreds of implementations of this over the 
years. I think you'll find that zetaback is one of the best designs.

  -- richard

> As for how you exactly want your snapshots to be in number and how long they 
> should stay around, you might be able to configure a backup policy which 
> covers that.
> 
> https://github.com/omniti-labs/zetaback
> 
> The documentation is perdoc within the zetaback script.
> 
> /dale
> 
>> On Jan 21, 2017, at 8:33 AM, Matej Žerovnik  wrote:
>> 
>> Hello,
>> 
>> I would like to implement backup for one of my servers with zfs send/recv. 
>> My scenario would be the following:
>> 
>> For each dataset:
>> - keep one daily snapshot on src server
>> - copy daily snapshot from src server to backup server
>> - on backup server, I would like to have one daily, one weekly and one 
>> monthly snapshots
>> 
>> I checked out some ZFS backup scripts I found on GitHub, but non of them did 
>> that I wanted (znapzend came close, but it keeps too many snapshots for my 
>> case)
>> 
>> Does anyone has anything like that implementented? If yes, would be willing 
>> to share?
>> 
>> Thanks, Matej
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] Error updating R018 to R020

2017-01-21 Thread Stephan Budach

Hi,

I just tried updating one of my 018 nides to 020 and got this:

DOWNLOAD  PAKETE   DATEIEN ÜBERTRAGUNG 
(MB) Geschwindigkeit
Abgeschlossen397/397   13177/13177 289.9/289.9  
1.4M/s


PHASE   ELEMENTE
Alte Aktionen werden entfernt  4421/4421
Neue Aktionen werden installiert   2354/4824Action install 
failed for 'usr/java/jre/lib/zi/Asia/Barnaul' 
(pkg://omnios/developer/java/jdk):
  ActionExecutionError: Angeforderter Vorgang für Paket 
pkg://omnios/developer/java/jdk@1.7.0.101.0,5.11-0.151020:20161101T233853Z 
fehlgeschlagen:
'/tmp/tmp4VWN53/usr/java/jre/lib/zi/Asia/Barnaul' kann nicht installiert 
werden; übergeordnetes Verzeichnis /tmp/tmp4VWN53/usr/java ist ein Link 
zu /tmp/tmp4VWN53/usr/java_1.7.0_11. Zum Fortsetzen verschieben Sie das 
Verzeichnis an seinen ursprünglichen Speicherort und versuchen es erneut.
 Das derzeit ausgeführte System wurde nicht verändert. Die Änderungen 
wurden lediglich an einem Klon vorgenommen. Dieser Klon ist in 
/tmp/tmp4VWN53 geladen, falls Sie ihn prüfen möchten.


pkg: Angeforderter Vorgang für Paket 
pkg://omnios/developer/java/jdk@1.7.0.101.0,5.11-0.151020:20161101T233853Z 
fehlgeschlagen:
'/tmp/tmp4VWN53/usr/java/jre/lib/zi/Asia/Barnaul' kann nicht installiert 
werden; übergeordnetes Verzeichnis /tmp/tmp4VWN53/usr/java ist ein Link 
zu /tmp/tmp4VWN53/usr/java_1.7.0_11. Zum Fortsetzen verschieben Sie das 
Verzeichnis an seinen ursprünglichen Speicherort und versuchen es erneut.

root@zfsha02gh79:/root#


Basically, pkg complains about JDK.17.0.101.0 being a link instead of a 
real folder and wants me to move that one back to its original location. 
Well… seems, that I can't do that… ;)


Cheers,
Stephan


smime.p7s
Description: S/MIME cryptographic signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Backup script (one local, multiple remote snapshots)

2017-01-21 Thread Dale Ghent
We developed Zetaback for this. As for how you exactly want your snapshots to 
be in number and how long they should stay around, you might be able to 
configure a backup policy which covers that.

https://github.com/omniti-labs/zetaback

The documentation is perdoc within the zetaback script.

/dale

> On Jan 21, 2017, at 8:33 AM, Matej Žerovnik  wrote:
> 
> Hello,
> 
> I would like to implement backup for one of my servers with zfs send/recv. My 
> scenario would be the following:
> 
> For each dataset:
> - keep one daily snapshot on src server
> - copy daily snapshot from src server to backup server
> - on backup server, I would like to have one daily, one weekly and one 
> monthly snapshots
> 
> I checked out some ZFS backup scripts I found on GitHub, but non of them did 
> that I wanted (znapzend came close, but it keeps too many snapshots for my 
> case)
> 
> Does anyone has anything like that implementented? If yes, would be willing 
> to share?
> 
> Thanks, Matej
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] Backup script (one local, multiple remote snapshots)

2017-01-21 Thread Matej Žerovnik
Hello,

I would like to implement backup for one of my servers with zfs send/recv. My 
scenario would be the following:

For each dataset:
- keep one daily snapshot on src server
- copy daily snapshot from src server to backup server
- on backup server, I would like to have one daily, one weekly and one monthly 
snapshots

I checked out some ZFS backup scripts I found on GitHub, but non of them did 
that I wanted (znapzend came close, but it keeps too many snapshots for my case)

Does anyone has anything like that implementented? If yes, would be willing to 
share?

Thanks, Matej
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss