Current time: 11-28-2024, 03:04 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT]ispCP System Backup: HowTo
Author Message
Kaimane Offline
Junior Member
*

Posts: 39
Joined: Oct 2007
Reputation: 0
Post: #18
RE: ispCP System Backup: HowTo
(10-27-2008 01:21 AM)menki Wrote:  du kannst mehrere verschiedene sicherungsprofile erstellen. diese könnten die verschiedenen gewünschten verzeichnisse sichern. cronmässig sollten sie sich nicht in die quere kommen. Smile
Dieser Weg sollte mir auch recht sein Smile

(10-27-2008 01:21 AM)menki Wrote:  wenn du lokal deine files verschlüsselt sichern möchtest dann füge in der config einfach: /tmp/backup_folder rein. das passwort sollte leer bleiben.
Also würde das so aussehen:
Code:
TARGET='/tmp/backup_folder/'
TARGET_PW=''

(10-27-2008 01:21 AM)menki Wrote:  die files lokal zu speichern und dann irgendwo hianufzuladen ist sinnlos da das rücksichern so nicht funktionieren kann!
Das hab ich auch nicht vor, sollte nur zusätzlich dort gesichert werden.

Jetzt ist folgendes Problem beim Testlauf aufgetreten:
Code:
Start ftplicity v1.4.0b1, time is 10/26/08 16:45:47.
Using profile '/root/.ftplicity/webmailsql'.
Attention: Could not interpret your duplicity version string ((most
"/usr/bin/duplicity",
duplicity.backends
"/usr/lib/python2.4/site-packages/duplicity/backends/__init__.py",
duplicity.backends.botobackend
"/usr/lib/python2.4/site-packages/duplicity/backends/botobackend.py",
duplicity.backend
"/usr/lib/python2.4/site-packages/duplicity/backend.py",
duplicity.dup_temp
"/usr/lib/python2.4/site-packages/duplicity/dup_temp.py",
log,
"/usr/lib/python2.4/site-packages/duplicity/path.py",
duplicity
"/usr/lib/python2.4/site-packages/duplicity/gpg.py",
GnuPGInterface,
No).

--- Start running command PRE (16:45:47.16) ---
Running '/root/.ftplicity/webmailsql/pre' - OK
--- Finished (16:45:47.47) ---

--- Start running command BKP (16:45:47.48) ---
Running duplicity - FAILED (code 1)
Output: Traceback (most recent call last):
  File "/usr/bin/duplicity", line 31, in ?
    import duplicity.backends
  File "/usr/lib/python2.4/site-packages/duplicity/backends/__init__.py", line 9, in ?
    import duplicity.backends.botobackend
  File "/usr/lib/python2.4/site-packages/duplicity/backends/botobackend.py", line 22, in ?
    import duplicity.backend
  File "/usr/lib/python2.4/site-packages/duplicity/backend.py", line 30, in ?
    import duplicity.dup_temp as dup_temp
  File "/usr/lib/python2.4/site-packages/duplicity/dup_temp.py", line 22, in ?
    import log, path, file_naming
  File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 657, in ?
    from duplicity import gpg
  File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 22, in ?
    import GnuPGInterface, misc, log
ImportError: No module named GnuPGInterface
--- Finished (16:45:47.58) ---

--- Start running command POST (16:45:47.59) ---
Skipping n/a script '/root/.ftplicity/webmailsql/post'.
--- Finished (16:45:47.60) ---
Womit kann dies zusammen hängen?

EDIT
-----
Nach vielem Lesen hat es dann nun doch geklappt! Keine Fehlermeldung mehr.
In Menki's HowTo wird unterstellt, dass soweit alles an benötigter Software installiert ist, um duplicity lauffähig zu machen (ausser python-dev sowie librsync-dev; diese Pakete werden ausdrücklich zum installieren angesprochen).
Duplicity gibt jedoch folgende Vorraussetzungen an:
Duplicity Requirements Wrote:* Python v2.3 or later (Python Home)
* librsync v0.9.6 or later (librsync Home)
* GnuPG for encryption (GnuPG Home)
* GnuPGInterface 0.3.2 or later (GnuPGInterface Home)
* NcFTP version 3.1.9 or later (NcFTP Home)
* Boto 0.9d or later (Boto Home)
* pexpect 2.1 or later (Pexpect Home)
Bei mir war es GnuPGInterface sowie pexpect, was nicht installiert war und somit zu den o. g. Fehlermeldungen führte.

@Menki
Vllt nimmst du dies noch in dein Howto auf ...

Viele Grüße
(This post was last modified: 10-27-2008 03:33 AM by Kaimane.)
10-27-2008 01:46 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
RE: ispCP System Backup: HowTo - ZooL - 10-19-2008, 02:19 AM
RE: ispCP System Backup: HowTo - sun - 10-19-2008, 02:27 AM
RE: ispCP System Backup: HowTo - menki - 10-19-2008, 02:55 AM
RE: ispCP System Backup: HowTo - Slowman - 10-19-2008, 02:54 AM
RE: ispCP System Backup: HowTo - Slowman - 10-19-2008, 07:49 PM
RE: ispCP System Backup: HowTo - ZooL - 10-19-2008, 08:04 PM
RE: ispCP System Backup: HowTo - Zothos - 10-19-2008, 11:56 PM
RE: ispCP System Backup: HowTo - victor531 - 10-20-2008, 12:37 AM
RE: ispCP System Backup: HowTo - rauschr - 10-20-2008, 01:11 AM
RE: ispCP System Backup: HowTo - menki - 10-20-2008, 03:01 AM
RE: ispCP System Backup: HowTo - Kaimane - 10-24-2008, 08:25 PM
RE: ispCP System Backup: HowTo - menki - 10-24-2008, 09:50 PM
RE: ispCP System Backup: HowTo - ZooL - 10-24-2008, 10:41 PM
RE: ispCP System Backup: HowTo - menki - 10-24-2008, 10:50 PM
RE: ispCP System Backup: HowTo - Kaimane - 10-26-2008, 11:51 PM
RE: ispCP System Backup: HowTo - menki - 10-27-2008, 01:21 AM
RE: ispCP System Backup: HowTo - Kaimane - 10-27-2008 01:46 AM
RE: ispCP System Backup: HowTo - menki - 10-27-2008, 03:47 AM
RE: ispCP System Backup: HowTo - Kaimane - 10-27-2008, 08:56 PM
RE: ispCP System Backup: HowTo - menki - 10-27-2008, 09:18 PM
RE: ispCP System Backup: HowTo - Kaimane - 10-27-2008, 11:00 PM
RE: ispCP System Backup: HowTo - menki - 10-27-2008, 11:15 PM
RE: ispCP System Backup: HowTo - Kaimane - 10-28-2008, 12:11 AM
RE: ispCP System Backup: HowTo - menki - 10-28-2008, 12:48 AM
RE: ispCP System Backup: HowTo - Lintu - 11-05-2008, 05:19 AM
RE: ispCP System Backup: HowTo - BeNe - 11-05-2008, 05:24 AM
RE: ispCP System Backup: HowTo - Lintu - 11-05-2008, 06:09 AM
RE: ispCP System Backup: HowTo - menki - 11-05-2008, 05:58 PM
RE: ispCP System Backup: HowTo - Lintu - 11-06-2008, 02:29 AM
RE: ispCP System Backup: HowTo - menki - 11-06-2008, 05:49 AM
RE: ispCP System Backup: HowTo - Lintu - 11-06-2008, 07:43 AM
RE: ispCP System Backup: HowTo - menki - 11-06-2008, 08:14 AM
RE: ispCP System Backup: HowTo - menki - 03-04-2009, 08:57 PM
RE: ispCP System Backup: HowTo - BeNe - 03-09-2009, 05:33 PM
RE: ispCP System Backup: HowTo - Knut - 03-09-2009, 07:55 PM
RE: ispCP System Backup: HowTo - xister - 03-09-2009, 08:07 PM
RE: ispCP System Backup: HowTo - tango - 03-09-2009, 08:57 PM
RE: ispCP System Backup: HowTo - Knut - 03-09-2009, 09:10 PM
RE: ispCP System Backup: HowTo - menki - 03-09-2009, 09:30 PM
RE: ispCP System Backup: HowTo - BeNe - 03-11-2009, 06:51 PM
RE: ispCP System Backup: HowTo - menki - 03-11-2009, 07:28 PM
RE: ispCP System Backup: HowTo - Knut - 12-08-2009, 06:13 PM
RE: ispCP System Backup: HowTo - Knut - 03-11-2009, 07:18 PM
RE: ispCP System Backup: HowTo - BeNe - 03-11-2009, 07:28 PM
RE: ispCP System Backup: HowTo - BeNe - 03-11-2009, 10:24 PM
RE: ispCP System Backup: HowTo - menki - 03-12-2009, 02:03 AM
RE: ispCP System Backup: HowTo - BeNe - 03-12-2009, 03:49 AM
RE: ispCP System Backup: HowTo - menki - 03-12-2009, 04:14 AM
RE: ispCP System Backup: HowTo - BeNe - 03-12-2009, 05:07 PM
RE: ispCP System Backup: HowTo - Knut - 03-12-2009, 05:20 PM
RE: ispCP System Backup: HowTo - BeNe - 03-12-2009, 05:31 PM
RE: ispCP System Backup: HowTo - Knut - 03-12-2009, 05:35 PM
RE: ispCP System Backup: HowTo - BeNe - 03-12-2009, 11:48 PM
RE: ispCP System Backup: HowTo - FraggDieb - 03-16-2009, 10:19 PM
RE: ispCP System Backup: HowTo - menki - 04-07-2009, 04:53 AM
RE: ispCP System Backup: HowTo - menki - 04-11-2009, 07:44 PM
RE: ispCP System Backup: HowTo - BeNe - 04-14-2009, 04:08 PM
RE: ispCP System Backup: HowTo - ZooL - 12-09-2009, 12:32 AM
RE: ispCP System Backup: HowTo - Knut - 12-09-2009, 08:10 AM
RE: ispCP System Backup: HowTo - FISA4 - 12-09-2009, 09:40 AM
RE: ispCP System Backup: HowTo - Knut - 12-09-2009, 10:36 PM
RE: ispCP System Backup: HowTo - Velo - 12-09-2009, 11:05 PM
RE: ispCP System Backup: HowTo - Knut - 12-09-2009, 11:15 PM
RE: ispCP System Backup: HowTo - Velo - 12-10-2009, 12:00 AM
RE: ispCP System Backup: HowTo - menki - 12-10-2009, 01:22 AM

Forum Jump:


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