Re: backing up to ftp server
From: Vadim Kutsyy, Ph.D. (vadim_at_kutsyy.com)
Date: 07/07/04
- Previous message: Jon Dowland: "Re: Copy Paste into vi??"
- In reply to: Alvin Oga: "Re: backing up to ftp server"
- Next in thread: Jon Dowland: "Re: backing up to ftp server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Jon Dowland: "Re: Copy Paste into vi??"
- In reply to: Alvin Oga: "Re: backing up to ftp server"
- Next in thread: Jon Dowland: "Re: backing up to ftp server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|