X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from smtp.freemail.gr (smtp.freemail.gr [81.171.104.132]) by lists.alpinelinux.org (Postfix) with ESMTP id 5FC8E17003B8C for ; Fri, 16 Jan 2009 13:55:27 +0000 (UTC) Received: from [10.10.10.2] (ppp-94-65-141-188.home.otenet.gr [94.65.141.188]) by smtp.freemail.gr (Postfix) with ESMTP id 88641338167; Fri, 16 Jan 2009 15:55:26 +0200 (EET) Message-ID: <497091CE.8080003@freemail.gr> Date: Fri, 16 Jan 2009 15:55:26 +0200 From: Harry Lachanas User-Agent: Icedove 1.5.0.14eol (X11/20090105) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: Nathan Angelacos CC: Alpine Developers Subject: Re: [alpine-devel] Backup Confing from remote alpine boxes .... References: <496F6FEC.60708@freemail.gr> <496F7CFB.701@nothome.org> <497067B2.4030708@freemail.gr> <497084AB.2030105@nothome.org> In-Reply-To: <497084AB.2030105@nothome.org> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit > > That's what the above does.. I can back up your box to my box with > the above command. > That is correct --- Sorry!! > natebox#ssh root@harrybox "lbu package -" >harrybox.apkovl.tar.gz > > I log into your box, run "lbu package -" on your machine, (the - > writes the lbu archive to stdout) which I then redirect to the file > harrybox.apkovl.tar.gz on my machine. > > I now have a local copy of the remote machine's config. > > From your box's perspective a remote machine pulled and stored your > config. > Instead I used rsync ... a) mount remote usb via #ssh root@nathans-box "mount /media/usb" b) rsync -az -e ssh root@nathans-box:/media/usb /this/directory c) umount remote via #ssh root@nathans-box "umount /media/usb" Your opinion ??? As U understand I have this as cron job..... that way I won't pull the config if it's not changed .... of course some ping checks are performed beforehand, to see that the host is alive and some return values are checked etc... bla bla bla .... The thing is I don't have 1.7.19+ on the boxes + the boxes won't boot with the default alpine image ( kernel modules + scd0 links are required ) .... + the boxes are now installed 500 Km away .... Thanks again Nathan. Harry. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---