For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > October 2006 > backup via ftp, depth copy, script already out there?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author backup via ftp, depth copy, script already out there?
werwer

2006-10-30, 7:10 pm

Is there a Net::FTP script already out there which does an in depth
copy from
a given point in a directory structure and copies and recreates the
directory
structure where the files are saved?

werwer

2006-10-30, 7:10 pm


werwer wrote:
> Is there a Net::FTP script already out there which does an in depth
> copy from
> a given point in a directory structure and copies and recreates the
> directory
> structure where the files are saved?


I should add that the perl script will run from the backup site; going
out
and collecting files to be stored.

J. Gleixner

2006-10-30, 7:10 pm

werwer wrote:
> werwer wrote:
>
> I should add that the perl script will run from the backup site; going
> out and collecting files to be stored.
>


Not a perl solution, but 'rsync' works well, otherwise 'tar' the files,
maybe compress it, FTP it, and untar/uncompress it. What issues are you
having?

Post what you've tried or search for a similar solution on the Internet.
werwer

2006-10-30, 7:10 pm

We can't count on IT to backup properly. We need to copy our work to
our local
Win box drives to INSURE we don't loose work. It it isn't written in
COBAL, it
seems, it aint worth backing up. :-)


J. Gleixner wrote:
> werwer wrote:
>
> Not a perl solution, but 'rsync' works well, otherwise 'tar' the files,
> maybe compress it, FTP it, and untar/uncompress it. What issues are you
> having?
>
> Post what you've tried or search for a similar solution on the Internet.


werwer

2006-10-30, 7:10 pm

I'm not up on TAR, but great idea!
We could remote that command, check for completed, then just copy
the tar file. Hey, that's it! Thanks.


werwer wrote:[color=darkred]
> We can't count on IT to backup properly. We need to copy our work to
> our local
> Win box drives to INSURE we don't loose work. It it isn't written in
> COBAL, it
> seems, it aint worth backing up. :-)
>
>
> J. Gleixner wrote:

Tintin

2006-10-30, 7:10 pm


"werwer" <drubnone@yahoo.com> wrote in message
news:1161963979.317014.139750@h48g2000cwc.googlegroups.com...
> J. Gleixner wrote:
>
> We can't count on IT to backup properly. We need to copy our work to
> our local
> Win box drives to INSURE we don't loose work. It it isn't written in
> COBAL, it
> seems, it aint worth backing up. :-)


rsync is a *very* suitable solution to this.




--
Posted via a free Usenet account from http://www.teranews.com

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com