[Bacula-users] Please send some command to test IBM tape backup manually before configuring bacula

2013-09-05 Thread deepak.pal
Please send some command to test IBM tape backup manually before configuring 
bacula with it.

I want to :


1.   transfer some data to ibm tape library disk drives

2.   see it there on disk drive

3.   restore data from disk drives to local / some other place

please share some commands...!

Regards,
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Client changes host name

2013-09-05 Thread Radosław Korzeniewski
Hello,

2013/8/6 vishal veerkar vishalveer...@gmail.com

 Below is my console config. Or can you share your running one.

 Console {
   Name = restricted-wintest
   Password = PASSWORD
   JobACL = Job_Restore_wintest, Job_Backup_wintest
   ClientACL = wintest


This is a client, so a console has to have the same name - this is my
experience.



 This is still giving me error Unauthorized command from this console.


IMVHO, it is because console name and client name doesn't match.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please send some command to test IBM tape backup manually before configuring bacula

2013-09-05 Thread Radosław Korzeniewski
Hello,

2013/9/5 deepak@wipro.com

  Please send some command to test IBM tape backup manually before
 configuring bacula with it.

 ** **

 I want to :

 ** **

 **1.   **transfer some data to ibm tape library disk drives

 **

I do not know what ibm tape disk dirives are, so could you send some info
about it, please?

 2.   **see it there on disk drive

 **3.   **restore data from disk drives to local / some other place

 ** **

 please share some commands…!

 **


If this is a tape drive you should have a tape drive device on your Linux
(right?) OS. So you can use a 'tar' command (
http://en.wikipedia.org/wiki/Tar_(computing)) for archive or restore some
files on tape. The most basic example:
# tar cvf /dev/nst0 /home

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please send some command to test IBM tape backup manually before configuring bacula

2013-09-05 Thread Radosław Korzeniewski
Hello,

2013/9/5 deepak@wipro.com

  Hi ,

 ** **

 I am using IBM TS3584 L53 LTO4

 ** **

 Below is the output for lsscsi –g command

 **


You do not have a proper device driver installed for your tape drivers.
Check your log messages, etc.
You should ask your OS vendor support or IBM support for that. Keep in mind
that Bacula can't work with IBM lintape driver due a bug in the driver.



 I don’t have any /dev/nst0 device

 ** **


Trying to write something to /dev/sg* is very bad idea.

On Linux OS you need to use /dev/nst* devices.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please send some command to test IBM tape backup manually before configuring bacula

2013-09-05 Thread deepak.pal
I am using RedHat 6.4 version 64 bit.

Will you please tell me which device driver I need to install on my machine. I 
have installed one called lintape something.


Thanks in advance…!


From: Radosław Korzeniewski [mailto:rados...@korzeniewski.net]
Sent: Thursday, September 05, 2013 4:26 PM
To: Deepak Pal (WI01 - GIS - RCT)
Cc: bacula-users
Subject: Re: [Bacula-users] Please send some command to test IBM tape backup 
manually before configuring bacula

Hello,

2013/9/5 deepak@wipro.commailto:deepak@wipro.com
Hi ,

I am using IBM TS3584 L53 LTO4

Below is the output for lsscsi –g command


You do not have a proper device driver installed for your tape drivers. Check 
your log messages, etc.
You should ask your OS vendor support or IBM support for that. Keep in mind 
that Bacula can't work with IBM lintape driver due a bug in the driver.


I don’t have any /dev/nst0 device


Trying to write something to /dev/sg* is very bad idea.

On Linux OS you need to use /dev/nst* devices.

best regards
--
Radosław Korzeniewski
rados...@korzeniewski.netmailto:rados...@korzeniewski.net
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please send some command to test IBM tape backup manually before configuring bacula

2013-09-05 Thread Radosław Korzeniewski
Hello,

2013/9/5 deepak@wipro.com

  I am using RedHat 6.4 version 64 bit.

 ** **

 Will you please tell me which device driver I need to install on my
 machine. I have installed one called lintape something.

 **


Do not use IBM lintape driver - it does not work with Bacula. There is an
unsupported patch for Bacula to work with this driver. You should check
bacula-devel list for that.

You should use Linux kernel build-in st driver. It works without a
problem.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FW: Please send some command to test IBM tape backup manually before configuring bacula

2013-09-05 Thread Novosielski, Ryan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Could we please not send screen shots of text to the list? I think
that's part of the general ettiquete no? It's not necessary,
particularly when everything being sent is text.

On 09/05/2013 01:09 PM, deepak@wipro.com wrote:
 Thanks for information,
 
 
 
 I have checked ‘st’ module is installed already. But still out out
 of lsscsi is same .
 
 
 
 sinp3.jpg
 
 
 
 
 
 
 
 sinp1.jpg
 
 
 
 
 
 Above command is not showing any ‘st’ device on place. Please
 suggest me what to do ?
 
 
 
 
 
 Regards,
 
 
 
 *From:*Radosław Korzeniewski [mailto:rados...@korzeniewski.net] 
 *Sent:* Thursday, September 05, 2013 8:25 PM *To:* Deepak Pal (WI01
 - GIS - RCT); bacula-users *Subject:* Re: FW: [Bacula-users] Please
 send some command to test IBM tape backup manually before
 configuring bacula
 
 
 
 Hello,
 
 
 
 2013/9/5 deepak@wipro.com mailto:deepak@wipro.com
 
 And … will you please tell me what should be the output of lsscsi
 –g command. And how you come to conclude that proper device driver
 is not installed.
 
 
 
 I.E.
 
 
 
 # lsscsi -g
 
 [2:0:0:0]mediumx STK  L700 0104  /dev/sch0
 /dev/sg8
 
 [2:0:1:0]tapeIBM  ULT3580-TD5  0104  /dev/st0
 /dev/sg0
 
 [2:0:2:0]tapeIBM  ULT3580-TD5  0104  /dev/st1
 /dev/sg1
 
 [2:0:3:0]tapeIBM  ULT3580-TD4  0104  /dev/st2
 /dev/sg2
 
 [2:0:4:0]tapeIBM  ULT3580-TD4  0104  /dev/st3
 /dev/sg3
 
 [2:0:8:0]mediumx STK  L80  0104  /dev/sch1
 /dev/sg9
 
 [2:0:9:0]tapeSTK  T1B  0104  /dev/st4
 /dev/sg4
 
 [2:0:10:0]   tapeSTK  T1B  0104  /dev/st5
 /dev/sg5
 
 [2:0:11:0]   tapeSTK  T1B  0104  /dev/st6
 /dev/sg6
 
 [2:0:12:0]   tapeSTK  T1B  0104  /dev/st7
 /dev/sg7
 
 
 
 as you can see there are /dev/st* devices available.
 
 
 
 If you want to use tape drive then you need to access /dev/st*
 device at tape kind of device. If you want to use autochanger at
 mediumx kind of device then you need to use /dev/sg* device.
 
 
 
 best regards
 
 -- Radosław Korzeniewski rados...@korzeniewski.net
 mailto:rados...@korzeniewski.net
 


- -- 
 *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
 || \\UTGERS  |-*O*-
 ||_// Biomedical | Ryan Novosielski - Sr. Systems Programmer
 || \\ and Health | novos...@rutgers.edu - 973/972.0922 (2x0922)
 ||  \\  Sciences | OIT/EI-Academic Svcs. - ADMC 450, Newark
  `'
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlIoxNoACgkQmb+gadEcsb7BnACgii5/w3f+zyjDEgiJhKwIRqY/
JZoAn2aBrM4F6dba2y0XTi/zLIZqrlyH
=IAjr
-END PGP SIGNATURE-


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Wake-on-LAN and bacula

2013-09-05 Thread Steve Ellis
My bacula installation supports night-time backups of several Windows
machines (win7 and xp) that are typically suspended when the backups start
from a Linux-based server.  I made sure to enable Wake-on-LAN on all of the
windows clients, and arranged a script to wake them, but Windows often
believes that the machine is idle during a backup and the machines used to
go down during a backup.

I updated my python script to run a daemon process for each machine to keep
them awake during backup, it is relatively short so I'm including it here,
on the off-chance that it proves helpful to anyone--I'm happy to answer any
questions about it.  It is dependent on a library daemon.py (note: not the
pending daemon PEP), that I downloaded here:
http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python,
but I believe this github implementation would also probably work:
https://github.com/stackd/daemon-py

Note that the script does require your host-MAC address mapping, since the
machines may be down, you can't just ARP for them  (I use a python
dictionary, but this could be extended to a db for those with larger
sites--especially if you already track MAC addresses).  To make a Windows
machine do WoL, you likely will have to both configure WoL in the BIOS and
also make a config change in windows on the LAN interface to enable WoL.

Here's how I use my script in my bacula-dir.conf:
RunBeforeJob = /etc/bacula/wake_up.py --daemon start %c
RunAfterJob = /etc/bacula/wake_up.py --daemon stop %c

I don't recall if this assumes that the hostname and the client name are
the same, I suspect it does.

-se

-- 

They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.

   --Benjamin Franklin, 1759


wake_up.py
Description: Binary data
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] adding re-used tapes previously used on different tape drive

2013-09-05 Thread marguin
Thanks Patti,

first, planning to relocate the tape in the import/export slot... not sure why 
i did not notice that..too occupied with the rest i guess..thanks for the HU!

so the labels were created on a completely separate bacula installation so the 
labels are not in thie catalog on this machine... and no the labels were not 
removed previously.  i was hoping that bacula might take care of that for me, 
but alas, no.  i found a procedure to remove the labels via mtx-changer and did 
that for each of the slots needed.  then issued the label barcode via bconsole 
and that seemed to work like a charm.   This morning it looks like almost all 
the new tapes are showing...on missing is currently in the import/export slot 
and i plan on moving that this AM.

+--
|This was sent by matt.arg...@currensee.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FW: Please send some command to test IBM tape backup manually before configuring bacula

2013-09-05 Thread Radosław Korzeniewski
Hello,

2013/9/5 deepak@wipro.com

  And … will you please tell me what should be the output of lsscsi –g
 command. And how you come to conclude that proper device driver is not
 installed.


I.E.

# lsscsi -g
[2:0:0:0]mediumx STK  L700 0104  /dev/sch0  /dev/sg8
[2:0:1:0]tapeIBM  ULT3580-TD5  0104  /dev/st0  /dev/sg0
[2:0:2:0]tapeIBM  ULT3580-TD5  0104  /dev/st1  /dev/sg1
[2:0:3:0]tapeIBM  ULT3580-TD4  0104  /dev/st2  /dev/sg2
[2:0:4:0]tapeIBM  ULT3580-TD4  0104  /dev/st3  /dev/sg3
[2:0:8:0]mediumx STK  L80  0104  /dev/sch1  /dev/sg9
[2:0:9:0]tapeSTK  T1B  0104  /dev/st4  /dev/sg4
[2:0:10:0]   tapeSTK  T1B  0104  /dev/st5  /dev/sg5
[2:0:11:0]   tapeSTK  T1B  0104  /dev/st6  /dev/sg6
[2:0:12:0]   tapeSTK  T1B  0104  /dev/st7  /dev/sg7

as you can see there are /dev/st* devices available.

If you want to use tape drive then you need to access /dev/st* device at
tape kind of device. If you want to use autochanger at mediumx kind of
device then you need to use /dev/sg* device.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Wake-on-LAN and bacula

2013-09-05 Thread Frank Sweetser

If you'd like, this would be great content to post on the wiki:

http://wiki.bacula.org

Frank Sweetser fs at wpi.edu|  For every problem, there is a solution that
Manager of Network Operations   |  is simple, elegant, and wrong.
Worcester Polytechnic Institute |   - HL Mencken

On 9/5/2013 7:17 PM, Steve Ellis wrote:
 My bacula installation supports night-time backups of several Windows machines
 (win7 and xp) that are typically suspended when the backups start from a
 Linux-based server.  I made sure to enable Wake-on-LAN on all of the windows
 clients, and arranged a script to wake them, but Windows often believes that
 the machine is idle during a backup and the machines used to go down during a
 backup.

 I updated my python script to run a daemon process for each machine to keep
 them awake during backup, it is relatively short so I'm including it here, on
 the off-chance that it proves helpful to anyone--I'm happy to answer any
 questions about it.  It is dependent on a library daemon.py (note: not the
 pending daemon PEP), that I downloaded here:
 http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python ,
 but I believe this github implementation would also probably work:
 https://github.com/stackd/daemon-py

 Note that the script does require your host-MAC address mapping, since the
 machines may be down, you can't just ARP for them  (I use a python dictionary,
 but this could be extended to a db for those with larger sites--especially if
 you already track MAC addresses).  To make a Windows machine do WoL, you
 likely will have to both configure WoL in the BIOS and also make a config
 change in windows on the LAN interface to enable WoL.

 Here's how I use my script in my bacula-dir.conf:
 RunBeforeJob = /etc/bacula/wake_up.py --daemon start %c
 RunAfterJob = /etc/bacula/wake_up.py --daemon stop %c

 I don't recall if this assumes that the hostname and the client name are the
 same, I suspect it does.

 -se

 --

 They that can give up essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety.

 --Benjamin Franklin, 1759



 --
 Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
 Discover the easy way to master current and previous Microsoft technologies
 and advance your career. Get an incredible 1,500+ hours of step-by-step
 tutorial videos with LearnDevNow. Subscribe today and save!
 http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk



 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users