On Tue, 2002-04-30 at 09:51, Johannes Niess wrote:
> Hi,
> 
> I could need help in a somewhat unusual situation: A fellow PhD
> student is doing work time measurements with a proprietary digital
> video recoder based on Linux. His 120 GB disk is approaching full
> capacity and our only backup solution is the department server with
> its DAT DDS 4 tape drive (20 GB native) running Amanda for standard
> backups, of course. Without backup we have to process the data and
> delete it
...
> Has someone _done_ something similar? I can think of several
> ways to split my backup:
> 
> dd if=/dev/hdb of=/dev/rmt offset=...
> 
> tar -Mcvf /dev/hdb /dev/rmt
> 
If it were me, I would do a gnutar-wrapper or dump-wrapper type solution
(i.e have amanda call your script instead of dump or tar), and
call it 12 10G pseudo-partitions, named something like /dev/hdb/0
through /dev/hdb/11. Use a shell script and 
   dd skip=`expr 10 '*' $slice`G bs=1M count=10240
to actually generate the dump image.  Then to restore it you would do
something like:
   for slice in 0 1 2 3 4 5 6 7 8 9 10 11
   do
       amadmin config find host /dev/hdb/$slice\$
       echo "mount tape, press enter when ready"
        read line
       amrestore hostname -p host /dev/hdb/$slice  date | 
          rsh host dd seek=`expr 10 '*' $slice`G of=/dev/hdb
   done


Reply via email to