Re: [BackupPC-users] Trouble with tape archiving

2008-02-22 Thread Craig Barratt
Stian writes: When I replied to the thread four months later, I got no reply, so I try resending it in case Craig don't check so old threads... Yes, your reblocking patch is already on my todo list. Craig - This SF.net

[BackupPC-users] Trouble with tape archiving

2008-02-20 Thread Stian Jordet
When I replied to the thread four months later, I got no reply, so I try resending it in case Craig don't check so old threads... -Stian Original Message Subject: Re: [BackupPC-users] Trouble with tape archiving Date: Fri, 26 Oct 2007 14:22:18 +0200 From: Stian Jordet [EMAIL

Re: [BackupPC-users] Trouble with tape archiving

2007-10-26 Thread Stian Jordet
Craig Barratt wrote: Stian writes: [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h pontiac -n -1 -s \* . | /bin/gzip /dev/nst0 which is what backuppc tries to do when archiving to tape. And this does not work. As Dan and Ali mention, you can use buffer or dd

Re: [BackupPC-users] Trouble with tape archiving

2007-06-22 Thread Craig Barratt
Stian writes: [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h pontiac -n -1 -s \* . | /bin/gzip /dev/nst0 which is what backuppc tries to do when archiving to tape. And this does not work. As Dan and Ali mention, you can use buffer or dd to reblock the stream. You can

Re: [BackupPC-users] Trouble with tape archiving

2007-06-21 Thread Ali Bendriss
Hi, in a same idea you can use (many) dd to create a buffer BackupPC_tarCreate -h pontiac -n -1 -s \* . | gzip -c | dd obs=512k | dd obs=512k of=/dev/nst0 Need to be tested as well. Dan Smisko wrote: I would try the buffer util. It will reblock and buffer the input data. The default

Re: [BackupPC-users] Trouble with tape archiving

2007-06-20 Thread Stian Jordet
Ali Bendriss wrote: Hello, You should use tar with some compression option to send the data to the tape rather than gzip : Blabla | tar (some good option) some good option could be : -L, --tape-length N change tapes after writing N*1024 bytes -z, --gzip, --ungzip

Re: [BackupPC-users] Trouble with tape archiving

2007-06-20 Thread Nils Breunese (Lemonbit)
Stian Jordet wrote: First, I can't get it to work at all: cat /etc/apt/sources.list|tar -cf test.tar tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information. If you check 'tar --help' you'll see this is not correct usage of tar. Don't use

Re: [BackupPC-users] Trouble with tape archiving

2007-06-20 Thread Stian Jordet
Nils Breunese (Lemonbit) wrote: Stian Jordet wrote: First, I can't get it to work at all: cat /etc/apt/sources.list|tar -cf test.tar tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information. If you check 'tar --help' you'll see this is not

[BackupPC-users] Trouble with tape archiving

2007-06-19 Thread Stian Jordet
Hi! I have archived a couple of my hosts to tape for a good while now. It works great! But now the data has grown bigger than my AIT-tape, so I need to use compression. I tried to use that when I set it up for a long time ago, but I never could get it to work. Now I try again. [EMAIL