Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th December 2006, 13:59
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default ftplicity problems

hi there,

I am trying to restore a BIG folder with all its content like this:

Quote:
h898552:/var/www/web2/web/temp/bckp# ftplicity fetch var/www/web2/web/galery /var/www/web2/web/temp/bckp/ 1D
Traceback (most recent call last):
File "/usr/bin/duplicity", line 358, in ?
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 339, in main
if action == "restore": restore(col_stats)
File "/usr/bin/duplicity", line 182, in restore
restore_get_patched_rop_iter(col_stats)):
File "/usr/lib/python2.3/site-packages/duplicity/patchdir.py", line 457, in Write_ROPaths
for ropath in rop_iter:
File "/usr/lib/python2.3/site-packages/duplicity/patchdir.py", line 431, in integrate_patch_iters
for patch_seq in collated:
File "/usr/lib/python2.3/site-packages/duplicity/patchdir.py", line 332, in yield_tuples
setrorps(overflow, elems)
File "/usr/lib/python2.3/site-packages/duplicity/patchdir.py", line 321, in setrorps
try: elems[i] = iter_list[i].next()
File "/usr/lib/python2.3/site-packages/duplicity/patchdir.py", line 79, in filter_path_iter
for path in path_iter:
File "/usr/lib/python2.3/site-packages/duplicity/patchdir.py", line 115, in difftar2path_iter
tarinfo_list[0] = tar_iter.next()
File "/usr/lib/python2.3/site-packages/duplicity/patchdir.py", line 288, in next
self.set_tarfile()
File "/usr/lib/python2.3/site-packages/duplicity/patchdir.py", line 278, in set_tarfile
if self.current_fp: assert not self.current_fp.close()
File "/usr/lib/python2.3/site-packages/duplicity/dup_temp.py", line 121, in close
assert not self.fileobj.close()
File "/usr/lib/python2.3/site-packages/duplicity/gpg.py", line 115, in close
self.gpg_process.wait()
File "/usr/lib/site-python/GnuPGInterface.py", line 644, in wait
raise IOError, "GnuPG exited non-zero, with code %d" \
IOError: GnuPG exited non-zero, with code 2
h898552:/var/www/web2/web/temp/bckp#
can anyone help me with this error messages? it simply stops restoring so I will try and restore each subfolder and file separately in the meantime but I have to sort this out urgently...

please give some advice.
Reply With Quote
Sponsored Links
  #2  
Old 12th December 2006, 15:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

All I could find is this:
http://article.gmane.org/gmane.comp....ty.general/621
http://groups.google.com/groups?q=IO...roups&ct=title
http://groups-beta.google.com/group/...b393f9d020c343
http://www.krungkuene.org/krung/wiki/Duplicity.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th December 2006, 01:12
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

thx for digging that up for me, still some posts are old, no one had any reply, and her I am again :-( using an autoamted backup system that is no good and worked so fien in the beginning, being even recommended by a serious german magazice (ct)...

well I think it is time to look for another one....
as this oen is no good, I could just not restore a very big folder, had to manually restore a lot of files ...
Reply With Quote
  #4  
Old 25th December 2006, 18:06
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

can anyone point me to a clean, working solution to backup a serevr? something like daily, weekly, monthly backup, differential, maybe incremental even...

I have a root server from strato and they provide access to a ftp partition the same size my server has...

I have been using ftplicity until now but lately I get backend errors all over the place...
Reply With Quote
  #5  
Old 26th December 2006, 17:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Take a look here: http://www.howtoforge.com/mirroring_with_rsync
http://www.howtoforge.com/linux_rdiff_backup
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 27th December 2006, 01:47
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

well, both articles you linked seem to be needing two full accessible servers, but strato only offers a backupserver with ftp access, thats it, no install, no ssh, nothing except for ftp access...

any other ideas?
Reply With Quote
  #7  
Old 27th December 2006, 17:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

To be honest, I wouldn't store my backups on a server that is not entirely under my control. What if there are passwords or other sensitive data in the backups?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 27th December 2006, 19:53
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

well, the ftplicity solution, was great, while working: it encrypted the backups with gpg or was it gnupg? so no probs there... you can find the full article (german) her: http://www.heise.de/security/artikel/print/78816
Reply With Quote
  #9  
Old 3rd February 2007, 13:31
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

I think this is not just a small ftplicity error as I tried deleting old backups and it tells me the newer ones depend on them, so it seems the full backup is not fully performed. I told ftplicity to store backups for 1 months:

Quote:
h898552:/var/www/web5/web/wp-content# ftplicity purge --force
There are backup set(s) at time(s):
Wed Nov 1 06:00:11 2006
Thu Nov 2 04:00:12 2006
Fri Nov 3 04:00:12 2006
Sat Nov 4 04:00:12 2006
Sun Nov 5 04:00:18 2006
Mon Nov 6 04:00:13 2006
Tue Nov 7 04:00:16 2006
Wed Nov 8 04:00:16 2006
Thu Nov 9 04:00:13 2006
Fri Nov 10 04:00:15 2006
Sat Nov 11 04:00:14 2006
Sun Nov 12 04:00:13 2006
Mon Nov 13 04:00:15 2006
Tue Nov 14 04:00:14 2006
Wed Nov 15 04:00:17 2006
Thu Nov 16 04:00:15 2006
Sat Nov 18 04:00:12 2006
Sun Nov 19 04:00:16 2006
Mon Nov 20 04:00:17 2006
Tue Nov 21 04:00:18 2006
Wed Nov 22 04:00:17 2006
Thu Nov 23 04:00:20 2006
Fri Nov 24 04:00:18 2006
Sat Nov 25 04:00:17 2006
Sun Nov 26 04:00:21 2006
Mon Nov 27 04:00:18 2006
Wed Nov 29 04:00:21 2006
Fri Dec 1 04:00:21 2006
Sat Dec 2 04:00:19 2006
Sun Dec 3 04:00:18 2006
Mon Dec 4 04:00:20 2006
Wed Dec 6 04:00:22 2006
Fri Dec 8 04:00:18 2006
Sat Dec 9 04:00:20 2006
Sun Dec 10 04:00:20 2006
Mon Dec 11 04:00:21 2006
Tue Dec 12 04:00:19 2006
Wed Dec 13 04:00:18 2006
Fri Dec 15 04:00:17 2006
Sun Dec 17 04:00:19 2006
Mon Dec 18 04:00:21 2006
Sat Dec 23 04:00:22 2006
Mon Dec 25 04:00:25 2006
Wed Dec 27 04:00:24 2006
Sat Dec 30 04:00:21 2006
Sun Dec 31 04:00:30 2006
Which can't be deleted because newer sets depend on them.
No old backup sets found, nothing deleted.
so this shows me having 3 months of backups, I guess because the full backup does not run? I tried running it manually and got:

Quote:
Reading globbing filelist /root/.ftplicity/exclude
Warning, found incomplete backup sets, probably left from aborted session
Traceback (most recent call last):
File "/usr/bin/duplicity", line 358, in ?
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 348, in main
if action == "full": full_backup(col_stats)
File "/usr/bin/duplicity", line 134, in full_backup
bytes_written = write_multivol("full", tarblock_iter, globals.backend)
File "/usr/bin/duplicity", line 86, in write_multivol
backend.put(tdp, dest_filename)
File "/usr/lib/python2.3/site-packages/duplicity/backends.py", line 356, in put
self.error_wrap('storbinary', "STOR "+remote_filename, source_file)
File "/usr/lib/python2.3/site-packages/duplicity/backends.py", line 342, in error_wrap
except ftplib.all_errors, e: raise BackendException(e)
duplicity.backends.BackendException
h898552:/var/www/web5/web/wp-content#
unfortunately I still can't find help on the net.
any ideqas what to do? the system was wonderful as long as it worked, now I need to fix it or change it.
Reply With Quote
  #10  
Old 20th February 2007, 18:17
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
 
Default

can someone who understands german pm me so I can pm you the link to the other forum? I have posted in another german-speaking forum and those posts might help solve this problems
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with groups/grpconv linuxfast General 28 21st April 2008 10:35
problems with ftplicity (backupscript) Ovidiu Server Operation 15 30th August 2006 16:37
Empty Recycle Bin jon335 General 40 6th May 2006 12:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 16:14
Suse 10.0 Installation Problems protocol Installation/Configuration 16 9th February 2006 06:07


All times are GMT +2. The time now is 06:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.