Bacula-users

Re: [Bacula-users] Move content of a volume to another volume

2017-01-06 07:43:03
Subject: Re: [Bacula-users] Move content of a volume to another volume
From: Lukas Hejtmanek <xhejtman AT ics.muni DOT cz>
To: Uwe Schuerkamp <uwe.schuerkamp AT nionex DOT net>, bacula-users AT lists.sourceforge DOT net
Date: Fri, 6 Jan 2017 13:42:01 +0100
On Fri, Jan 06, 2017 at 08:49:49AM +0100, Uwe Schuerkamp wrote:
> If you have enough disk space you could try rescuing the data using dd
> or cat and creating a replacement volume like this (tape in /dev/st0):
> 
> <stop bacula processes>
> 
> cat /dev/st0 > /big_file_system/tapedata.dat
> 
> mtx unload
> 
> <remove old tape>
> 
> <insert new tape>
> 
> mtx load <slot number>
> mt -f /dev/st0 rewind
> mt -f /dev/st0 weof # probably unnecessary for a new tape
> 
> cat /big_file_system/tapedata.dat >/dev/st0
> 
> I have no idea if this would work, but a verbatim copy of the data
> on a new tape should be accepted by bacula just fine.

doable, unfortunately, this would move the tape label as well but this is
something I don't want to as labels are according to barcodes.

-- 
Lukáš Hejtmánek

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users