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
  #21  
Old 18th March 2008, 15:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Tenaka
Do you have any clue about the current errors I posted in this post
Unfortunately not...
__________________
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
Sponsored Links
  #22  
Old 29th May 2008, 18:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

sjau has finally found the solution: http://www.howtoforge.com/ftp-backup...h#comment-4324
__________________
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
  #23  
Old 1st December 2008, 02:05
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default

Saw the solution--damn, empty directory caused this:

Traceback (most recent call last):
File "/usr/bin/duplicity", line 373, in ?
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 349, in main
globals.archive_dir).set_values()
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 406, in set_values
backend_filename_list = self.backend.list()
File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 365, in list
try: return self.error_wrap('nlst')
File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 335, in error_wrap
except ftplib.all_errors, e: raise BackendException(e)
duplicity.backends.BackendException: 226 Transfer complete.

I just drug a txt file off my desktop into the directory and it ran.

Thought it was going to be ok, but...

Traceback (most recent call last):
File "/usr/bin/duplicity", line 373, in ?
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 366, in main
if not sig_chain: full_backup(col_stats)
File "/usr/bin/duplicity", line 142, in full_backup
bytes_written = write_multivol("full", tarblock_iter, globals.backend)
File "/usr/bin/duplicity", line 89, in write_multivol
backend.put(tdp, dest_filename)
File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 349, in pu t
self.error_wrap('storbinary', "STOR "+remote_filename, source_file)
File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line 335, in er ror_wrap
except ftplib.all_errors, e: raise BackendException(e)
duplicity.backends.BackendException: 421 No Transfer Timeout (300 seconds): clos ing control connection.
----------------

Anyone know what's causing this one?

Last edited by PermaNoob; 1st December 2008 at 02:15. Reason: update
Reply With Quote
  #24  
Old 2nd December 2008, 00:08
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

guys, believe me, I have tried to solve this forever. for me the empty directory was not the problem.

curiously, right now, I was trying the whole thing again with the latest versions of boths programs, will psot again if it works.
Reply With Quote
  #25  
Old 2nd December 2008, 01:07
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default

For some reason it's working ok for me now--I don't know what caused the second error, but I'm not having it now. I just use pico to create a small file in the empty destination directory.

I have a 2nd drive on my server, so I located how to backup the whole drive to that if it's called disk2, for example:

duplicity --exclude /proc --exclude /disk2 / file:///disk2/server2bkup

http://www.nongnu.org/duplicity/duplicity.1.html

Btw, I just used apt-get install duplicity

Update: I couldn't get the full drive backup to work yet--it runs for a few hours then errors out.

Last edited by PermaNoob; 2nd December 2008 at 11:05. Reason: update
Reply With Quote
  #26  
Old 3rd December 2008, 05:42
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
 
Default

right, that was exactly my problem.
basically I just followed this guide: http://www.howtoforge.com/ftp-backup...debian-etch-p2 again, but used the newest versions from here: http://sourceforge.net/projects/ftplicity and http://duplicity.nongnu.org/ made sure I removed all old versions, then read the changes as the ftplicity syntax has slightly changed to include profiles and now everything is running smoothly as it should.
btw. take care to install all prerequisites of duplicity.
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 09:35
problems with ftplicity (backupscript) Ovidiu Server Operation 15 30th August 2006 15:37
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14
Suse 10.0 Installation Problems protocol Installation/Configuration 16 9th February 2006 05:07


All times are GMT +2. The time now is 22:39.


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