streamers & encryption

3 views
Skip to first unread message

plmuon

unread,
Nov 24, 2007, 5:07:10 AM11/24/07
to xar-devel
Hello,

Are there any catches to using xar tape streamers? The fact that it
seeks immediately to a file seems to make it extra well suited for
that.

Also I would like to make encrypted backups. Are there any plans to
add encryption?

regards,

peter

Rob Braun

unread,
Nov 26, 2007, 10:14:04 AM11/26/07
to xar-...@googlegroups.com
On Nov 24, 2007 2:07 AM, plmuon <plm...@gmail.com> wrote:
>
> Are there any catches to using xar tape streamers? The fact that it
> seeks immediately to a file seems to make it extra well suited for
> that.

I have not personally tried using xar directly from tape. I'd be
interested to know how it goes!

> Also I would like to make encrypted backups. Are there any plans to
> add encryption?

That is a good feature suggestion, I have no opposition to its inclusion.

Rob

plmuon

unread,
Nov 26, 2007, 6:01:30 PM11/26/07
to xar-devel
On Nov 26, 4:14 pm, "Rob Braun" <bbr...@gmail.com> wrote:
> On Nov 24, 2007 2:07 AM, plmuon <plm...@gmail.com> wrote:
>
>
>
> > Are there any catches to using xar tape streamers? The fact that it
> > seeks immediately to a file seems to make it extra well suited for
> > that.
>
> I have not personally tried using xar directly from tape. I'd be
> interested to know how it goes!

I tried it, but it doesn't work. It says "Error adding file ..."
Looking with strace I notice that xar writes a number of times 4096
bytes to the tape. Then after about 100 blocks, it tries to write 4096
bute write() returns less. The next time it returns -1 with errno
ENOSPC (no space left on device).

peter

Rob Braun

unread,
Nov 26, 2007, 6:09:04 PM11/26/07
to xar-...@googlegroups.com

Oh yes, you're going to need to create the archive on
random access storage, then write it to tape. Extraction
directly from tape should be possible.

Rob

Reply all
Reply to author
Forward
0 new messages