Re: backing up to ftp server

From: Vadim Kutsyy, Ph.D. (vadim_at_kutsyy.com)
Date: 07/07/04

  • Next message: Kent West: "Re: Where should I start ?"
    Date: Wed, 07 Jul 2004 13:16:27 -0700
    To: debian-user@lists.debian.org
    
    

    >>>I want to start backing up to ftp server and I was not able to find
    >>>package which does that.
    >>>
    >>>
    >>>
    >
    >tar zcvf today.tgz `find /etc /home -mtime -7 ( -type f -o -type l ) -print
    >
    >scp today.tgz ftp-backup:/pub/Backups
    > - add your host key for passwd-less backups
    >
    >
    Just in case if some one needs similar script, here is one which works
    for me

    tar zcvf - ./. |openssl des3 -salt -k password | ncftpput -u ftp.user -p
    ftp.password -c ftp.server.name backup.`date +%b.%d.%y`.des3 -

    PS: I do have more complex tar, but this is a script which will create
    encrypted gziped file directly on remote ftp.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Kent West: "Re: Where should I start ?"

    Relevant Pages

    • RE: forwarding logs
      ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
      (RedHat)
    • RE: forwarding logs
      ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
      (RedHat)
    • Re: CD to acc
      ... I m learning python, so thought i should write small py script to ... os.system (cmd) ... Run this script, while you are in the mounted CD ROM dir... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • brute force ssh login attempts and how to Disrupt them
      ... My head ... and I heard a rhythmic tick-tock coming from ... back, the idiot was gone so apparently, the script gives up ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • RE: export question
      ... environment, but that is what export is supposed to do. ... 'set' command. ... It *is* set in the sub-process created when you run the script. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)