duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Trouble with 0.6.08b


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Trouble with 0.6.08b
Date: Fri, 07 May 2010 10:58:50 -0500
User-agent: Thunderbird 2.0.0.24 (X11/20100411)

Andre,

Let's try this to find the offending file...  Add '-v9' to your
duplicity command line and run it like this:
  # duplicity -v9 options source target >> logfile 2>&1
This will output everything to logfile.  What we then need is:
  -- the full commandline
  -- the first 200 lines of logfile
  -- the last 200 lines of logfile
Munge if you want, but do it very carefully!

If you want to diagnose this yourself, look in the logfile and find the
name of the last file it tried to read.  If you can do a
  # cat last_file /dev/null
and it fails then its a filesystem or drive problem.  You might find
some indication of which in /var/log/syslog.  If it succeeds, then we'll
have to find out why duplicity is not able to read that file.

...Thanks,
...Ken

Andre Dieball wrote:
> Ede
> 
> to be prescise: I can't install 2.6, as most system tools depend on 2.4.3.
> The only way around is to do a parallel install --- basically something I 
> want to avoid if possible.
> 
> Maybe an older version of duplicity (i have 0.5.x running fine on a Centos 
> 64bit system) will help?
> 
> Andre
> 
> 
> Am 07.05.2010 um 16:23 schrieb address@hidden:
> 
>> And could you check if your filesystem is sound by fsck'ing it. Just to 
>> exclude this possibility.
>>
>> ede/duply.net
>>
>> On 07.05.2010 14:43, Andre Dieball wrote:
>>> Hi
>>>
>>> I use duply with duplicity
>>> installed duplicity 0.6.08b from EPEL on centos 5.4 machine.
>>>
>>> Basically, duplicity starts to work and starts to create images on the ftp 
>>> server, but dies with w traceback after the seconds file.:
>>>
>>> ---cut---
>>>
>>>
>>> address@hidden ~]# duply harbard backup
>>> Start duply v1.5.2.3, time is 2010-05-07 14:21:52.
>>> Using profile '/root/.duply/harbard'.
>>> Using installed duplicity version 0.6.08b, gpg 1.4.5 (Home: ~/.gnupg)
>>> Test - Encryption with key C23432E0 (OK)
>>> Test - Decryption with key C23432E0 (OK)
>>> Test - Compare Original w/ Decryption (OK)
>>> Cleanup - Delete '/tmp/duply.24340.1273234912_*'(OK)
>>>
>>> --- Start running command PRE at 14:21:53.104 ---
>>> Running '/root/.duply/harbard/pre' - OK
>>> Output: removed 
>>> `/backups/latest/c2_osvelten_2010-05-06_23h18m.Thursday.sql.gz'
>>> removed 
>>> `/backups/latest/information_schema_2010-05-06_23h18m.Thursday.sql.gz'
>>> removed `/backups/latest/mysql_2010-05-06_23h18m.Thursday.sql.gz'
>>> removed `/backups/latest/test_2010-05-06_23h18m.Thursday.sql.gz'
>>> ======================================================================
>>> AutoMySQLBackup VER 2.5
>>> http://sourceforge.net/projects/automysqlbackup/
>>>
>>> Backup of Database Server - harbard.oberschule-velten.eu
>>> ======================================================================
>>> Backup Start Time Fri May 7 14:21:53 CEST 2010
>>> ======================================================================
>>> Daily Backup of Database ( information_schema )
>>> Rotating last weeks Backup...
>>>
>>>
>>> Backup Information for 
>>> /backups/daily/information_schema/information_schema_2010-05-07_14h21m.Friday.sql
>>>          compressed        uncompressed  ratio uncompressed_name
>>>                 468                1227  67.2% 
>>> /backups/daily/information_schema/information_schema_2010-05-07_14h21m.Friday.sql
>>> ----------------------------------------------------------------------
>>> Daily Backup of Database ( c2_osvelten )
>>> Rotating last weeks Backup...
>>>
>>>
>>> Backup Information for 
>>> /backups/daily/c2_osvelten/c2_osvelten_2010-05-07_14h21m.Friday.sql
>>>          compressed        uncompressed  ratio uncompressed_name
>>>             1257179             8063680  84.4% 
>>> /backups/daily/c2_osvelten/c2_osvelten_2010-05-07_14h21m.Friday.sql
>>> ----------------------------------------------------------------------
>>> Daily Backup of Database ( mysql )
>>> Rotating last weeks Backup...
>>>
>>>
>>> Backup Information for 
>>> /backups/daily/mysql/mysql_2010-05-07_14h21m.Friday.sql
>>>          compressed        uncompressed  ratio uncompressed_name
>>>              113634              423042  73.2% 
>>> /backups/daily/mysql/mysql_2010-05-07_14h21m.Friday.sql
>>> ----------------------------------------------------------------------
>>> Daily Backup of Database ( test )
>>> Rotating last weeks Backup...
>>>
>>>
>>> Backup Information for /backups/daily/test/test_2010-05-07_14h21m.Friday.sql
>>>          compressed        uncompressed  ratio uncompressed_name
>>>                 519                1352  65.5% 
>>> /backups/daily/test/test_2010-05-07_14h21m.Friday.sql
>>> ----------------------------------------------------------------------
>>> Backup End Fri May 7 14:21:57 CEST 2010
>>> ======================================================================
>>> Total disk space used for backup storage..
>>> Size - Location
>>> 4.2M /backups
>>>
>>> ======================================================================
>>> If you find AutoMySQLBackup valuable please make a donation at
>>> http://sourceforge.net/project/project_donations.php?group_id=101066
>>> ======================================================================
>>> --- Finished state OK at 14:21:57.164 - Runtime 00:00:04.059 ---
>>>
>>> --- Start running command BKP at 14:21:57.170 ---
>>> NcFTP version is 3.2.2
>>> Reading globbing filelist /root/.duply/harbard/exclude
>>> Local and Remote metadata are synchronized, no sync needed.
>>> Warning, found incomplete backup sets, probably left from aborted session
>>> Last full backup date: none
>>> No signatures found, switching to full backup.
>>> Traceback (most recent call last):
>>>   File "/usr/bin/duplicity", line 1239, in ?
>>>     with_tempdir(main)
>>>   File "/usr/bin/duplicity", line 1232, in with_tempdir
>>>     fn()
>>>   File "/usr/bin/duplicity", line 1210, in main
>>>     full_backup(col_stats)
>>>   File "/usr/bin/duplicity", line 416, in full_backup
>>>     globals.backend)
>>>   File "/usr/bin/duplicity", line 294, in write_multivol
>>>     globals.gpg_profile, globals.volsize)
>>>   File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 279, in 
>>> GPGWriteFile
>>>     data = block_iter.next(min(block_size, bytes_to_go)).data
>>>   File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 505, 
>>> in next
>>>     result = self.process(self.input_iter.next(), size)
>>>   File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 631, 
>>> in process
>>>     data, last_block = self.get_data_block(fp, size - 512)
>>>   File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 658, 
>>> in get_data_block
>>>     buf = fp.read(read_size)
>>>   File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 415, 
>>> in read
>>>     buf = self.infile.read(length)
>>>   File "/usr/lib/python2.4/site-packages/duplicity/diffdir.py", line 384, 
>>> in read
>>>     buf = self.infile.read(length)
>>> IOError: [Errno 22] Invalid argument
>>>
>>> -------- HANGS HERE UNTIL I PRESS CTRL-C -------
>>> q
>>> Error in atexit._run_exitfuncs:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
>>>     func(*targs, **kargs)
>>>   File "/usr/lib/python2.4/threading.py", line 634, in __exitfunc
>>>     t.join()
>>>   File "/usr/lib/python2.4/threading.py", line 540, in join
>>>     self.__block.wait()
>>>   File "/usr/lib/python2.4/threading.py", line 203, in wait
>>>     waiter.acquire()
>>> KeyboardInterrupt
>>> Error in sys.exitfunc:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
>>>     func(*targs, **kargs)
>>>   File "/usr/lib/python2.4/threading.py", line 634, in __exitfunc
>>>     t.join()
>>>   File "/usr/lib/python2.4/threading.py", line 540, in join
>>>     self.__block.wait()
>>>   File "/usr/lib/python2.4/threading.py", line 203, in wait
>>>     waiter.acquire()
>>> KeyboardInterrupt
>>> 14:40:56.882 Task 'BKP' failed with exit code '30'.
>>> --- Finished state FAILED 'code 30' at 14:40:56.882 - Runtime 00:18:59.711 
>>> ---
>>>
>>> --- Start running command POST at 14:40:56.896 ---
>>> Skipping n/a script '/root/.duply/harbard/post'.
>>> --- Finished state OK at 14:40:56.911 - Runtime 00:00:00.014 ---
>>>
>>>
>>>
>>> ---cut---
>>>
>>>
>>>
>>> thanks a lot in advance
>>>
>>>
>>> Andre
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Duplicity-talk mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>
>> _______________________________________________
>> Duplicity-talk mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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