Quote:es ist nicht in der wiki...noch nicht
Jetzt schon -->
http://www.isp-control.net/documentation..._ftplicity
Danke an knut!
Quote:ich sehe nirgends das ich diese befehle vertauscht habe. im ersten howto post ist es korrekt dargestellt. wo hast du diesen fehler gefunden?
Der Befehl ist:
Code:
# ftplicity create backup_profile
Sorry. A fatal error occured:
Selected profile 'create' does not resolve to a valid profile in
'/root/.ftplicity/create'.
Hints:
Use 'ftplicity <name> create' to create a profile first.
Use 'ftplicity usage' to get usage help.
Und nicht
Code:
# ftplicity create backup_profil
Steht jetzt aber richtig im Wiki.
Quote:sicherich kann man GnuPGInterface, Boto und pexpect per apt-get installen aber diese packete würden dannn versionsmässig nicht zu der installierten duplicity software passen. meistens bekommt man ja über apt-get veraltete software installiert. mann sollte da versionen vergleichen und nur die neusten packete installieren.
Also die Versionen sind mind. gleich uns meinstens höher in den Debian Lenny repositories. Also das geht!
Habe gestern Abend nochmals versucht eine Sicherung zu machen, leider funktioniert das nicht!
Zu sichern sind ~14GB aber er schreibt grad mal 10MB
Komisch ist auch wie er auf das mkdir vserver/ kommt. Habe das beim Pfad für den Backuporder auf dem FTP-Server so angegeben und jetzt erstellt der mit zig Unterordner "vserver" und legt da eine Datei ab.
Nach run 10Min sollen 14GB übertragen sein, was es grad mal 50BM sind.
Hier das Output.
Code:
'
ftp command: 'mkdir vserver/'
State = running, Before = ' mkdir vserver/
'
ftp command: 'cd vserver/'
State = running, Before = ' cd vserver/
'
ftp command: 'put -z /tmp/duplicity-xN5n84-tempdir/mktemp-qXTvTd-2 duplicity-full.20090311T082626Z.vol1.difftar.gpg'
State = running, Before = ' put -z /tmp/duplicity-xN5n84-tempdir/mktemp-$
/tmp/duplicity-xN5n84-tempdir/mktemp-qXTvTd-2:...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:00 0.03/ 25.00 MB 151.70 MB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:51 0.16/ 25.00 MB 498.19 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:09 0.47/ 25.00 MB 363.31 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:11 0.78/ 25.00 MB 351.40 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:10 1.12/ 25.00 MB 350.58 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:09 1.47/ 25.00 MB 349.61 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:08 1.81/ 25.00 MB 349.57 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:07 2.16/ 25.00 MB 349.17 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:06 2.47/ 25.00 MB 348.97 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:06 2.78/ 25.00 MB 342.68 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:05 3.12/ 25.00 MB 343.50 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:04 3.47/ 25.00 MB 343.71 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:03 3.78/ 25.00 MB 344.08 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:02 4.12/ 25.00 MB 344.48 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:01 4.47/ 25.00 MB 344.64 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 1:00 4.81/ 25.00 MB 344.92 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:59 5.16/ 25.00 MB 345.10 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:58 5.50/ 25.00 MB 345.36 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:57 5.84/ 25.00 MB 345.43 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:56 6.19/ 25.00 MB 342.59 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:55 6.47/ 25.00 MB 343.19 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:54 6.81/ 25.00 MB 343.36 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:53 7.16/ 25.00 MB 343.60 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:52 7.47/ 25.00 MB 343.80 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:51 7.81/ 25.00 MB 343.92 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:50 8.16/ 25.00 MB 344.13 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:49 8.50/ 25.00 MB 344.25 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:48 8.84/ 25.00 MB 344.42 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:47 9.19/ 25.00 MB 344.51 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:46 9.53/ 25.00 MB 344.67 kB/s ...5n84-tempdir/mktemp-qXTvTd-2: ETA: 0:45 9.88/ 25.00 MB 344.77 kB/s '
Timeout waiting for response
Running 'ncftp -u backupserver meinserver.no-ip.org' failed (attempt #5)
Giving up trying to execute 'ncftp -u backupserver meinserver.no-ip.org' after 5 attempts
Removing still remembered temporary file /tmp/duplicity-xN5n84-tempdir/mktemp-q5jUO0-1
Removing still remembered temporary file /tmp/duplicity-xN5n84-tempdir/mktemp-qXTvTd-2
Traceback (most recent call last):
File "/usr/bin/duplicity", line 589, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 582, in with_tempdir
fn()
File "/usr/bin/duplicity", line 571, in main
full_backup(col_stats)
File "/usr/bin/duplicity", line 235, in full_backup
bytes_written = write_multivol("full", tarblock_iter, globals.backend)
File "/usr/bin/duplicity", line 162, in write_multivol
(tdp, dest_filename)))
File "/usr/lib/python2.5/site-packages/duplicity/asyncscheduler.py", line 148, in schedule_task
return self.__run_synchronously(fn, params)
File "/usr/lib/python2.5/site-packages/duplicity/asyncscheduler.py", line 174, in __run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 161, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename: put(tdp, dest_filename),
File "/usr/bin/duplicity", line 115, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.5/site-packages/duplicity/backends/ftpbackend.py", line 171, in put
res = self.run_ftp_command_list(commands)
File "/usr/lib/python2.5/site-packages/duplicity/backends/ftpbackend.py", line 166, in run_ftp_command_list
raise BackendException("Error running '%s'" % self.commandline)
BackendException: Error running 'ncftp -u backupserver meinserver.no-ip.org'
--- Finished (08:32:15.726) ---
--- Start running command POST (08:32:15.739) ---
Skipping n/a script '/root/.ftplicity/vserver/post'.
--- Finished (08:32:15.746) ---
Rechte auf dem FTP sind ok, weil Ordner und Dateien ja angelegt werden.
Muss ich nicht verstehen oder ?
Hier meine Config
Code:
# gpg key data
GPG_KEY=MYKEYSTEHTHIER
GPG_PW='MEINTOLLESPW'
# credentials & server address of the ftp server (URL-Format)
TARGET='ftp://backup@meinserver.no-ip.org/vserver/'
TARGET_PW='MEINBACKUPPW'
# base directory to backup
SOURCE='/'
# oldest time frame for restoration, see duplicity man page, chapter TIME_FORMATS)
MAX_AGE=1M
# Number of full backups to keep. Used for the "purge-full" command.
# See duplicity man page, action "remove-all-but-n-full".
MAX_FULL_BACKUPS=2
# verbosity of output (9 for bug fixing)
VERBOSITY=9
# temporary file space. at least the size of the biggest file in backup
# for a successful restoration process.
TEMP_DIR=/tmp
# sets duplicity --time-separator option (since v0.4.4.RC2) to allow users
# to change the time separator from ':' to another character that will work
# on their system. HINT: For Windows SMB shares, use --time-separator='_'.
# NOTE: '-' is not valid as it conflicts with date separator.
#DUPL_PARAMS="$DUPL_PARAMS --time-separator _ "
# activates duplicity --short-filenames option, when uploading to a file
# system that can't have filenames longer than 30 characters (e.g. Mac OS 8)
# or have problems with ':' as part of the filename (e.g. Microsoft Windows)
#DUPL_PARAMS="$DUPL_PARAMS --short-filenames "
# activates duplicity --full-if-older-than option (since duplicity v0.4.4.RC3)
# forces a full backup if last full backup reaches a specified age, for the
# format of MAX_FULLBKP_AGE see duplicity man page, chapter TIME_FORMATS
#MAX_FULLBKP_AGE=1M
#DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "
# sets duplicity --volsize option (available since v0.4.3.RC7)
# set the size of backup chunks to VOLSIZE MB instead of the default 5MB.
# VOLSIZE must be number of MB's to set the volume size to.
VOLSIZE=50
#DUPL_PARAMS="$DUPL_PARAMS --volsize $VOLSIZE "
# more duplicity command line options can be added in the following way
# don't forget to leave a separating space char at the end
#DUPL_PARAMS="$DUPL_PARAMS --put_your_options_here "
Greez BeNe