← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 614937] Re: backup database unpickling stack underflow

 

On Thursday 23 December 2010 you wrote:
> On Wednesday 22 December 2010, you wrote:
@xrg 
thanks - (I know from previous discussions.)
you forgot to mention that attachments are NOT backed up using the client ..
For me it's always the question of (un)fulfilled expectations.
DB-Backup and some other menu items should do what they say .... ( or should 
say so (as "uninstall - beta")
suggestion: call it "DB backup of small databases without attachments"
  
> > may be the export code can check for the DB dump file size and give a
> > better hint. ... it's likely that everyone who stores (larger) images will
> > run into such (now known) problems
> 
> Well, I have not figured out what the limit is so far. But I'm sure that all 
> protocols (Net-RPC, XML-RPC, Pyro ;) ) have some limit, perhaps depending on 
> other thinks like python version, platform etc.
> 
> Even if we allowed dbs < Limit to be dumped, that would be a dangerous 
> practice, because an admin would setup that and forget to check his backups 
> the day they cross the limit. It's all dictated by Murphy's Law.
> 
> So, my advice: Just don't use the client facility for backups. Use pg_dump 
or 
> continuous backup/replication at the server side.
> 
> and, by all means: always check your backups! The fact that you had left a 
> backup script running for months doesn't guarrantee you that your data will 
be 
> available, when you will eventually need them!
> 
> -- 
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/614937
> 
> Title:
>   backup database unpickling stack underflow
> 
> Status in OpenObject Server:
>   Incomplete
> 
> Bug description:
>   Traceback (most recent call last):
>   File "/usr/lib64/python2.5/threading.py", line 486, in __bootstrap_inner
>     self.run()
>   File "/home/terp/OpenERP/branch/server/5.0/bin/netsvc.py", line 400, in 
run
>     ts.mysend(result)
>   File "/home/terp/OpenERP/branch/server/5.0/bin/tiny_socket.py", line 56, 
in mysend
>     sent = self.sock.send(msg[totalsent:])
> error: (32, 'Broken pipe')
> 
> the error seems to happen during or after the transfer of the dump to the 
client.
> 
> BTW backup of other databases of this server  work
> 
> in the problematic db some images are stored
> 
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-server/+bug/614937/+subscribe
> 

-- 
regards
Ferdinand Gassauer
ChriCar Beteiligungs- und Beratungs- GmbH
Official OpenERP Partner

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/614937

Title:
  backup database unpickling stack underflow

Status in OpenObject Server:
  Incomplete

Bug description:
  Traceback (most recent call last):
  File "/usr/lib64/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/home/terp/OpenERP/branch/server/5.0/bin/netsvc.py", line 400, in run
    ts.mysend(result)
  File "/home/terp/OpenERP/branch/server/5.0/bin/tiny_socket.py", line 56, in mysend
    sent = self.sock.send(msg[totalsent:])
error: (32, 'Broken pipe')

the error seems to happen during or after the transfer of the dump to the client.

BTW backup of other databases of this server  work

in the problematic db some images are stored





References