Current time: 09-28-2024, 06:23 AM Hello There, Guest! (LoginRegister)


Post Reply 
duply restore
Author Message
menki Offline
Member
***

Posts: 643
Joined: May 2008
Reputation: 0
Post: #4
RE: duply restore
hallo,

eine dirty art und weise gibt es um die sicherheitsoption zu umgehen:
ob sie in deiner version von duplicity funktioniert ist fraglich. mach bitte IMMER backups deiner original dateien vorher.

Code:
datei: commandline.py ca. zeile 392 diesen code

if local_path.exists() and not local_path.isemptydir():

in

if (local_path.exists() and not local_path.isemptydir()) and not
globals.force:

ändern. dann in patchdir.py in der zeile ca. 486

if self.dir_new_path.exists(): # base may exist, but nothing else

in

if self.dir_new_path.exists() and not globals.force: # base may exist, but
nothing else

es wird ein fehler in der konsole ausgegeben aber er sollte trotzdem die sicherung in das original verzeichniss einspielen. Big Grin

bitte berichte ob es funktioniert hat. Smile

freundlichen gruss
MENKI
(This post was last modified: 12-17-2010 01:22 AM by menki.)
12-17-2010 01:21 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
duply restore - eternalWalker - 12-16-2010, 09:44 PM
RE: duply restore - menki - 12-16-2010, 11:10 PM
RE: duply restore - eternalWalker - 12-17-2010, 12:59 AM
RE: duply restore - menki - 12-17-2010 01:21 AM
RE: duply restore - eternalWalker - 12-17-2010, 02:05 AM
RE: duply restore - menki - 12-17-2010, 03:00 AM
RE: duply restore - eternalWalker - 12-17-2010, 03:33 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)