How to restore those archived messages?
On Friday, January 22, 2016 at 1:59:37 PM UTC+2, Greg Young wrote:Archiving as in putting them some place else
> By 'archiving' you mean backing up *.chk files?
>
> In that case how to 'restore' those 'archived' messages, later if we need
> to?
>
>> Why is it one huge stream? You can use many streams still and do the
>> same (reading from $all)
>
> We did not know better at that time.
>
>
>>
>> $maxAge will make them automatically eligible for scavenge. Just make
>> sure you have archived them away within that time frame.
>>
>> Why is it one huge stream? You can use many streams still and do the
>> same (reading from $all)
>>
>> > We have single huge stream and want to archive most of it, leaving only
>> > last
>> > 3 month of data
>> >
>> >>
>> >> Do a backup and always keep the original chunk files. They end in all
>> >> 0s.
>> >> Then, delete the streams you don't want anymore, or use stream
>> >> metadata.
>> >> Finally, run a scavenge. This will actually cause *more* space to be
>> >> taken
>> >> up initially. But after this you can safely remove the earlier chunk
>> >> versions.
>> >>
>> >> http://docs.geteventstore.com/server/3.4.0/database-backup/
>> >>
>> >> http://docs.geteventstore.com/dotnet-api/3.3.1/stream-metadata/
>> >>
>> >>>
>> >>> Hi,
>> >>> We have almost 2TB of messages and want to archive them, because we
>> >>> are
>> >>> running out of space on that partition.
>> >>> Our goal is to archive old messages (e.g. older that 3 month).
>> >>> Saying 'archive' I mean to put them somewhere (e.g. S3) and in case we
>> >>> need to reprocess all messages just to 'attach' old messages to
>> >>> existing
>> >>> stream.
>> >>> What options do we have?
>> >>>
>> >>> pavel
>> >>>
>> >>> --
>> >>> You received this message because you are subscribed to the Google
>> >>> Groups
>> >>> "Event Store" group.
>> >>> To unsubscribe from this group and stop receiving emails from it, send
>> >>> an
>> >>> email to [email protected].
>> >>> For more options, visit https://groups.google.com/d/optout.
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Sent from my regular computer
>> >> http://twitter.com/thefringeninja
>> >> http://www.thefringeninja.com/
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Event Store" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Studying for the Turing test
>
> --
> You received this message because you are subscribed to the Google Groups
> "Event Store" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
Studying for the Turing test