Re: [Bacula-users] start/stop client on demand

2007-07-03 Thread Rich

On 2007.07.02. 21:52, [EMAIL PROTECTED] wrote:
> 
> 
> Ah...
> 
> Some clarification: by clients, I meant the client application, the bacula-fd 
> agent rather then the machines themselves, though in general if you can use 
> RunBeforeJob with a completely shut down system and have no problems, doing 
> so with just a downed agent should be no problem as well.

is there any reason to keep bacula-fd shut down ? is it taking too much 
resources, or is this because of security reasons ?

the client probably could be additionally firewalled, if this is because 
of the security. as for resource consumption, i don't think bacula-fd 
resource usage is noticeable.

the only reason left is psychological wish to have it shut down, but 
that's another issue ;)

> Thanks,
> Andrew
...
-- 
  Rich

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can I use a remote network storage device?

2007-07-03 Thread Rich
On 2007.07.02. 18:56, nellyginrich wrote:
> Is it possible to use a remote network storage device as the backup medium
> with Bacula? 
> 
> My understanding from the documentation and the questions posed here, is
> that it isn't possible - because each storage device needs to have an
> attached machine on which the storage daemon is running. Am I right?
> 
> I have a remote linux (Fedora Core 6) server running Bacula (which works
> nicely with the test configuration to a file in /tmp), but I want the
> backups done to my local network here.  The Windows XP and 2000 pcs here are
> rather ancient, and not always on, so I am considering purchasing a network
> storage device (NSD), but cannot see how Bacula's daemon's running on the
> remote server will be able to contact this device. 

as has been already mentioned, one of the best solutions in yuor case 
would be a nas device that supports nfs.
you mount this device on the machine where sd resides, and back things 
up to it.

this will make clients connect to sd, and it will manage any further 
connections to nas.

make sure to check out wsize/rsize/tcp/udp and other nfs mount 
parameters - these can significantly impact nfs mount performance and 
reliability.

if you are worried about possible nas/network problems, it might also be 
a good idea to but some scripts in runbefore directive, that would check 
out network connections and bring them up, if necessary.
...
-- 
  Rich

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula status

2007-07-03 Thread Kern Sibbald
Hello,

With two exceptions, the next version (2.2.0) of Bacula is now ready:

1. I am currently working on pruning inchanger volumes that have the 
Scratch pool as their recycle pool (see my recent email on this).  If 
all goes well it will be completed this week.

2. A number of new features have not been tested:
- Restore of reparse points on Win32
- Compatibility of the new Win32 code (upgraded to support Vista)
   with older Win32 systems (Me, Win98, WinNT, Win2K, ...)
- Testing some new features such as the pipe input of the config file.

As mentioned above, I am working on item 1.  I am waiting for users to test 
and report back on item 2.

I'll be releasing beta version 2.1.24 either later today or tomorrow for 
testing.  Item 1 will, of course, not yet be completed, but I don't see it as 
a critical item for testing, nor should implementing it destabilize the code.

During the next three weeks, I will be largely unavailable because of a minor 
medical problem and scheduled vacation, so assuming the above items are 
resolved in that time, I could see version 2.2.0 being released in the first 
week or two of August.

Dirk and I are working on getting bat ported to Win32.  However, at the 
current time, I would give it only about a 50-60% chance of being completed 
for release 2.2.0 due to the complexities of cross-compiling a full Qt4 for 
Win32.

In case you are unaware, the bat project is quite important since in the 
volting last December by the Bacula users ranked as the second highest 
priority.  Although I started the project, and did much of the base coding on 
it as well as the new Bacula interface to bat, Dirk Bartley has implemented 
probably 80% of the current features, which amounts to a considerable amount 
of code -- many thanks Dirk. 

Thanks to Frank Sweetser for recently posting screen shots of bat.  Tip: there 
are quite a number of bat features and windows accessible only by right 
clicking on items to bring up the context sensitive menus.

Best regards,

Kern

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] using more than 1 tape drive with an autochanger

2007-07-03 Thread Vamegh Hedayati

Hello All,

I have the following configuration.. (This is for a poc before rolling out)


bacula-poc (main server + dns)   ---> BaculaCLient1 (fd)
|  |
|  | -->
BaculaClient2 (fd)
|  |
|  |-> wacula
(windows fd client)
|
\/
stakulah (storage daemon) attached to a qualstar 4400 with 2 tape drives.


Configuration files for the director and storage daemon are below this
email.

Everything works great the backups run. I have gotten tls to work and
encryption to work.

The only issue I have is that only 1 tape drive is ever used even though the
qualstar has 2.. I set it to run all jobs at the same time to do a full run
of the backup data (its all test data as this is a proof of concept) however
it only uses one 1 tape drive.. The qualstar is a 48 tape changer and also
works by reading the barcodes so have added all of the tapes to one pool
called default.

list media produces the following:


*list media
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Pool: Default
+-++---+-++--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes   | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+-++---+-++--+--+-+--+---+---+-+
|   1 | B2-W6-T-01 | Error |   1 | 44,808,035,328 |  105 |
31,536,000 |   1 |1 | 1 | AIT2  | 2007-06-22 17:34:20 |
|   2 | B2-W6-T-02 | Full  |   1 | 45,042,471,936 |   65 |
31,536,000 |   1 |2 | 1 | AIT2  | 2007-07-01 20:16:39 |
|   3 | B2-W6-T-03 | Append|   1 |  3,284,112,384 |6 |
31,536,000 |   1 |3 | 1 | AIT2  | 2007-07-02 17:50:27 |
|   4 | B2-W6-T-04 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |4 | 1 | AIT2  | -00-00 00:00:00 |
|   5 | B2-W6-T-05 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |5 | 1 | AIT2  | -00-00 00:00:00 |
|   6 | B2-W6-T-07 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |7 | 1 | AIT2  | -00-00 00:00:00 |
|   7 | B2-W6-T-08 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |8 | 1 | AIT2  | -00-00 00:00:00 |
|   8 | B2-W6-T-09 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |9 | 1 | AIT2  | -00-00 00:00:00 |
|   9 | B2-W6-T-10 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |   10 | 1 | AIT2  | -00-00 00:00:00 |
|  10 | B2-W6-T-11 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |   11 | 1 | AIT2  | -00-00 00:00:00 |
|  11 | B2-W6-T-12 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |   12 | 1 | AIT2  | -00-00 00:00:00 |
|  12 | B2-W6-T-13 | Append|   1 | 64,512 |0 |
31,536,000 |   1 |   13 | 1 | AIT2  | -00-00 00:00:00 |
+-++---+-++--+--+-+--+---+---+-+
Pool: WindowsTest
No results to list.
Pool: test
No results to list.


Also status to the storage daemon is as follows:


*status
Status available for:
1: Director
2: Storage
3: Client
4: All
Select daemon type for status (1-4): 2
Automatically selected Storage: Qualstar-4400
Connecting to Storage daemon Qualstar-4400 at stakulah:9103

stakulah Version: 2.0.3 (06 March 2007) i686-redhat-linux-gnu redhat
Daemon started 22-Jun-07 17:47, 67 Jobs run since started.
Heap: bytes=88,592 max_bytes=252,358 bufs=117 max_bufs=121

Running Jobs:
Backup Job logs-client2.2007-07-02_16.30.02 waiting for Client connection.
Writing: Full Backup job logs-client2 JobId=238 Volume="B2-W6-T-03"
   pool="Default" device=""Sony-500c-1" (/dev/nst0)"
   spooling=0 despooling=0 despool_wait=0
   Files=0 Bytes=0 Bytes/sec=0
   FDSocket closed


Jobs waiting to reserve a drive:


Terminated Jobs:
JobId  LevelFiles  Bytes   Status   FinishedName
===
  227  Full  1,36520.55 M  OK   01-Jul-07 17:50 Client1
  228  Full  0 0   Other01-Jul-07 18:20 logs
  229  Full  0 0   Other01-Jul-07 18:50 logs-client2
  230  Full  0 0   Other01-Jul-07 19:20 local-backup
  231  Full  0 0   Other

[Bacula-users] Bacula references

2007-07-03 Thread Ricardo Lorenzo Rodríguez

Hi,

We are a team who have many deployments of Bacula in Spain (including regional 
goverments) with a different kind of hardware (auto-loaders and libraries), and 
we need succesfull references from other users (in Spain and oustide) for a new 
Public Administration backup project.

We hope, you can help us!! Thank you

--

* WHITE BEAR 
SOLUTIONS* 	  	*Ricardo Lorenzo Rodríguez*

/Director de Ingeniería de Sistemas/
Tlf: (+34) 913043824 / 637781745 Fax: (+34) 913043890
E-mail: [EMAIL PROTECTED] 
 [ cert 
 
] [ ca  ]
	  

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job Retention strangeness

2007-07-03 Thread Andreas Koch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

we've been relying on Bacula for quite a while now and are very
satisfied users. However, I just noticed a strangeness with regard to
Job Retention on 1.38.9:

It appears to be obeyed only for our differential backup jobs, _not_ for
the full backups. Specifically, we set common retention periods for the
the client (there's only one in this setup) as:

# Client (File Services) to backup
Client {
  Name = erebor-fd
  Address = localhost
  FDPort = 9102
  Catalog = MyCatalog
  Password = secret
  File Retention = 60 days
  Job Retention = 5 years
  AutoPrune = yes # Prune expired Jobs/Files
}

and then have two backup jobs for that client (each consisting of either
a full or differential backupd, followed by a full backup of the catalog:

Schedule {
  Name = "WeeklyCycle"
  Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:05
  Run = Level=Differential Pool=SundayTapePool   2nd-5th sun at 4:05
  Run = Level=Differential Pool=ThursdayTapePool thu at 4:05
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:10
  Run = Level=Full Pool=SundayTapePool   2nd-5th sun at 4:10
  Run = Level=Full Pool=ThursdayTapePool thu at 4:10
}

However, when I look at the list of jobs using `list jobs`, only older
Differential jobs (from the Sunday and Thursday pools) are listed, e.g., as

| 7 | DefaultBackup   | 2005-09-08 04:05:02 | B| D |
109705   | 4215201717  | T |
| 8 | BackupCatalog   | 2005-09-08 04:16:54 | B| F | 1
  | 309270413   | T |

starting in September 2005. The earliest full backup (Monthly) backup is

| 279   | DefaultBackup   | 2006-12-03 04:05:04 | B| F |
2950669  | 88924511321 | T |
| 280   | BackupCatalog   | 2006-12-03 10:49:32 | B| F | 1
  | 1667026066  | T |

thus, December 2006. What happened to all of the other Full backups in
the meantime (which were definitely written to the tapes)?

At a glance, it appears that the Job Retention time appeared to ``take''
only for the Differentials, and that the Full backups use the default of
180 days.

Any ideas on what I might be doing wrong here?

Many thanks,
  Andreas Koch

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGihz8k5ta2EV7DowRAmaJAJ4zms7xZ7jLCBPQxCLiAd7R0rIQnACfcYyi
0k3PtHCwU1wsaXYAcSTP6r4=
=kBtC
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job Retention strangeness

2007-07-03 Thread Klavs Klavsen
Hi Andreas,

You could try to update volume parameters on the volumes used for full
backup - perhaps the volumes were created before you defined the File
retention of 60 days - and it's one of the parameters that are stored on
the volume itself (my bacula server is currently unavailable - so I
can't verify if that parameter actually is on the volume).

on 07/03/07 11:55 Andreas Koch wrote:
> Hi all,
> 
> we've been relying on Bacula for quite a while now and are very
> satisfied users. However, I just noticed a strangeness with regard to
> Job Retention on 1.38.9:
> 
> It appears to be obeyed only for our differential backup jobs, _not_ for
> the full backups. Specifically, we set common retention periods for the
> the client (there's only one in this setup) as:
> 
> # Client (File Services) to backup
> Client {
>   Name = erebor-fd
>   Address = localhost
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = secret
>   File Retention = 60 days
>   Job Retention = 5 years
>   AutoPrune = yes # Prune expired Jobs/Files
> }
> 
> and then have two backup jobs for that client (each consisting of either
> a full or differential backupd, followed by a full backup of the catalog:
> 
> Schedule {
>   Name = "WeeklyCycle"
>   Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:05
>   Run = Level=Differential Pool=SundayTapePool   2nd-5th sun at 4:05
>   Run = Level=Differential Pool=ThursdayTapePool thu at 4:05
> }
> 
> # This schedule does the catalog. It starts after the WeeklyCycle
> Schedule {
>   Name = "WeeklyCycleAfterBackup"
>   Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:10
>   Run = Level=Full Pool=SundayTapePool   2nd-5th sun at 4:10
>   Run = Level=Full Pool=ThursdayTapePool thu at 4:10
> }
> 
> However, when I look at the list of jobs using `list jobs`, only older
> Differential jobs (from the Sunday and Thursday pools) are listed, e.g., as
> 
> | 7 | DefaultBackup   | 2005-09-08 04:05:02 | B| D |
> 109705   | 4215201717  | T |
> | 8 | BackupCatalog   | 2005-09-08 04:16:54 | B| F | 1
>   | 309270413   | T |
> 
> starting in September 2005. The earliest full backup (Monthly) backup is
> 
> | 279   | DefaultBackup   | 2006-12-03 04:05:04 | B| F |
> 2950669  | 88924511321 | T |
> | 280   | BackupCatalog   | 2006-12-03 10:49:32 | B| F | 1
>   | 1667026066  | T |
> 
> thus, December 2006. What happened to all of the other Full backups in
> the meantime (which were definitely written to the tapes)?
> 
> At a glance, it appears that the Job Retention time appeared to ``take''
> only for the Differentials, and that the Full backups use the default of
> 180 days.
> 
> Any ideas on what I might be doing wrong here?
> 
> Many thanks,
>   Andreas Koch
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

"Those who do not understand Unix are condemned to reinvent it, poorly."
  --Henry Spencer

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Programming last friday of month

2007-07-03 Thread Juan Asensio Sánchez
Hi

I want to make a backup in a different pool last friday of the month?
is this possible?

Schedule:
Pool1: 1st - (last-1) friday (from first to last penultimate friday)
Pool 2: Last friday of month

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] volume/pool help

2007-07-03 Thread Megan Kispert

Thank you.  I think I confused myself when I tried to put differentials on 
dump2 and fulls on dump1 for all clients.

I was having some problem getting the catalog backup to work.  I may have 
corrupted things when fixing that the other day without even realizing it. 
I will re-create everything and see how it goes.

Thanks,

Megan



On Mon, 2 Jul 2007, Arno Lehmann wrote:

> Hi,
>
> 02.07.2007 20:06,, Megan Kispert wrote::
>> I have read the documentation but I am still very confused over the
>> pool/volume setup when dealing with disks.  I have two large raid disks
>> that I was trying to use (dump1 and dump2).  I would like to have fulls
>> goto one disk and incremental backups goto the other, or, have some
>> servers backup to dump1 and some to dump2 so that I can manage space.  I
>> am open to any suggestions on howto setup the volumes/pools.
>
> Ok, the usual idea is to create two storage devices, one using dump1,
> the other using dump2 as storage.
>
> Then, link these storages with pools, link the pools to the jobs or
> job levels, and that's all :-)
>
> Suggesting how to setup these links is impossible for us, because we
> know neither the capacity of the disks you have, nor the size of your
> backups for your clients.
>
> If you have clients of more or less similar size, disks of similar
> size, and expect your differential and incremental backups to use much
> less space than the full ones, assigning half of the clients to dump1
> and the others to dump2 would be the most reasonable setup.
>
>> Last night I got the following error with my current volume/pool setup.
>> Does anybody know what that means or how to fix it?
>>
>>
>>
>> 02-Jul 11:57 backup1-dir: BeforeJob: run command
>> "/etc/bacula/make_catalog_backu
>> p t t"
>> 02-Jul 11:57 backup1-dir: Start Backup JobId 45,
>> Job=BackupCatalog.2007-07-02_11
>> .57.21
>> 02-Jul 11:57 backup1-sd: Volume "Full_0002" previously written, moving to
>> end of
>>   data.
>> 02-Jul 11:58 backup1-sd: Job write elapsed time = 00:00:10, Transfer rate
>> = 38.9
>> 2 M bytes/second
>> 02-Jul 11:58 backup1-dir: BackupCatalog.2007-07-02_11.57.21 Fatal error:
>> Volume
>> Files at 91 being set to 1 for Volume "Full_0002". This is incorrect.
>> 02-Jul 11:58 backup1-sd: BackupCatalog.2007-07-02_11.57.21 Fatal error:
>> Error ge
>> tting Volume info: 1992 Update Media error. VolFiles=1, CatFiles=91
>
> This indicates that the catalog is kind of broken.
> It looks like your previous job used the volume Full_0002 correctly,
> but the BackupCatalog job failed because the number of files on the
> volume and stored in the catalog don't match.
>
> That might be caused by the previous job, which perhaps truncated that
> volume after the BackupCatalog job was already started.
>
> Job reports for the jobs using Full_0002 previously would be helpful.
>
> Arno
>
>
>> 02-Jul 11:58 backup1-dir: BackupCatalog.2007-07-02_11.57.21 Error: Bacula
>> 2.0.3
>> (06Mar07): 02-Jul-2007 11:58:09
>>JobId:  45
>>Job:BackupCatalog.2007-07-02_11.57.21
>>Backup Level:   Full
>>Client: "backup1-fd" 2.0.3 (06Mar07)
>> i686-pc-linux-gnu,redhat,
>>FileSet:"Catalog" 2007-06-29 23:10:00
>>Pool:   "Full" (From Job FullPool override)
>>Storage:"Dump1" (From Job resource)
>>Scheduled time: 02-Jul-2007 11:57:20
>>Start time: 02-Jul-2007 11:57:59
>>End time:   02-Jul-2007 11:58:09
>>Elapsed time:   10 secs
>>Priority:   11
>>FD Files Written:   1
>>SD Files Written:   1
>>FD Bytes Written:   389,215,918 (389.2 MB)
>>SD Bytes Written:   389,216,036 (389.2 MB)
>>Rate:   38921.6 KB/s
>>Software Compression:   None
>>VSS:no
>>Encryption: no
>>Volume name(s): Full_0002
>>Volume Session Id:  1
>>Volume Session Time:1183391798
>>Last Volume Bytes:  166,156,736,011 (166.1 GB)
>>Non-fatal FD errors:0
>>SD Errors:  0
>>FD termination status:  OK
>>SD termination status:  Error
>>Termination:*** Backup Error ***
>> 
>> *show pools
>> Pool: name=Full PoolType=Backup
>>use_cat=1 use_once=0 cat_files=1
>>max_vols=0 auto_prune=1 VolRetention=7 days
>>VolUse=0 secs recycle=1 LabelFormat=*None*
>>CleaningPrefix=*None* LabelType=0
>>RecyleOldest=0 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0
>>MigTime=0 secs MigHiBytes=0 MigLoBytes=0
>> Pool: name=Inc PoolType=Backup
>>use_cat=1 use_once=0 cat_files=1
>>max_vols=0 auto_prune=1 VolRetention=7 days
>>VolUse=0 secs recycle=1 LabelFormat=*None*
>>CleaningPrefix=*None* LabelType=0
>>RecyleOldest=0 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0
>>MigTime=0 secs MigHiByt

Re: [Bacula-users] using more than 1 tape drive with an autochanger

2007-07-03 Thread Arno Lehmann
Hi,

just a short answer:

02.07.2007 18:26,, Vamegh Hedayati wrote::
> Hello All,
...
> 1. Can 1 pool use 2 tape drives simultaneously ? and if so how do I 
> force bacula to use both tape drives ?

"Prefer Monted Volume=No" in the job configuration.
Only use the autochanger you configured in the jobs.

Arno

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] using more than 1 tape drive with an autochanger

2007-07-03 Thread John Drescher
> I have One main question, which is:
>
>
> 1. Can 1 pool use 2 tape drives simultaneously ? and if so how do I force
> bacula to use both tape drives ?
>
Although I have had tapes from the same pool loaded in both drives of
my autochanger at one time I am not sure that it did simultaneous
backups using both drives this way so I am not sure so I will let some
one else answer this part.

>
> If the answer is no, would I need to use more than 1 pool for each tape
> drive  and does anyone have a sample configuration or could point me in the
> right direction for setting this up ?
> I have tried using more than one pool simultaneously in the past but this
> has given me problems when coming to tape changes as it asks for manual tape
> changing..
Did you remove tapes without telling bacula with update tapes? Or did
you preallocate a lot of tapes to one pool and thus have no tapes for
a second pool?

If you preallocated tapes to one pool the solution is to add them to
the "Scratch" pool. Bacula has a built in pool that when it has no
valid tapes in the correct pool it will grab one from the "Scratch"
pool if it can. With my multidirve (2 drive 24 slot)  autochanger I
add all tapes to the Scratch pool and let bacula move tapes to either
of the 6 other pools I have defined when it needs. My pools are
basically UserData, SystemData, ArchiveSet1,ArchiveSet2, TempData.

John

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Programming last friday of month

2007-07-03 Thread Flak Magnet
On Tuesday 03 July 2007 7:04:52 am Juan Asensio Sánchez wrote:
> Hi
>
> I want to make a backup in a different pool last friday of the month?
> is this possible?
>
> Schedule:
> Pool1: 1st - (last-1) friday (from first to last penultimate friday)
> Pool 2: Last friday of month

I don't think the schedule does the "math" to enable you to configure a 
schedule like you've described for pool1 ("last-1").

Is there a problem with turning your desired schedule upside down and instead 
backing up to the different pool on the 1st friday of each month then the 
other pool for the rest?

It would look something like:

Pool1: 2nd - 5th Friday
Pool2:  1st Friday

Note:  No month is going to have more than 5 Fridays, but many have just four.  
So in months with only 4 Fridays the "5th Friday backup" is just never 
scheduled.

-- 
-- Flak Magnet (Tim)
www.flakmagnet.com

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Pools and Retention

2007-07-03 Thread Gijs Roeffen - Aleto
Dear List,

This is my first e-mail, im toying around with Bacula for quite some time 
now and i must say im quite impressed with its possibilites.

Currently i think i have tested backup roughly enough to replace our current 
backup system (a simple tar czvf ;)). I have about 14 clients configured in 
Bacula now, they are all talking nicely to the director. Setted up the 
storage daemon etc. etc.

However, one thing i just cant quite figure out is Volume Usage and 
duration. My backup scheme is as follows;

full backup at suni
incremental backups mon-sat

I want to keep Incremnetal backups for one week Until the Next Full, and i 
want to keep Full backups one month.

I have definied this as followed in the Director's config:

- All 16 JobDefs have;
  - At the JobDefs { Section;

  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Rerun Failed Levels = yes
  Pool = Default
  Full Backup Pool = Full-Pool
  Incremental Backup Pool = Inc-Pool

- at the Client { section ;
  File Retention = 1 months# 1 month
  Job Retention = 1 months# 1 month
  AutoPrune = yes # Prune expired Jobs/Files

Schedule is as follows;

Schedule {
  Name = "WeeklyCycle"
  Run = Full sun at 21:05
  Run = Incremental mon-sat at 22:05
}

I have the pools configured as following;

# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle 
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 30 days # one month
#  Accept Any Volume = yes # write on any volume in the pool
}

Pool {
  Name = Full-Pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1m
  Volume Use Duration = 1m
  Maximum Volume Jobs = 14
  Label Format = SBP-server16-Full
}

Pool {
  Name = Inc-Pool
  Pool Type = Backup
  Recycle = yes   # automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 6d
  Volume Use Duration = 6d
  Maximum Volume Jobs = 14
  Label Format = SBP-server16-Inc
}

My question basically is, is this setup going to work? I have followed the 
manual on automated disk backup but after reading that im not quite sure 
what to do.

Thanks in advance for any reply/comments or suggestions!

Kind regards,

Gijs Roeffen
Aleto Internet







-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] To rewind or not to rewind...

2007-07-03 Thread Shon Stephens

that is my question. My mtx-changer script currently contains

mt -f  $device rewoffl

in the "unload" routine. I don't believe that my tapes should be being
rewound, but I'm just not sure. Basically, if the tape is in PoolA and a job
runs that  needs a tape from PoolB, it will rewind the tape from PoolA,
unload it, and load the tape from PoolB. The next job could need the tape
from PoolA, if this tape gets loaded, will it being rewound previously cause
Bacula to overwrite data? Or will Bacula seek the tape to find where to
append to?

Also, when I need to change magazines in my autochanger, should I rewind the
tapes first? The next time the tapes go back into the magazine, they will be
overwritten.

Thanks,
Shon
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job Retention strangeness

2007-07-03 Thread Martin Simmons
> On Tue, 03 Jul 2007 11:55:11 +0200, Andreas Koch said:
> 
> Hi all,
> 
> we've been relying on Bacula for quite a while now and are very
> satisfied users. However, I just noticed a strangeness with regard to
> Job Retention on 1.38.9:
> 
> It appears to be obeyed only for our differential backup jobs, _not_ for
> the full backups. Specifically, we set common retention periods for the
> the client (there's only one in this setup) as:
> 
> # Client (File Services) to backup
> Client {
>   Name = erebor-fd
>   Address = localhost
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = secret
>   File Retention = 60 days
>   Job Retention = 5 years
>   AutoPrune = yes # Prune expired Jobs/Files
> }
> 
> and then have two backup jobs for that client (each consisting of either
> a full or differential backupd, followed by a full backup of the catalog:
> 
> Schedule {
>   Name = "WeeklyCycle"
>   Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:05
>   Run = Level=Differential Pool=SundayTapePool   2nd-5th sun at 4:05
>   Run = Level=Differential Pool=ThursdayTapePool thu at 4:05
> }
> 
> # This schedule does the catalog. It starts after the WeeklyCycle
> Schedule {
>   Name = "WeeklyCycleAfterBackup"
>   Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:10
>   Run = Level=Full Pool=SundayTapePool   2nd-5th sun at 4:10
>   Run = Level=Full Pool=ThursdayTapePool thu at 4:10
> }
> 
> However, when I look at the list of jobs using `list jobs`, only older
> Differential jobs (from the Sunday and Thursday pools) are listed, e.g., as
> 
> | 7 | DefaultBackup   | 2005-09-08 04:05:02 | B| D | 109705   
> | 4215201717  | T |
> | 8 | BackupCatalog   | 2005-09-08 04:16:54 | B| F | 1
> | 309270413   | T |
> 
> starting in September 2005. The earliest full backup (Monthly) backup is
> 
> | 279   | DefaultBackup   | 2006-12-03 04:05:04 | B| F | 2950669  
> | 88924511321 | T |
> | 280   | BackupCatalog   | 2006-12-03 10:49:32 | B| F | 1
> | 1667026066  | T |
> 
> thus, December 2006. What happened to all of the other Full backups in
> the meantime (which were definitely written to the tapes)?
> 
> At a glance, it appears that the Job Retention time appeared to ``take''
> only for the Differentials, and that the Full backups use the default of
> 180 days.
> 
> Any ideas on what I might be doing wrong here?

Maybe the Volume Retention is set in the volumes, so they were pruned?  This
prunes the jobs too.

__Martin

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job Retention strangeness

2007-07-03 Thread Andreas Koch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Klavs Klavsen wrote:
> Hi Andreas,
> 
> You could try to update volume parameters on the volumes used for full
> backup - perhaps the volumes were created before you defined the File
> retention of 60 days - and it's one of the parameters that are stored on
> the volume itself (my bacula server is currently unavailable - so I
> can't verify if that parameter actually is on the volume).

I think that only Volume Retention is on the volumes. Job and File
Retention are in the Client:

*llist clients
  ClientId: 1
  Name: erebor-fd
 Uname: x86_64-pc-linux-gnu,redhat,Enterprise release
 AutoPrune: 1
 FileRetention: 5184000
  JobRetention: 15768


So, that can't be it. Actually, it was my first thought, too, that I
needed to do an update. But there seems to something else wrong here.

Andreas

> 
> on 07/03/07 11:55 Andreas Koch wrote:
>> Hi all,
>>
>> we've been relying on Bacula for quite a while now and are very
>> satisfied users. However, I just noticed a strangeness with regard to
>> Job Retention on 1.38.9:
>>
>> It appears to be obeyed only for our differential backup jobs, _not_ for
>> the full backups. Specifically, we set common retention periods for the
>> the client (there's only one in this setup) as:
>>
>> # Client (File Services) to backup
>> Client {
>>   Name = erebor-fd
>>   Address = localhost
>>   FDPort = 9102
>>   Catalog = MyCatalog
>>   Password = secret
>>   File Retention = 60 days
>>   Job Retention = 5 years
>>   AutoPrune = yes # Prune expired Jobs/Files
>> }
>>
>> and then have two backup jobs for that client (each consisting of either
>> a full or differential backupd, followed by a full backup of the catalog:
>>
>> Schedule {
>>   Name = "WeeklyCycle"
>>   Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:05
>>   Run = Level=Differential Pool=SundayTapePool   2nd-5th sun at 4:05
>>   Run = Level=Differential Pool=ThursdayTapePool thu at 4:05
>> }
>>
>> # This schedule does the catalog. It starts after the WeeklyCycle
>> Schedule {
>>   Name = "WeeklyCycleAfterBackup"
>>   Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:10
>>   Run = Level=Full Pool=SundayTapePool   2nd-5th sun at 4:10
>>   Run = Level=Full Pool=ThursdayTapePool thu at 4:10
>> }
>>
>> However, when I look at the list of jobs using `list jobs`, only older
>> Differential jobs (from the Sunday and Thursday pools) are listed, e.g., as
>>
>> | 7 | DefaultBackup   | 2005-09-08 04:05:02 | B| D |
>> 109705   | 4215201717  | T |
>> | 8 | BackupCatalog   | 2005-09-08 04:16:54 | B| F | 1
>>   | 309270413   | T |
>>
>> starting in September 2005. The earliest full backup (Monthly) backup is
>>
>> | 279   | DefaultBackup   | 2006-12-03 04:05:04 | B| F |
>> 2950669  | 88924511321 | T |
>> | 280   | BackupCatalog   | 2006-12-03 10:49:32 | B| F | 1
>>   | 1667026066  | T |
>>
>> thus, December 2006. What happened to all of the other Full backups in
>> the meantime (which were definitely written to the tapes)?
>>
>> At a glance, it appears that the Job Retention time appeared to ``take''
>> only for the Differentials, and that the Full backups use the default of
>> 180 days.
>>
>> Any ideas on what I might be doing wrong here?
>>
>> Many thanks,
>>   Andreas Koch
>>
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


- --
Prof. Dr. Andreas Koch[EMAIL PROTECTED]
Technische Universität Darmstadt, FB20Phone  : x49-6151-16-4378
Embedded Systems and Applications Group (ESA) FAX: x49-6151-16-5472
Hochschulstr. 10, D-64289 Darmstadt, Germany   * PGP key available *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGingNk5ta2EV7DowRAhpxAJ98mq9wfBqE4epEcgitmKv+RWFKqwCfUcHS
gonnqn83dB9mXopoEQuo+TY=
=mpJO
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] To rewind or not to rewind...

2007-07-03 Thread John Drescher

On 7/3/07, Shon Stephens <[EMAIL PROTECTED]> wrote:


that is my question. My mtx-changer script currently contains

mt -f  $device rewoffl

in the "unload" routine. I don't believe that my tapes should be being
rewound, but I'm just not sure. Basically, if the tape is in PoolA and a job
runs that  needs a tape from PoolB, it will rewind the tape from PoolA,
unload it, and load the tape from PoolB. The next job could need the tape
from PoolA, if this tape gets loaded, will it being rewound previously cause
Bacula to overwrite data? Or will Bacula seek the tape to find where to
append to?

Also, when I need to change magazines in my autochanger, should I rewind
the tapes first? The next time the tapes go back into the magazine, they
will be overwritten.



I am not sure what type of drive you are using but with DLT or LTO I know
the drive will do this during an unload as this media has one spool on the
drive and one spool on the tape so the only way to unload it would be to
rewind first.

If you have a tape media with 2 spools (AIT?) bacula still rewinds  on
unload  because  on every load it reads the tape header which is the
beginning of the tape.

John
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job Retention strangeness

2007-07-03 Thread Martin Simmons
> On Tue, 03 Jul 2007 12:47:51 +0200, Klavs Klavsen said:
> 
> Hi Andreas,
> 
> You could try to update volume parameters on the volumes used for full
> backup - perhaps the volumes were created before you defined the File
> retention of 60 days - and it's one of the parameters that are stored on
> the volume itself (my bacula server is currently unavailable - so I
> can't verify if that parameter actually is on the volume).

None of the retention times are stored on the volume itself, but the volume
retention time is stored in the catalog record for each volume (copied from
the pool).  Since a volume can contain many jobs for many clients, the file
and job retentions can't be stored on the volume.

__Martin


> 
> on 07/03/07 11:55 Andreas Koch wrote:
> > Hi all,
> > 
> > we've been relying on Bacula for quite a while now and are very
> > satisfied users. However, I just noticed a strangeness with regard to
> > Job Retention on 1.38.9:
> > 
> > It appears to be obeyed only for our differential backup jobs, _not_ for
> > the full backups. Specifically, we set common retention periods for the
> > the client (there's only one in this setup) as:
> > 
> > # Client (File Services) to backup
> > Client {
> >   Name = erebor-fd
> >   Address = localhost
> >   FDPort = 9102
> >   Catalog = MyCatalog
> >   Password = secret
> >   File Retention = 60 days
> >   Job Retention = 5 years
> >   AutoPrune = yes # Prune expired Jobs/Files
> > }
> > 
> > and then have two backup jobs for that client (each consisting of either
> > a full or differential backupd, followed by a full backup of the catalog:
> > 
> > Schedule {
> >   Name = "WeeklyCycle"
> >   Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:05
> >   Run = Level=Differential Pool=SundayTapePool   2nd-5th sun at 4:05
> >   Run = Level=Differential Pool=ThursdayTapePool thu at 4:05
> > }
> > 
> > # This schedule does the catalog. It starts after the WeeklyCycle
> > Schedule {
> >   Name = "WeeklyCycleAfterBackup"
> >   Run = Level=Full Pool=MonthlyTapePool  1st sun at 4:10
> >   Run = Level=Full Pool=SundayTapePool   2nd-5th sun at 4:10
> >   Run = Level=Full Pool=ThursdayTapePool thu at 4:10
> > }
> > 
> > However, when I look at the list of jobs using `list jobs`, only older
> > Differential jobs (from the Sunday and Thursday pools) are listed, e.g., as
> > 
> > | 7 | DefaultBackup   | 2005-09-08 04:05:02 | B| D |
> > 109705   | 4215201717  | T |
> > | 8 | BackupCatalog   | 2005-09-08 04:16:54 | B| F | 1
> >   | 309270413   | T |
> > 
> > starting in September 2005. The earliest full backup (Monthly) backup is
> > 
> > | 279   | DefaultBackup   | 2006-12-03 04:05:04 | B| F |
> > 2950669  | 88924511321 | T |
> > | 280   | BackupCatalog   | 2006-12-03 10:49:32 | B| F | 1
> >   | 1667026066  | T |
> > 
> > thus, December 2006. What happened to all of the other Full backups in
> > the meantime (which were definitely written to the tapes)?
> > 
> > At a glance, it appears that the Job Retention time appeared to ``take''
> > only for the Differentials, and that the Full backups use the default of
> > 180 days.
> > 
> > Any ideas on what I might be doing wrong here?
> > 
> > Many thanks,
> >   Andreas Koch
> > 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> -- 
> Regards,
> Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
> PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
> 
> "Those who do not understand Unix are condemned to reinvent it, poorly."
>   --Henry Spencer
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/lis

Re: [Bacula-users] Job Retention strangeness

2007-07-03 Thread Andreas Koch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Simmons wrote:
>
> Maybe the Volume Retention is set in the volumes, so they were pruned?  This
> prunes the jobs too.
> 
> __Martin

No, the Volume Retention is set much longer, too:

+-+--+---+--+--+--+-+--+---+---+-+
| MediaId | VolumeName   | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+-+--+---+--+--+--+-+--+---+---+-+
| 1   | Monthly-0001 | Recycle   | 1| 0|
15768| 1   | 0| 1 | LTO-2 | 2005-09-04
20:36:36 |
| 2   | Monthly-0002 | Purged| 55995302042  | 57   |
15768| 1   | 0| 1 | LTO-2 | 2005-10-02
06:10:29 |
| 3   | Monthly-0003 | Purged| 61234491048  | 63   |
15768| 1   | 0| 1 | LTO-2 | 2005-11-06
07:11:20 |
...

That's the reason why I'm so stumped, I thought I had figured all of
these details out by now :-)

Andreas


- --
Prof. Dr. Andreas Koch[EMAIL PROTECTED]
Technische Universität Darmstadt, FB20Phone  : x49-6151-16-4378
Embedded Systems and Applications Group (ESA) FAX: x49-6151-16-5472
Hochschulstr. 10, D-64289 Darmstadt, Germany   * PGP key available *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGinvIk5ta2EV7DowRAlPtAJwNBUeI52o8gzCK+nM9Gnizcnq3YgCfRgBV
vbSz1SKBF+jgerhsMT+woeE=
=/ZVd
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] To rewind or not to rewind...

2007-07-03 Thread Chris Hoogendyk


John Drescher wrote:
>
>
> On 7/3/07, *Shon Stephens* <[EMAIL PROTECTED]
> > wrote:
>
> that is my question. My mtx-changer script currently contains
>
> mt -f  $device rewoffl
>
> in the "unload" routine. I don't believe that my tapes should be
> being rewound, but I'm just not sure. Basically, if the tape is in
> PoolA and a job runs that  needs a tape from PoolB, it will rewind
> the tape from PoolA, unload it, and load the tape from PoolB. The
> next job could need the tape from PoolA, if this tape gets loaded,
> will it being rewound previously cause Bacula to overwrite data?
> Or will Bacula seek the tape to find where to append to?
>
> Also, when I need to change magazines in my autochanger, should I
> rewind the tapes first? The next time the tapes go back into the
> magazine, they will be overwritten.
>
>
> I am not sure what type of drive you are using but with DLT or LTO I
> know the drive will do this during an unload as this media has one
> spool on the drive and one spool on the tape so the only way to unload
> it would be to rewind first.
>
> If you have a tape media with 2 spools (AIT?) bacula still rewinds  on
> unload  because  on every load it reads the tape header which is the
> beginning of the tape. 


My experience with DDS and AIT (both 2 spool systems) is that they also
rewind to unload. Push the eject button on a DDS/3 drive and you can
hear it rewinding before it ejects. Takes forever if the tape was
substantially written before the eject. Happens pretty quickly if the
tape was just put in.


---

Chris Hoogendyk

-
   O__   Systems Administrator
  c/ /'_ --- Biology & Geology Departments
 (*) \(*) -- 140 Morrill Science Center
~~ - University of Massachusetts, Amherst 

<[EMAIL PROTECTED]>

--- 

Erdös 4



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] To rewind or not to rewind...

2007-07-03 Thread Martin Simmons
> On Tue, 3 Jul 2007 12:11:08 -0400, Shon Stephens said:
> 
> that is my question. My mtx-changer script currently contains
> 
> mt -f  $device rewoffl
> 
> in the "unload" routine. I don't believe that my tapes should be being
> rewound, but I'm just not sure. Basically, if the tape is in PoolA and a job
> runs that  needs a tape from PoolB, it will rewind the tape from PoolA,
> unload it, and load the tape from PoolB. The next job could need the tape
> from PoolA, if this tape gets loaded, will it being rewound previously cause
> Bacula to overwrite data? Or will Bacula seek the tape to find where to
> append to?
> 
> Also, when I need to change magazines in my autochanger, should I rewind the
> tapes first? The next time the tapes go back into the magazine, they will be
> overwritten.

Bacula appends to the tape if it is marked as Append in the catalog.  You
should see messages from the Storage Daemon like this:

Volume "MyVolume" previously written, moving to end of data.

__Martin

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users