HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   ftplicity problems (http://www.howtoforge.com/forums/showthread.php?t=9013)

Ovidiu 11th December 2006 12:59

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.

falko 12th December 2006 14:11

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

Ovidiu 13th December 2006 00:12

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 ...

Ovidiu 25th December 2006 17:06

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...

falko 26th December 2006 16:52

Take a look here: http://www.howtoforge.com/mirroring_with_rsync
http://www.howtoforge.com/linux_rdiff_backup

Ovidiu 27th December 2006 00:47

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?

falko 27th December 2006 16:35

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?

Ovidiu 27th December 2006 18:53

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

Ovidiu 3rd February 2007 12:31

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.

Ovidiu 20th February 2007 17:17

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


All times are GMT +2. The time now is 05:19.

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