SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Using sd on Windows - possible to use UNC path or mapped dri
Author Message
Post Using sd on Windows - possible to use UNC path or mapped dri 
Attachments: Message as HTML

Hi all --
=20
I am trying to use the Windows servers which I know aren't completely suppo=
rted but I have had decent successes with tem thus far. My problem now is =
I am trying to use a network attached storage device which I have mapped as=
a persistent drive on the Windows 2003 box as my Archive Location. I have=
tried every combination of UNC paths, to shared folders, to the mappeded n=
etwork drive itself and no matter what I do I get the following on doing a =
"status storage":
=20
Device status:
Device "NASFileStorage" is not open or does not exist.
=20
and when trying to mount:
=20
../../stored/dev.c:126 Unable to stat device Z:\Backups\Bacula: ERR=3DThe s=
ystem cannot find the path specified.
=20
Device "NASFileStorage" requested by DIR could not be opened or does not ex=
ist.
3999 Device "NASFileStorage" not found or could not be opened.
=20
My initial though was to do a junction/linkd/mountvol/subst to map the shar=
e to a local folder but no luck, doing that is not supported in Windows for=
network\shared drives.
=20
Is using a network drive just not supported by Bacula or is there some crea=
tive way to mount one that I am just not thinking of?
=20
Thanks,
=20
Mike
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ=
BRE=



[Bacula-users] Multiple Clients Using Disk Example From: Kyle Marsh

For some reason this didn't post the first time, so here it is again.

In the Bacula manual there is a wonderful example of how to set up
pools for backups to disk using the default three level schedule.
However, the example configuration file only uses one client. I was
wondering if the same configuration works for multiple clients, or if
there is something else to consider. For example, the sample file has
one job per volume for each of 6 volumes in the differential pool, one
for each week in a month (with some slack). If I were to try to run
10 clients on this would it fill that pool on the first week after 6
had backed up? What would happen to the other four; would baucla die
horribly, or overwrite the volumes it just created, or create more
volumes?

Similarly, I seem to need a new client entry and a new job entry for
every machine I want to back up. Many of the machines to be backed up
will change every 4 months or so, and they all will have the same
configuration, so is there any way to condense the amount of
configuration that needs to change? i know about JobDefs, but is
there any BatchJob, say, or a similar ClientDefs?

Thanks,

Kyle Marsh

Post Using sd on Windows - possible to use UNC path or mapped dri 
Been down this 'path' before. Not supported by the current code base.
Bacula requires locally mounted devices for the SD.

One alternative for you is to install the SD on the remote machine
and configure Bacula to use that SD for its jobs.

Erich

On Jun 8, 2007, at 3:57 PM, Mike Lauwaert wrote:

Hi all --

I am trying to use the Windows servers which I know aren't
completely supported but I have had decent successes with tem thus
far. My problem now is I am trying to use a network attached
storage device which I have mapped as a persistent drive on the
Windows 2003 box as my Archive Location. I have tried every
combination of UNC paths, to shared folders, to the mappeded
network drive itself and no matter what I do I get the following on
doing a "status storage":

Device status:
Device "NASFileStorage" is not open or does not exist.

and when trying to mount:

../../stored/dev.c:126 Unable to stat device Z:\Backups\Bacula:
ERR=The system cannot find the path specified.

Device "NASFileStorage" requested by DIR could not be opened or
does not exist.
3999 Device "NASFileStorage" not found or could not be opened.

My initial though was to do a junction/linkd/mountvol/subst to map
the share to a local folder but no luck, doing that is not
supported in Windows for network\shared drives.

Is using a network drive just not supported by Bacula or is there
some creative way to mount one that I am just not thinking of?

Thanks,

Mike

Explore the seven wonders of the world Learn more!
----------------------------------------------------------------------
---
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 < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Using sd on Windows - possible to use UNC path or mapped dri 
Attachments: Message as HTML

Thanks for the response. =20
=20
Yeah I thought of that however my problem is I have allocated space on NAS =
device through our service provider which I would like to use for which the=
re is no machine that I could install the SD. I can just mount the drive. =
Also, I would was hoping I could use Bacula to store data to remote backup=
providers/filesystems like rsync.net and mozypro.com etc. which would also=
require mounting the device as a shared drive as you don't have control of=
the physical machine that houses that storage space. I guess for now I wi=
ll have to do it locally and once a week upload the volumes to the offsite/=
remote storage location.
=20
Does anyone know if there is plans to support network backup devices in the=
future for compatibility with remote backup providers etc.?
=20
Thanks,
=20
Mike

CC: bacula-users < at > li...> From: eprinz < at > sp...> Subje=
ct: Re: [Bacula-users] Using sd on Windows - possible to use UNC path or ma=
pped drive as the Archive Location?> Date: Sat, 9 Jun 2007 10:39:12 -0500> =
To: mlauwaert < at > ho...> > Been down this 'path' before. Not supported by=
the current code base. > Bacula requires locally mounted devices for the S=
D.> > One alternative for you is to install the SD on the remote machine > =
and configure Bacula to use that SD for its jobs.> > Erich> > On Jun 8, 200=
7, at 3:57 PM, Mike Lauwaert wrote:> > > Hi all --> >> > I am trying to use=
the Windows servers which I know aren't > > completely supported but I hav=
e had decent successes with tem thus > > far. My problem now is I am trying=
to use a network attached > > storage device which I have mapped as a pers=
istent drive on the > > Windows 2003 box as my Archive Location. I have tri=
ed every > > combination of UNC paths, to shared folders, to the mappeded >=
network drive itself and no matter what I do I get the following on > > =
doing a "status storage":> >> > Device status:> > Device "NASFileStorage" i=
s not open or does not exist.> >> > and when trying to mount:> >> > ../../s=
tored/dev.c:126 Unable to stat device Z:\Backups\Bacula: > > ERR=3DThe syst=
em cannot find the path specified.> >> > Device "NASFileStorage" requested =
by DIR could not be opened or > > does not exist.> > 3999 Device "NASFileSt=
orage" not found or could not be opened.> >> > My initial though was to do =
a junction/linkd/mountvol/subst to map > > the share to a local folder but =
no luck, doing that is not > > supported in Windows for network\shared driv=
es.> >> > Is using a network drive just not supported by Bacula or is there=
some creative way to mount one that I am just not thinking of?> >> > T=
hanks,> >> > Mike> >> > Explore the seven wonders of the world Learn more!>=
---------------------------------------------------------------------- >=
---> > This SF.net email is sponsored by DB2 Express> > Download DB2 Exp=
ress C - the FREE version of DB2 express and take> > control of your XML. N=
o limits. Just data. Click to get it now.> > http://sourceforge.net/powerba=
r/db2/ > > _______________________________________________> > Bacula-users =
mailing list> > Bacula-users < at > li...> > https://lists.sourcef=
orge.net/lists/listinfo/bacula-users>=20
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=3D7+wonders+world&mkt=3Den-US&form=3DQ=
BRE=

Post Using sd on Windows - possible to use UNC path or mapped dri 
Attachments: Message as HTML

Try replacing backslashes with forward slashes ?

Mike Lauwaert wrote:
Hi all --

I am trying to use the Windows servers which I know aren't completely
supported but I have had decent successes with tem thus far. My
problem now is I am trying to use a network attached storage device
which I have mapped as a persistent drive on the Windows 2003 box as
my Archive Location. I have tried every combination of UNC paths, to
shared folders, to the mappeded network drive itself and no matter
what I do I get the following on doing a "status storage":

Device status:
Device "NASFileStorage" is not open or does not exist.

and when trying to mount:

../../stored/dev.c:126 Unable to stat device Z:\Backups\Bacula:
ERR=The system cannot find the path specified.

Device "NASFileStorage" requested by DIR could not be opened or does
not exist.
3999 Device "NASFileStorage" not found or could not be opened.

My initial though was to do a junction/linkd/mountvol/subst to map the
share to a local folder but no luck, doing that is not supported in
Windows for network\shared drives.

Is using a network drive just not supported by Bacula or is there some
creative way to mount one that I am just not thinking of?

Thanks,

Mike

------------------------------------------------------------------------
Explore the seven wonders of the world Learn more!
<http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE>

------------------------------------------------------------------------

-------------------------------------------------------------------------
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 < at > li...
https://lists.sourceforge.net/lists/listinfo/bacula-users


Post Using sd on Windows - possible to use UNC path or mapped dri 
On Fri, 8 Jun 2007 16:57:27 -0400, Mike Lauwaert said:

Hi all --

I am trying to use the Windows servers which I know aren't completely
supported but I have had decent successes with tem thus far. My problem now
is I am trying to use a network attached storage device which I have mapped
as a persistent drive on the Windows 2003 box as my Archive Location. I
have tried every combination of UNC paths, to shared folders, to the
mappeded network drive itself and no matter what I do I get the following on
doing a "status storage":

Device status:
Device "NASFileStorage" is not open or does not exist.

and when trying to mount:

../../stored/dev.c:126 Unable to stat device Z:\Backups\Bacula: ERR=The system cannot find the path specified.

Device "NASFileStorage" requested by DIR could not be opened or does not exist.
3999 Device "NASFileStorage" not found or could not be opened.

My initial though was to do a junction/linkd/mountvol/subst to map the share
to a local folder but no luck, doing that is not supported in Windows for
network\shared drives.

Is using a network drive just not supported by Bacula or is there some
creative way to mount one that I am just not thinking of?

I think the problem is that Bacula runs as a Windows services, which cannot
access the network drives that you mount on the desktop. I would expect UNC
paths to work provided the server allows access to the user that is running
the Bacula service (probably not the desktop user).

You might be able to run bacula-sd from the desktop instead of as a service.

You could also try mounting the network drive from a RunBefore script (using
NET USE), but I don't know if that will work and it will still have the issues
with access to the UNC path.

__Martin

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB