Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-08-12 Thread Anton
Question #96168 on NSsbackup changed:
https://answers.launchpad.net/nssbackup/+question/96168

Anton posted a new comment:
This question is marked as solved, but what the solution is does not
become apparent from the discussion above.

I've just tested nssbackup 3.0. The remote location interface has been
improved (nice dialogue box to set hostname, directory, username etc). I
can enter a remote location without password, and successfully create a
backup (of course, you need some other authentication, ssh keys in my
case).

-- 
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-01-26 Thread Anton
Question #96168 on NSsbackup changed:
https://answers.launchpad.net/nssbackup/+question/96168

Anton posted a new comment:
Oumar Aziz OUATTARA wrote:
 Question #96168 on NSsbackup changed:
 https://answers.launchpad.net/nssbackup/+question/96168
 
 Oumar Aziz OUATTARA proposed the following answer:
 Regarding your question, the problem comes from the fact that the SSH URL 
 in NSsbackup is not using the same format as in Sbackup.
 In NSsbackup, the definition of the schemas is delegated to each plugin.
 The schema for SSH is:
 ssh://user:passw...@server/my/folder/path/
 That seems very close to what I'm using in sbackup (anonimized version
 shown):

 ssh://un...@my.server.nl/home/uname/xd/backup_note-uname

 Except for the fact that I do include my verbatim password in the url,
 since that is stored in plain text in (ns)sbackup's config file. I have
 in stead set up passkeys for secure login without password (which works
 flawlessly with plain ssh/scp/sftp etc., and with sbackup).

 Is this what nsbackup cannot handle?
 
 yes, you go it right !
 Here is the Regex that NSsbackups SSH plugin uses:
 
 ^(ssh://)([^:]+?:[...@]+?)@([^/^:^...@]+?)/(.*)
 
 look at the matchScheme method here:
 http://bazaar.launchpad.net/~nssbackup-dev/nssbackup/0.2/annotate/head%3A/src/nssbackup/plugins/sshFuseFAM.py
 
 So not putting a password is not an option :-( .
 
 I don't think that is desired
 behaviour, for the reason mentioned above. I propose adding an
 additional schema (or modifying the existing one; I don't know how this
 works in detail) to accept 'ssh://u...@server/my/folder/path/'.
 (Where) Can I start fixing this?
 
 You can get the code using this page:
 https://code.edge.launchpad.net/~nssbackup-dev/nssbackup/0.2
 
 but the real problem here is not changing the Regex, but to use
 pexpect correctly. If you know another api that can allow us to use
 fuse, we might change for that one.

No, I don't know. Can't we handle this with pexpect in some way?


-- 
Groetjes,

Anton
  _ ___
| |   |
|  _   _  ___,| K. Anton Feenstra |
| / \ / \'| | | IBIVU/Bioinformatics - Free University  Amsterdam |
|(   |   )| | | De Boelelaan 1083A - 1081 HV Amsterdam - Netherlands  |
| \_/ \_/ | | | Tel +31 20 59 87783 - Fax +31 20 59 87653 - Room P136 |
| | feens...@few.vu.nl - www.few.vu.nl/~feenstra/ |
| | We're Gonna Hit You Harder (Scoter) |
|_|___|

You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-01-24 Thread Oumar Aziz OUATTARA
Question #96168 on NSsbackup changed:
https://answers.edge.launchpad.net/nssbackup/+question/96168

Status: Open = Needs information

Oumar Aziz OUATTARA requested for more information:
I have committed a change to support the port number. You can get the
file from:

https://launchpad.net/~nssbackup-
dev/+archive/ppa/+files/nssbackup_0.2-0~rc8.tar.gz

Changelog available at https://launchpad.net/~nssbackup-
dev/+archive/ppa/+packages .

Can you try it ?

-- 
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-01-24 Thread Oumar Aziz OUATTARA
Question #96168 on NSsbackup changed:
https://answers.edge.launchpad.net/nssbackup/+question/96168

Oumar Aziz OUATTARA posted a new comment:
By the way if you want to know how to install it from the sources, look
at FAQ #362 .

The other way would be to wait for the packages to be built in the dev
ppa and use that PPA to install it.

-- 
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-01-24 Thread dik23
Question #96168 on NSsbackup changed:
https://answers.launchpad.net/nssbackup/+question/96168

dik23 gave more information on the question:
Sorry - forget the python-setuptools comment

The last question still stands

-- 
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-01-24 Thread Oumar Aziz OUATTARA
Question #96168 on NSsbackup changed:
https://answers.launchpad.net/nssbackup/+question/96168

Status: Open = Answered

Oumar Aziz OUATTARA proposed the following answer:
 Will this fix make it to the repo soon or should I continue to install 
 from source ? 

No you won't have to continue installing manually. But I want to test
the fixes before publishing it into the official PPA.

 Where's the details for the dev ppa ?

With a second thought, it might not be safe for you to install that PPA.
I use it to test packages so it could break your system.


 Actually on further examination, it's not fixed
 
 The test tells me everything is ok but when I try and run the backup to
 the remote location I get an error (debug log):
 
 2010-01-24 15:54:19,828 - ERROR - nssbackupd.py:__onError(226) - [Errno 13] 
 Permission denied: '/mnt/nssbackup/ssh_u...@server_n/PATH'
 2010-01-24 15:54:19,830 - ERROR - nssbackupd.py:__onError(227) - Traceback 
 (most recent call last):
   File /usr/local/lib/python2.6/dist-packages/nssbackup/nssbackupd.py, line 
 217, in run
 self.__bm.makeBackup()
   File 
 /usr/local/lib/python2.6/dist-packages/nssbackup/managers/BackupManager.py, 
 line 277, in makeBackup
 self.__checkTarget()
   File 
 /usr/local/lib/python2.6/dist-packages/nssbackup/managers/BackupManager.py, 
 line 615, in __checkTarget
 FAM.makedir(self.config.get(general,target))
   File 
 /usr/local/lib/python2.6/dist-packages/nssbackup/managers/FileAccessManager.py,
  line 61, in makedir
 os.makedirs( target, 0750 )
   File /usr/lib/python2.6/os.py, line 150, in makedirs
 makedirs(head, mode)
   File /usr/lib/python2.6/os.py, line 157, in makedirs
 mkdir(name, mode)
 OSError: [Errno 13] Permission denied: 
 '/mnt/nssbackup/ssh_u...@server_n/PATH'
 

Hum, interesting. Can you open a bug for that and link it to the
question ? I think it's a different problem than the original one.

Regards

-- 
Oumar Aziz OUATTARA

Les femmes seraient charmantes si on pouvait tomber dans leur bras
sans tomber dans leurs mains.
-+- Ambrose Bierce (1842-1914) -+-

You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-01-24 Thread dik23
Question #96168 on NSsbackup changed:
https://answers.launchpad.net/nssbackup/+question/96168

Status: Answered = Solved

dik23 confirmed that the question is solved:
Have done

-- 
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-01-19 Thread Launchpad Janitor
Question #96168 on NSsbackup changed:
https://answers.launchpad.net/nssbackup/+question/96168

Status: Open = Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp