Bacula-users

Re: [Bacula-users] using usb disk for daily off site backups with vchanger

2013-02-18 03:27:32
Subject: Re: [Bacula-users] using usb disk for daily off site backups with vchanger
From: Geert Stappers <Geert.Stappers AT vanadgroup DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 18 Feb 2013 09:26:00 +0100
Op 20130217 om 21:18 schreef mikeegg1:
> On Feb 17, 2013, at 9:36 AM, fsy <bacula-forum AT backupcentral DOT com> 
> wrote:
> 
> > Hi,
> > 
> > i want to backup to usb disks every day, so i decided to install vchanger 
> > and use one usb disk for every day.
> > 
> > my problem is that vchanger/bacula sometimes doesn't recognize my disks.
> > 
> > My vchanger config is:
> > 
> > changer_name = vchanger
> > virtual_drives = 1
> > slots_per_magazine = 6
> > magazine_bays = 1
> > automount_dir = /mnt/vchanger
> > magazine = UUID:c6aa86dc-0a2b-4386-81ae-79f8a6fd21d3
> > magazine = UUID:ab3266ac-12f1-4dc6-9448-3b144ee9ba08
> > magazine = UUID:047d3f77-b761-41d7-ab7a-0b98b9540ae3
> > magazine = UUID:b7391bf8-2f50-431e-9124-d0e969af09cf
> > magazine = UUID:df31b95c-5986-4f67-a754-0379d92e92bf
> > magazine = UUID:2d85d8c1-c197-4d5a-b8fe-016e7c37c56d
> > 
> > my autofs configuration:
> > 
> > /mnt/vchanger   /etc/auto.vchanger      --timeout=30
> > 
> > my autofs vchanger config:
> > 
> > *          -fstype=auto,rw,sync       :/dev/disk/by-uuid/&
> > 
> > if i try to run a backup job on the vchanger device i get the following:
> > 
> > 17-Feb 15:59 bacula-dir JobId 5665: shell command: run BeforeJob 
> > "/etc/bacula/holiday.sh"
> > 17-Feb 15:59 bacula-dir JobId 5665: BeforeJob: Date is not a known vacation 
> > day.
> > 17-Feb 15:59 bacula-dir JobId 5665: Start Backup JobId 5665, 
> > Job=test-USB.2013-02-17_15.59.33_33
> > 17-Feb 15:59 bacula-dir JobId 5665: Using Device "usb-changer-drive-0"
> > 17-Feb 15:59 bacula-sd JobId 5665: 3301 Issuing autochanger "loaded? drive 
> > 0" command.
> > 17-Feb 15:59 bacula-sd JobId 5665: 3302 Autochanger "loaded? drive 0", 
> > result: nothing loaded.
> > 17-Feb 15:59 bacula-sd JobId 5665: 3304 Issuing autochanger "load slot 2, 
> > drive 0" command.
> > 17-Feb 15:59 bacula-sd JobId 5665: Fatal error: 3992 Bad autochanger "load 
> > slot 2, drive 0": ERR=Unknown error during program execvp.
> > Results=failed to convert slot 2 to valid volume file name
> > 
> > 17-Feb 15:59 -fd JobId 5665: Fatal error: job.c:2395 Bad response to Append 
> > Data command. Wanted 3000 OK data
> > , got 3903 Error append data
> > 
> > the contents of my usb disk:
> > 
> > drive0  loaded0  loaded2  loaded4  lost+found          vchanger_0006_0003  
> > vchanger_0006_0005
> > index   loaded1  loaded3  loaded5  vchanger_0006_0002  vchanger_0006_0004  
> > vchanger_0006_0006
> > 
> > What could be wrong with my configuration?
> > 
> > thanks a lot
> > 
> > fsy
> > 
>
> I backup to USB disk each day. I have a final job (priority 40, less
> than everything else) that executes a pre-job-script (whatever).
>
> I can share the script with you tomorrow.

Please share it with the whole mailinglist.


> My fulls are now 2TB+ and run on the first Saturday of each month. I
> have moved to 4TB USB drives (room to grow).
>
> Mike
>

Cheers
Geert Stappers
-- 
http://www.vanadcimplicity.com/
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users