Re: [BackupPC-users] SMB Restore Issues - Trailing slashes reversed

2010-01-14 Thread Craig Connoll
2009/12/20 Matthias Meyer matthias.me...@gmx.li:
 Craig Connoll wrote:

 Hi all.

 I have backuppc installed and working as I want it too but I have an
 issue when trying to restore a windows backup.

 All permissions are correct and no failures except when restoring to a
 window machines.

 I think the problem is the trailing slashes. They are forward slashed
 instead of back slashed which windows uses.

 Original file/dir
 172.16.10.222:/c$/Program Files/prog1/DataRetrieval 22_03_07.zip

 Will be restored to
 172.16.10.222:/c$/Program Files/prog1/DataRetrieval 22_03_07.zip


 Now when I try to change the slashes during the restore procedure it
 produces this:
 172.16.10.222:/c$/\Program Files\AES Energy Tracker/DataRetrieval
 22_03_07.zip

 Is there some way to fix this?
 Any help will be much appreciated

 Regards,

 Crashinit6

 Do you use smb or tar or rsync?
 What is your problem exactly on the windows machine?
 Are the files will be restored or not?
 Are the files in the correct directories or not?
 How do you see that the permissions are correct?

 br
 Matthias
 --
 Don't Panic


 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:    http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/


Hi,

Sorry for not giving all the details.

I am backing up a Windows 2000 Server hidden network share using SMB.
All the backups complete without any problems but I have a problem
restoring files directly to the share.
I am able to download the restore job as a tar file but this makes
more work for me.

The error is below:
Running: /usr/bin/smbclient server01\\D\$ -I 172.16.10.1 -U
cas\\superuser -E -N -d 1 -c tarmode\ full -Tx -
Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h 172.16.10.1 -n
16 -s D\$ -t -r /Shares/Academy/Curriculum\ content/Science/Personal\
Areas/Ms\ Monteiro -p /Shares/Academy/Curriculum\
content/Science/Personal\ Areas/Ms\ Monteiro/
/Shares/Academy/Curriculum\ content/Science/Personal\ Areas/Ms\
Monteiro/Assessment.xls /Shares/Academy/Curriculum\
content/Science/Personal\ Areas/Ms\ Monteiro/Homework.xls
Xfer PIDs are now 21945,21946
restore failed:

Original file/dir
172.16.10.1:/D$/Shares/Academy/Curriculum content/Science/Personal
Areas/Ms Monteiro/Assessment.xls
172.16.10.1:/D$/Shares/Academy/Curriculum content/Science/Personal
Areas/Ms Monteiro/Homework.xls

Restored to
172.16.10.1:/D$/Shares/Academy/Curriculum content/Science/Personal
Areas/Ms Monteiro/Assessment.xls
172.16.10.1:/D$/Shares/Academy/Curriculum content/Science/Personal
Areas/Ms Monteiro/Homework.xls

Any help on trying to resolve this issue will be greatly appreciated.


Regards,

Craig Connoll
ICT Support
The City of London Academy

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] strange ssh error

2010-01-14 Thread Craig Connoll
2009/12/22 Chris Robertson crobert...@gci.net:
 Claude Gélinas wrote:
 I've setup a new backuppc server on my main workstation which is a FC12.
 Everything look fine except I can't backup my workstation as ssh, keep asking
 root password.

 I've followed the BackupPC FAQ: SSH Setup for this workstation and a remote
 machine FC9. No problem with the remote machine which I can backup whitout
 problem. But for the local machine, when I do

 ssh -q -x -l root -v oligoextra,  as backuppc user

 it keep asking for a password for root.

 Here is what I get:

 ssh -q -x -l root -v oligoextra
 OpenSSH_5.2p1, OpenSSL 0.9.8k-fips 25 Mar 2009
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: Applying options for *
 debug1: Connecting to oligoextra [127.0.0.1] port 22.
 debug1: Connection established.
 debug1: identity file /var/lib/BackupPC/.ssh/identity type -1
 debug1: identity file /var/lib/BackupPC/.ssh/id_rsa type 1
 debug1: identity file /var/lib/BackupPC/.ssh/id_dsa type 2
 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.2
 debug1: match: OpenSSH_5.2 pat OpenSSH*
 debug1: Enabling compatibility mode for protocol 2.0
 debug1: Local version string SSH-2.0-OpenSSH_5.2
 debug1: SSH2_MSG_KEXINIT sent
 debug1: SSH2_MSG_KEXINIT received
 debug1: kex: server-client aes128-ctr hmac-md5 none
 debug1: kex: client-server aes128-ctr hmac-md5 none
 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
 debug1: Host 'oligoextra' is known and matches the RSA host key.
 debug1: Found key in /var/lib/BackupPC/.ssh/known_hosts:2
 debug1: ssh_rsa_verify: signature correct
 debug1: SSH2_MSG_NEWKEYS sent
 debug1: expecting SSH2_MSG_NEWKEYS
 debug1: SSH2_MSG_NEWKEYS received
 debug1: SSH2_MSG_SERVICE_REQUEST sent
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug1: Authentications that can continue: publickey,gssapi-with-mic,password
 debug1: Next authentication method: gssapi-with-mic
 debug1: Unspecified GSS failure.  Minor code may provide more information
 No credentials cache found

 debug1: Unspecified GSS failure.  Minor code may provide more information
 No credentials cache found

 debug1: Unspecified GSS failure.  Minor code may provide more information


 debug1: Next authentication method: publickey
 debug1: Trying private key: /var/lib/BackupPC/.ssh/identity
 debug1: Offering public key: /var/lib/BackupPC/.ssh/id_rsa
 debug1: Authentications that can continue: publickey,gssapi-with-mic,password
 debug1: Offering public key: /var/lib/BackupPC/.ssh/id_dsa
 debug1: Authentications that can continue: publickey,gssapi-with-mic,password
 debug1: Next authentication method: password
 r...@oligoextra's password:

 What can I do. Is there something different from FC9 to FC12 ???


 Nothing that should prevent this from working.  Please verify that you
 have put the public key (associated with the BackupPC user's private
 key) in /root/.ssh/authorized_keys on your workstation.

 Chris



 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:    http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/


You can use this howto that worked for me.
http://www.howtoforge.com/linux_backuppc_p4

Regards,
Craig

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] SMB Restore Issues - Trailing slashes reversed

2009-12-18 Thread Craig Connoll
Hi all.

I have backuppc installed and working as I want it too but I have an
issue when trying to restore a windows backup.

All permissions are correct and no failures except when restoring to a
window machines.

I think the problem is the trailing slashes. They are forward slashed
instead of back slashed which windows uses.

Original file/dir
172.16.10.222:/c$/Program Files/prog1/DataRetrieval 22_03_07.zip

Will be restored to
172.16.10.222:/c$/Program Files/prog1/DataRetrieval 22_03_07.zip


Now when I try to change the slashes during the restore procedure it
produces this:
172.16.10.222:/c$/\Program Files\AES Energy Tracker/DataRetrieval 22_03_07.zip

Is there some way to fix this?
Any help will be much appreciated

Regards,

Crashinit6
ICT Support
The City of London Academy

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/