Greetings!
 
I'm trying to setup a Bacula to back up a remote server. I'm going to try and explain my current setup and ultimate goal ;)
 
What i have now:
 
* 1 tapedrive, Dell, with LTO-2 tapes, that works perfectly on my server.
* 1 backup server, Ubuntu 5.10
* Bacula 1.36.3
* 8 LTO-2 tapes in the drive
* My config files, which are attached.
* 1 tape is loaded and present ( otherwise i get I/O errors ;) )
 
What the eventual outcome should be:
 
* Daily (Full) backup from monday to sunday, each day on a new tape.
* On sunday, the tape should be ejected after the backup for off-site storage, and a new one will be placed in the device, which should become the new sunday-tape.
* Picking up the ejected tape, and inserting a new one, should be the only manual tasks ( if possible )
 
Please take a moment to look at my included config files now..
 
Here are some output pieces to show the 'virgin" status of the system.
 

Bacula etc ]# btape -c /etc/bacula/bacula-sd.conf TapeStorage
Tape block granularity is 1024 bytes.
btape: butil.c:258 Using device: "TapeStorage" for writing.
btape: btape.c:335 open_dev /dev/nst0 OK
*label
Enter Volume Name: Tape1
Wrote Volume label for volume "Tape1".
 

Bacula etc ]# bconsole
Connecting to Director Bacula:9101
1000 OK: Bacula-dir Version: 1.36.3 (22 April 2005)
Enter a period to cancel a command.
*list media
Using default Catalog name=MyCatalog DB=bacula
Pool: Default
No results to list.
Pool: MondayPool
No results to list.
Pool: TuesdayPool
No results to list.
Pool: WednesdayPool
No results to list.
Pool: ThursdayPool
No results to list.
Pool: FridayPool
No results to list.
Pool: SaturdayPool
No results to list.
Pool: SundayPool
No results to list.
*list jobs
No results to list.
*status all
Bacula-dir Version: 1.36.3 (22 April 2005) i486-pc-linux-gnu debian testing/unstable
Daemon started 14-Oct-05 14:34, 0 Jobs run since started.
 
Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================
Full           Backup    10  14-Oct-05 22:00    TestFridayBackup   *unknown*
====
 
Running Jobs:
No Jobs running.
====
 
 
 
Device status:
Archive "FileStorage" is not open or does not exist.
Archive "TapeStorage" is not open or does not exist.
 
 
 
Now, how do i proceed to automate the tape naming and such? When i created a volume on bconsole with the add command, then tried to run a backup, it nagged that the tape had the wrong label, and to insert a tape with another name.. But it should just automatically overwrite the existing ones.. :$
 
I don't fully get the naming.. Should i manually give all 8 tapes a name, and then add them through bconsole with the same names? But the naming i want them to have is dynamic ( Label Format = "Test-$Day$Month$Year" ), so it'll nag again that i don't have the correct named tape present, and to insert it... :$
 
Thanks a lot for clearing this out for me :$
 
Thanks in advance!
 
Kind regards,
 

Bart Verwilst

Linux R&D Engineer

.

[EMAIL PROTECTED]

Hostbasket NV

Antwerpsesteenweg 19, 9080 Lochristi

Tel. (32) (0) 9 326.90.90

Fax. (32) (0) 9 326.90.98

.


 

Attachment: bacula-dir.conf
Description: bacula-dir.conf

Attachment: bacula-fd.conf
Description: bacula-fd.conf

Attachment: bacula-sd.conf
Description: bacula-sd.conf

Reply via email to