rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Newbie Stuck


From: Paul Steamboat
Subject: [rdiff-backup-users] Newbie Stuck
Date: Fri, 9 Apr 2004 11:26:49 -0600

Hello,
I'm pretty new to all this... so bear with me.
I have rdiff-backup installed on both machines in question and it works
locally on both.

machine 1
redhat 7.5 (i think) running as a file server using samba
ridiff-backup 0.12.6
ssh login port = 22
ip = 192.168.0.253

machine 2
debian acting as a firewall/gateway
rdiff-backup 06.0-1_all.deb
ssh login port = 420
ip = 192.168.0.254
when I run apt-get update here it says that this is the latest version.

I want to backup the samba share to the debian machine, eventually I want to
implement a full cron scenario where it does a full once a week then
incremementals daily with an auto delete of stuff say three weeks old or so.
But for right now i just want to get it to work.

this command from the debian machine
rdiff-backup /samba-saa  192.168.0.253::/samba/Data
yeilds this

address@hidden's password:
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 250, in
Main
    take_action(rps)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 220, in
take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
347, in Server
    self.get_response(-1)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
309, in get_response
    try: req_num, object = self._get()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
235, in _get
    if format_string == "o": result = cPickle.loads(data)
AttributeError: 'module' object has no attribute 'ConnectionRequest'
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 5099, in ?
    Globals.Main.Main()
  File "/usr/bin/rdiff-backup", line 4841, in Main
    self.remote_schema, self.remote_cmd)
  File "/usr/bin/rdiff-backup", line 4540, in InitRPs
    return map(cls.cmdpair2rp, cmd_pairs)
  File "/usr/bin/rdiff-backup", line 4545, in cmdpair2rp
    if cmd: conn = cls.init_connection(cmd)
  File "/usr/bin/rdiff-backup", line 4608, in init_connection
    cls.check_connection_version(conn)
  File "/usr/bin/rdiff-backup", line 4616, in check_connection_version
    remote_version = conn.Globals.get('version')
  File "/usr/bin/rdiff-backup", line 1878, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/bin/rdiff-backup", line 1815, in reval
    result = self.get_response(req_num)
  File "/usr/bin/rdiff-backup", line 1769, in get_response
    try: req_num, object = self._get()
  File "/usr/bin/rdiff-backup", line 1683, in _get
    assert len(header_string) == 9, \
AssertionError: Error reading from pipe (problem probably originated
remotely)

This string executed on the redhat machine

rdiff-backup /samba-saa/public 192.168.0.254::/samba-saa/public

yields this

ssh: connect to address 192.168.0.254 port 22: Connection refused
Fatal Error: Truncated header string (problem probably originated remotely)

Couldn't start up the remote connection by executing

    ssh -C 192.168.0.254 rdiff-backup --server

Remember that, under the default settings, rdiff-backup must be
installed in the PATH on the remote system.  See the man page for more
information on this.  This message may also be displayed if the remote
version of rdiff-backup is quite different from the local version (0.12.6).

forgive the differnce in folder names, I was just trying to test the backup
on small folder
hopefully this won't confuse.

Thanks in advance for the help.


Paul Ackerman
Steamboat Architectural Associates
Steamboat Springs, Colorado
address@hidden
www.steamboatarchitectural.com

970-879-0819
970-879-3406 fax

"I never let my schooling get in the way of my education"
                                           -M. Twain  (maybe)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]