SearchFAQMemberlist Log in
Reply to topic Page 1 of 4
Goto page 1, 2, 3, 4  Next
Trouble setting up backup to a Windows host
Author Message
Post Trouble setting up backup to a Windows host 
Hi all,

I'm trying to setup a backup for a Windows host following the instructions
on
http://wiki.centos.org/HowTos/BackupPC#head-9b279fb9534c6455ddadfd01dd91dddd
2260b4cf. The particular place I'm getting stuck at is the part where you're
supposed to cd /windows/machinename. That doesn't work; I get an error "
-bash: cd: /windows/starforge/: No such file or directory".

At the second step where trying to mount the machine to the folder, I get
"unexpected token '('". When I remove the parentheses around "ro,man" and
run the mount command again, I get the mount help screen.
I've never seen the word "on" on a mount command. Should it really
be there?

I've tried to google this and sort out the problem, but have so far come up
with nothing. The machine in question is a domain-connected server. Could
there be a problem there, in that the BPC-machine can't connect to a
domain-computer?

Any help or insight would be appreciated. Thanks.
--
BW,
Sorin
-----------------------------------------------------------
# Sorin Srbu [Sysadmin, Systems Engineer]
# Dept of Medicinal Chemistry, Phone: +46 (0)18-4714482 >3 signals> GSM
# Div of Org Pharm Chem, Mobile: +46 (0)701-718023
# Box 574, Uppsala University, Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b
# Web: http://www.orgfarm.uu.se
-----------------------------------------------------------
# () ASCII ribbon campaign - Against html E-mail
# /\
#
# MotD follows:
# If it jams, force it. If it breaks, it needed replacing anyway.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
Hi Sorin,

The particular place I'm getting stuck at is the part where you're
supposed to cd /windows/machinename. That doesn't work; I get an
error " -bash: cd: /windows/starforge/: No such file or directory".

Your autofs entry is not working. Any sign of problems in
/var/log/{messages,daemon.log,syslog} when you cd into
/windows/starforge?

Can you mount the CIFS resource manually? You need to make sure this
works first, before you try and convince autofs to automount it for
you:

mkdir -p /windows/starforge
mount.cifs //starforge/c$ /windows/starforge \
-o ro,credentials=/etc/.autofs.smbpasswd

Possible problems:
- starforge is not resolvable
- credentials in /etc/.autofs.smbpasswd are incorrect. Do you need
the AD domain appended to the username?
- supplied credentials do not have permission to access
//starforge/c$

At the second step where trying to mount the machine to the folder,
I get "unexpected token '('". When I remove the parentheses around
"ro,man" and run the mount command again, I get the mount help
screen. I've never seen the word "on" on a mount command. Should it
really be there?

You're instincts are correct. The CentOS doco would have been better
presented as:

# mount | grep '/windows/machinename'
//machinename/C$ on /windows/machinename type cifs (ro,mand)

The command they are suggesting you run is mount, and you need to be
looking for the CIFS mount in the output.

I've tried to google this and sort out the problem, but have so far come up
with nothing. The machine in question is a domain-connected server. Could
there be a problem there, in that the BPC-machine can't connect to a
domain-computer?

Shouldn't have anything to do with the machine being domain-connected
(except that it may impact what username/password you need to access
the resource as).

Once you get manual mount working, you can move on to autofs
debugging, and hopefully get it all working.

Good luck and let me know how you go! Smile

Regards,

Chris Bennett
cgb

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
Hi all,

I'm trying to setup a backup for a Windows host following the instructions
on
http://wiki.centos.org/HowTos/BackupPC#head-9b279fb9534c6455ddadfd01dd91dddd
2260b4cf. The particular place I'm getting stuck at is the part where
you're
supposed to cd /windows/machinename. That doesn't work; I get an error "
-bash: cd: /windows/starforge/: No such file or directory".

At the second step where trying to mount the machine to the folder, I get
"unexpected token '('". When I remove the parentheses around "ro,man" and
run the mount command again, I get the mount help screen.
I've never seen the word "on" on a mount command. Should it really
be there?

I've tried to google this and sort out the problem, but have so far come
up
with nothing. The machine in question is a domain-connected server. Could
there be a problem there, in that the BPC-machine can't connect to a
domain-computer?

Any help or insight would be appreciated. Thanks.
--
BW,

For the record, getting autofs working on CentOS has nothing to do with
BackupPC, so you may be looking in the wrong place. I don't see anything
wrong with the instructions at your link, so perhaps I can clarify:

# mount
//machinename/C$ on /windows/machinename type cifs (ro,mand)

What follows the hash symbol is what you type: mount. The rest of that
is the results of the mount command, if you have everything working
properly. You don't type it.

Just typing "mount," incidentally, is supposed to show what automount has
mounted, it doesn't actually do anything. Had you configured autofs per
the instructions, cd'ing to /windows/machinename would actually accomplish
the mount.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
On 3/11/2010 12:50 PM, Michael Stowe wrote:
Hi all,

I'm trying to setup a backup for a Windows host following the instructions
on
http://wiki.centos.org/HowTos/BackupPC#head-9b279fb9534c6455ddadfd01dd91dddd
2260b4cf. The particular place I'm getting stuck at is the part where
you're
supposed to cd /windows/machinename. That doesn't work; I get an error "
-bash: cd: /windows/starforge/: No such file or directory".

At the second step where trying to mount the machine to the folder, I get
"unexpected token '('". When I remove the parentheses around "ro,man" and
run the mount command again, I get the mount help screen.
I've never seen the word "on" on a mount command. Should it really
be there?

I've tried to google this and sort out the problem, but have so far come
up
with nothing. The machine in question is a domain-connected server. Could
there be a problem there, in that the BPC-machine can't connect to a
domain-computer?

Any help or insight would be appreciated. Thanks.
--
BW,

For the record, getting autofs working on CentOS has nothing to do with
BackupPC, so you may be looking in the wrong place. I don't see anything
wrong with the instructions at your link, so perhaps I can clarify:

# mount
//machinename/C$ on /windows/machinename type cifs (ro,mand)

What follows the hash symbol is what you type: mount. The rest of that
is the results of the mount command, if you have everything working
properly. You don't type it.

Just typing "mount," incidentally, is supposed to show what automount has
mounted, it doesn't actually do anything. Had you configured autofs per
the instructions, cd'ing to /windows/machinename would actually accomplish
the mount.

Is there some particular reason for wanting to backup through
automounted files systems? Your full rsyncs are going to have to read
the entire contents of the remote machines through the network for the
comparison where if you install cygwin rsync on the targets it would do
a local read and only transfer block checkums and differences.

--
Les Mikesell
lesmikesell < at > gmail.com


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
-----Original Message-----
From: Les Mikesell [mailto:lesmikesell < at > gmail.com]
Sent: Thursday, March 11, 2010 9:06 PM
To: backuppc-users < at > lists.sourceforge.net
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

Is there some particular reason for wanting to backup through
automounted files systems? Your full rsyncs are going to have to read
the entire contents of the remote machines through the network for the
comparison where if you install cygwin rsync on the targets it would do
a local read and only transfer block checkums and differences.

Yeah there is; I couldn't get the rsyncd-package for cygwin to work out. I get
an "inet connect: Connection refused"-error when I try running the backup.

Unfortunately I know too little about the authentication mechanism in Cygwin.
I'll look into it during the day.

Anyway, that's why I tried out other ways to connect to the Windows machine.
You know, the rule of least resistance... Wink

Thanks for all the hints so far. I'll be back with an update later.
--
/Sorin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
-----Original Message-----
From: Les Mikesell [mailto:lesmikesell < at > gmail.com]
Sent: Thursday, March 11, 2010 9:06 PM
To: backuppc-users < at > lists.sourceforge.net
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

Is there some particular reason for wanting to backup through
automounted files systems? Your full rsyncs are going to have to read
the entire contents of the remote machines through the network for the
comparison where if you install cygwin rsync on the targets it would do
a local read and only transfer block checkums and differences.

Yeah there is; I couldn't get the rsyncd-package for cygwin to work out. I
get
an "inet connect: Connection refused"-error when I try running the backup.

Unfortunately I know too little about the authentication mechanism in
Cygwin.
I'll look into it during the day.

Anyway, that's why I tried out other ways to connect to the Windows
machine.
You know, the rule of least resistance... Wink

Thanks for all the hints so far. I'll be back with an update later.
--
/Sorin

There's a walkthrough here:
http://www.goodjobsucking.com/?p=62

Note that you can actually download the scripts and directory there as well.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
Sorin Srbu wrote:
-----Original Message-----
From: Les Mikesell [mailto:lesmikesell < at > gmail.com]
Sent: Thursday, March 11, 2010 9:06 PM
To: backuppc-users < at > lists.sourceforge.net
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

Is there some particular reason for wanting to backup through
automounted files systems? Your full rsyncs are going to have to read
the entire contents of the remote machines through the network for the
comparison where if you install cygwin rsync on the targets it would do
a local read and only transfer block checkums and differences.

Yeah there is; I couldn't get the rsyncd-package for cygwin to work out. I get
an "inet connect: Connection refused"-error when I try running the backup.

Unfortunately I know too little about the authentication mechanism in Cygwin.
I'll look into it during the day.

I think that is a network-layer error, not a failure to authenticate. The way
to test a connection to an rsync in daemon mode is to use double :'s from the
command line rsync like "rsync [options] host::module". If you don't give a
destination, you should get a directory listing.

Anyway, that's why I tried out other ways to connect to the Windows machine.
You know, the rule of least resistance... Wink

The default smb method using smbclient should have worked if automounting works
- but it might be handy to have automounting set up for other purposes.

--
Les Mikesell
lesmikesell < at > gmail.com



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
Les

Sorry for using this channel, but I have tried to disconnect myself from
this forum. I do not want to receive mails anymore from backuppc.

I forgot the user name and password to unsubscribe.

Any Help?

Francisco




-----Original Message-----
From: Les Mikesell [mailto:lesmikesell < at > gmail.com]
Sent: Friday, March 12, 2010 9:44 AM
To: sorin.srbu < at > orgfarm.uu.se; General list for user discussion, questions
and support
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

Sorin Srbu wrote:
-----Original Message-----
From: Les Mikesell [mailto:lesmikesell < at > gmail.com]
Sent: Thursday, March 11, 2010 9:06 PM
To: backuppc-users < at > lists.sourceforge.net
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

Is there some particular reason for wanting to backup through
automounted files systems? Your full rsyncs are going to have to read
the entire contents of the remote machines through the network for the
comparison where if you install cygwin rsync on the targets it would do
a local read and only transfer block checkums and differences.

Yeah there is; I couldn't get the rsyncd-package for cygwin to work out. I
get
an "inet connect: Connection refused"-error when I try running the backup.

Unfortunately I know too little about the authentication mechanism in
Cygwin.
I'll look into it during the day.

I think that is a network-layer error, not a failure to authenticate. The
way
to test a connection to an rsync in daemon mode is to use double :'s from
the
command line rsync like "rsync [options] host::module". If you don't give a

destination, you should get a directory listing.

Anyway, that's why I tried out other ways to connect to the Windows
machine.
You know, the rule of least resistance... Wink

The default smb method using smbclient should have worked if automounting
works
- but it might be handy to have automounting set up for other purposes.

--
Les Mikesell
lesmikesell < at > gmail.com



----------------------------------------------------------------------------
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
On 3/12/2010 8:56 AM, Francisco E. Salinas Monarde wrote:
Les

Sorry for using this channel, but I have tried to disconnect myself from
this forum. I do not want to receive mails anymore from backuppc.

I forgot the user name and password to unsubscribe.

Any Help?

If you follow the link that is at the bottom of every message you'll
find an unsubscribe option - and one to send your password. If you
unsubscribe without the password it will email you a confirmation and
you just have to reply to that message to complete the operation.

--
Les Mikesell
lesmikesell < at > gmail.com



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
-----Original Message-----
From: Chris Bennett [mailto:chris < at > ceegeebee.com]
Sent: Thursday, March 11, 2010 3:33 PM
To: sorin.srbu < at > orgfarm.uu.se; General list for user discussion, questions and
support
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

Your autofs entry is not working. Any sign of problems in
/var/log/{messages,daemon.log,syslog} when you cd into
/windows/starforge?

Nothing I could find. 8-/


Can you mount the CIFS resource manually? You need to make sure this
works first, before you try and convince autofs to automount it for
you:

mkdir -p /windows/starforge
mount.cifs //starforge/c$ /windows/starforge \
-o ro,credentials=/etc/.autofs.smbpasswd

I used

#mount starforge -fstype=cifs,ro,credentials=/etc/.autofs.smbpasswd
://starforge/E\$

And got no error message. Entering

#mount ;gives me
starforge on ://starforge/E$ type
ype=cifs,ro,credentials=/etc/.autofs.smbpasswd (rw)

All is well so far I think.

Cd'ing to /windows/Starforge gives me "-bash: cd: /windows/starforge/: No such
file or directory". 8-/


Possible problems:
- starforge is not resolvable
- credentials in /etc/.autofs.smbpasswd are incorrect. Do you need
the AD domain appended to the username?
- supplied credentials do not have permission to access
//starforge/c$

Pinging Starforge by name works, I added it all to the hosts-file, ie the
trivial windows name, FQDN and ip too.

In /etc/.autofs.smbpasswd I have the credentials set to User Name =
domainname/username. The account in question is a domain admin account, and as
such should have access to all of the E-drive on the Win-machine.

I'll try setting the cred's as username < at > domainname instead and see if there's
any difference.
--
/Sorin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
-----Original Message-----
From: Sorin Srbu [mailto:sorin.srbu < at > orgfarm.uu.se]
Sent: Monday, March 15, 2010 12:37 PM
To: 'General list for user discussion, questions and support'
Subject: RE: [BackupPC-users] Trouble setting up backup to a Windows host

In /etc/.autofs.smbpasswd I have the credentials set to User Name =
domainname/username. The account in question is a domain admin account, and
as
such should have access to all of the E-drive on the Win-machine.

I'll try setting the cred's as username < at > domainname instead and see if
there's
any difference.

Nah, same thing. 8-(

--
/Sorin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
-----Original Message-----
From: Chris Bennett [mailto:chris < at > ceegeebee.com]
Sent: Thursday, March 11, 2010 3:33 PM
To: sorin.srbu < at > orgfarm.uu.se; General list for user discussion, questions
and
support
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

Can you mount the CIFS resource manually? You need to make sure this
works first, before you try and convince autofs to automount it for
you:

mkdir -p /windows/starforge
mount.cifs //starforge/c$ /windows/starforge \
-o ro,credentials=/etc/.autofs.smbpasswd

Same settings as before, but tried your mount.cifs-command instead.
Something interesting is happening; I now get a question for password, I
assume it's the one in /etc/.autofs.smbpasswd, right? So I enter it and get
an error 13, Permission denied. If it's not the same password pre-entered in
/etc/.autofs.smbpasswd, which one is it??

--
/Sorin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
-----Original Message-----
From: Michael Stowe [mailto:mstowe < at > chicago.us.mensa.org]
Sent: Friday, March 12, 2010 1:51 PM
To: sorin.srbu < at > orgfarm.uu.se; General list for user discussion, questions
and
support
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

There's a walkthrough here:
http://www.goodjobsucking.com/?p=62

Note that you can actually download the scripts and directory there as
well.

Where did you find those? I can only download the sources for winexe et al
in the beginning of the howto. I must be getting blind...


--
/Sorin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
Sorin Srbu wrote:
-----Original Message-----
From: Chris Bennett [mailto:chris < at > ceegeebee.com]
Sent: Thursday, March 11, 2010 3:33 PM
To: sorin.srbu < at > orgfarm.uu.se; General list for user discussion, questions
and
support
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

Can you mount the CIFS resource manually? You need to make sure this
works first, before you try and convince autofs to automount it for
you:

mkdir -p /windows/starforge
mount.cifs //starforge/c$ /windows/starforge \
-o ro,credentials=/etc/.autofs.smbpasswd

Same settings as before, but tried your mount.cifs-command instead.
Something interesting is happening; I now get a question for password, I
assume it's the one in /etc/.autofs.smbpasswd, right? So I enter it and get
an error 13, Permission denied. If it's not the same password pre-entered in
/etc/.autofs.smbpasswd, which one is it??

Don't forget that command lines parsed by a shell need to have the shell
metacharacters quoted (\,$, etc.). And if you are using a domain it probably
wants the domain\user syntax, not quoted if the program reads it directly.

--
Les Mikesell
lesmikesell < at > gmail.com



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Trouble setting up backup to a Windows host 
-----Original Message-----
From: Sorin Srbu [mailto:sorin.srbu < at > orgfarm.uu.se]
Sent: Monday, March 15, 2010 1:14 PM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

-----Original Message-----
From: Michael Stowe [mailto:mstowe < at > chicago.us.mensa.org]
Sent: Friday, March 12, 2010 1:51 PM
To: sorin.srbu < at > orgfarm.uu.se; General list for user discussion, questions
and
support
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host

There's a walkthrough here:
http://www.goodjobsucking.com/?p=62

Note that you can actually download the scripts and directory there as
well.

Where did you find those? I can only download the sources for winexe et al
in the beginning of the howto. I must be getting blind...

Never mind, found it in the comments section. Sorry for wasting your time...
/Sorin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 4
Goto page 1, 2, 3, 4  Next
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