FTP Backup von files >2GB

Backup, Restore und Transfer von Daten
Post Reply
s20
Posts: 98
Joined: 2002-10-10 20:47
 

FTP Backup von files >2GB

Post by s20 »

Hallo,

wie macht ihr eure Rootserver Backups, wenn die backup files größer als 2GB werden. Curl (aus Disti) ist leider nicht in der Lage die zu kopieren. Es gibt zwar eine aktuellere Version von curl. Leider nicht als rpm für die suse 8.1.

Code: Select all

error: failed dependencies:
        libc.so.6(GLIBC_2.3)   is needed by curl-7.10.5-42
        libcrypto.so.0.9.7   is needed by curl-7.10.5-42
        libssl.so.0.9.7   is needed by curl-7.10.5-42
Wie könnte man das Problem lösen?

Danke
S20
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: FTP Backup von files >2GB

Post by alexander newald »

Mit split aufteilen
s20
Posts: 98
Joined: 2002-10-10 20:47
 

Re: FTP Backup von files >2GB

Post by s20 »

und rückwärts mit cat wieder zusammenführen?? das dauert leider sehr lange. gibts da nix ordentliches?
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: FTP Backup von files >2GB

Post by alexander newald »

Mit Perl einen kleinen FTP Client erstellen:

Code: Select all

#!/usr/bin/perl
use Net::FTP;

$zeit = time;

$ip = "127.0.0.1";
$pwd = "password";
$userid = "userid";

$ftp = Net::FTP->new($ip);
$ftp->login($userid,$password);
$ftp->mkdir("/backup");
$ftp->put("/localbackup/today.tgz","/backup/$zeit.tgz");
$ftp->quit();
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: FTP Backup von files >2GB

Post by Joe User »

s20 wrote:wie macht ihr eure Rootserver Backups, wenn die backup files größer als 2GB werden.

Code: Select all

man tar
man star
man gzip
man cpio
...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
s20
Posts: 98
Joined: 2002-10-10 20:47
 

Re: FTP Backup von files >2GB

Post by s20 »

Also ich könnte es mittels -b option und tar ja aufteilen. leider finde ich nirgends eine info, wie ich diese files wieder entpacke.

danke
s20
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: FTP Backup von files >2GB

Post by Joe User »

Alle Files in eine Verzeichnis legen und das Erste zum Entpacken auswählen, der Rest sollte dann automagisch entpackt werden...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply