Current time: 11-24-2024, 09:23 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
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #44
RE: ispCP System Backup: HowTo
Jup, Verzeichniss habe ich vorher schon erstellt und echt mach auch wieder unterhalb von vserver nochmals welche.
Sieht dann so aus:
Code:
srv-south:/mnt/data/Backup/vserver# ls -l
insgesamt 10288
-rw-r--r-- 1 backupserver backupserver 10512360 11. Mär 09:27 duplicity-full.20090311T082626Z.vol1.difftar.gpg
drwxr-xr-x 3 backupserver backupserver     4096 11. Mär 09:28 vserver
srv-south:/mnt/data/Backup/vserver# cd vserver/
srv-south:/mnt/data/Backup/vserver/vserver# ls -l
insgesamt 10352
-rw-r--r-- 1 backupserver backupserver 10577896 11. Mär 09:28 duplicity-full.20090311T082626Z.vol1.difftar.gpg
drwxr-xr-x 3 backupserver backupserver     4096 11. Mär 09:30 vserver
srv-south:/mnt/data/Backup/vserver/vserver# cd vserver/
srv-south:/mnt/data/Backup/vserver/vserver/vserver# ls -l
insgesamt 10320
-rw-r--r-- 1 backupserver backupserver 10544744 11. Mär 09:29 duplicity-full.20090311T082626Z.vol1.difftar.gpg
drwxr-xr-x 3 backupserver backupserver     4096 11. Mär 09:31 vserver
srv-south:/mnt/data/Backup/vserver/vserver/vserver# cd vserver/
srv-south:/mnt/data/Backup/vserver/vserver/vserver/vserver# ls -l
insgesamt 10260
-rw-r--r-- 1 backupserver backupserver 10483224 11. Mär 09:30 duplicity-full.20090311T082626Z.vol1.difftar.gpg
drwxr-xr-x 2 backupserver backupserver     4096 11. Mär 09:31 vserver
srv-south:/mnt/data/Backup/vserver/vserver/vserver/vserver# cd vserver/
srv-south:/mnt/data/Backup/vserver/vserver/vserver/vserver/vserver# ls -l
insgesamt 10320
-rw-r--r-- 1 backupserver backupserver 10550160 11. Mär 09:31 duplicity-full.20090311T082626Z.vol1.difftar.gpg
srv-south:/mnt/data/Backup/vserver/vserver/vserver/vserver/vserver#

Greez BeNe
Jetzt habe ich mal das "vserver" rausgenommen und er sicht direkt in das FTP-Root. Leider passt es immer noch nicht bzw. frage ich mich warum er das was überschreiben will:
Code:
ftp command: 'set confirm-close no'
State = running, Before = ' set confirm-close no
'
ftp command: 'type binary'
State = running, Before = ' type binary
'
ftp command: 'set passive yes'
State = running, Before = ' set passive yes
'
ftp command: 'mkdir '
State = running, Before = ' mkdir
Usage: mkdir dir1 [dir2...]
'
ftp command: 'cd '
State = running, Before = ' cd
'
ftp command: 'put -z /tmp/duplicity-6082hh-tempdir/mktemp-O94czo-2 duplicity-full.20090311T092946Z.vol1.difftar.gpg'
State = running, Before = ' put -z /tmp/duplicity-6082hh-tempdir/mktemp-O94czo-2 duplicity-full.$

The remote file "duplicity-full.20090311T092946Z.vol1.difftar.gpg" already exists.
        Local:      26212239 bytes, dated Wed Mar 11 09:30:03 2009.
        Remote:     10506760 bytes, dated Wed Mar 11 09:30:38 2009.

        [O]verwrite?  [R]esume?  [A]ppend to?  [S]kip?  [N]ew Name?
        [O!]verwrite all?  [R!]esume all?  [S!]kip all?  [C]ancel  > '
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-6082hh-tempdir/mktemp-G1btmO-1
Removing still remembered temporary file /tmp/duplicity-6082hh-tempdir/mktemp-O94czo-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 (09:35:34.564) ---

--- Start running command POST (09:35:34.581) ---
Skipping n/a script '/root/.ftplicity/vserver/post'.
--- Finished (09:35:34.594) ---

Wie soll ich das hier verstehen:
Code:
Local:      26212239 bytes, dated Wed Mar 11 09:30:03 2009.
        Remote:     10506760 bytes, dated Wed Mar 11 09:30:38 2009.

        [O]verwrite?  [R]esume?  [A]ppend to?  [S]kip?  [N]ew Name?
        [O!]verwrite all?  [R!]esume all?  [S!]kip all?  [C]ancel  > '
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
Die Datei ist wie gesagt erstmal auf dem BackupServer drauf:
Code:
# ftp meinserver.no-ip.org
Connected to meinserver.no-ip.org.
220 192.168.100.3 FTP server ready
Name (meinserver.no-ip.org:root): backupserver
331 Password required for backupserver
Password:
230 User backupserver logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rw-r--r--   1 backupserver backupserver 10506760 Mar 11 09:30 duplicity-full.20090311T092946Z.vol1.difftar.gpg
226 Transfer complete
ftp>
Allerdings ist die lokale auf dem server unter /tmp 25MB und diese auf dem FTP-Server nur 10MB und dann will er die auch noch überschreiben ?
Hatte vorher alles geleert und die Datei wurde in dieser Session erzeugt und war vorher noch nicht da. Das sollter der doch checken das er die selber angelegt hat und noch nicht mal zuende kopiert hat.

Greez BeNe
Quote:wenn du ein backup machen willst dann mache bitte zuerst ein backup von einem folder mit beispielsweise 500 mb datenvolumen und nicht gleich den ganzen server. so kannst du verifizieren wo der fehler ist wenn es einen fehler gibt. wenn der server in betrieb ist dann sind ja sehr viele files gesperrt oder in verwendung. in meiner anleitung steht drinnen welche folder/files in der exculde datei definiert werden müssen, damit keine probs entstehen
Dürfte ja eigentlich keine Rolle spielen da er noch nicht mal zwei Ordner weit gekommen ist. Aber ich kann es mal machen.

Die excludes habe ich gepflegt:
Code:
/boot
/backup
/dev
/initrd
/lib
/media
/mnt
/proc
/src
/sys
/tmp
/var/tmp
/var/run
/var/spool
Quote:hast du ein vserver verzeichniss auf dem ftp VOR DER SICHERUNG erstellt?
Wink Ja!

Quote:haat du eine datei /root/.ftplicity/pre und wenn ja, welcher inhalt ....?
Nein, keine.

Greez BeNe
(This post was last modified: 03-11-2009 07:49 PM by BeNe.)
03-11-2009 07:28 PM
Visit this user's website 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: 11 Guest(s)