From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 16:28:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F26D1C1 for ; Mon, 28 Jan 2013 16:28:13 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm14-vm1.bullet.mail.ird.yahoo.com (nm14-vm1.bullet.mail.ird.yahoo.com [77.238.189.91]) by mx1.freebsd.org (Postfix) with SMTP id 10DD99B7 for ; Mon, 28 Jan 2013 16:28:12 +0000 (UTC) Received: from [77.238.189.57] by nm14.bullet.mail.ird.yahoo.com with NNFMP; 28 Jan 2013 16:28:11 -0000 Received: from [46.228.39.66] by tm10.bullet.mail.ird.yahoo.com with NNFMP; 28 Jan 2013 16:28:11 -0000 Received: from [127.0.0.1] by smtp103.mail.ir2.yahoo.com with NNFMP; 28 Jan 2013 16:28:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1359390491; bh=g4VB8sxxljmjM9nq4Wz/5cttPNuWuIpUiw2FVB2NHZ4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:To:Cc:Subject:References:Date:MIME-Version:Content-Transfer-Encoding:From:Message-ID:In-Reply-To:User-Agent; b=fU07hZCyNYqKAVuUAvSxp27k5K/xiMu748LD3vQM27YWslUsqOpCYlp4mHqw3NIC5zN2f9dB3puxdWOzxqpH7C+fpx25sEta2ELyFu1Mp2Jpa5/FekRlrZ0cykH8zDdxuhm2B5zSYXaJbosEdDNEFrupdII1cViLgpSW59TxkAs= X-Yahoo-Newman-Id: 13201.92808.bm@smtp103.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-5 X-YMail-OSG: .XBOgqAVM1nomSLaAcMEe0CBPXl0Ow5P1ORAmyALcPEIqt1 7oUP8ZOaZO.r2dLGY3gUbYzaVSwAImsliqeFMqrqIe_NNHJtWpbaGRTLMSAN K7LT.1eocviqfkiDoASPByQFlC1ylMRUDcGPQZ_1jEx3RQVY.TClHhzHh_B2 WRUzLcBPALBVaQ0GBakG4joctvhD1Vl2gLCkxo.NvVJT7Rw1_HMkCw06hBIw QX1nxU8Szk58FihyaQTwLihpNEWez8faYdPvr2R5dZPjgXtaHqKC_PAAZFyz GLfxhM19Pno4Y2Rva1Cc8YNqRLIb9Aw3cZYTTlGbUzGWAXLu4mPVUH7bdIlw osJJrrAS2QyEKPrI1358PcaJSGQlwsSjuDbjA9c5_WTXVHTCbuFUsvJPof52 YdV.aeohTl6sTzZQnoxq1yZgXxMO3VNpaEudeJ6E6k7KfNzLCCNkYN2hS1jO fTvkGgA7B9WcsJsSAUy9G3xrpt8Q- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from freebsd (ralf.mardorf@85.182.25.166 with login) by smtp103.mail.ir2.yahoo.com with SMTP; 28 Jan 2013 16:28:10 +0000 UTC Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: Polytropon Subject: Re: Usage of "restore" References: <20130128165429.c5368afe.freebsd@edvax.de> Date: Mon, 28 Jan 2013 17:28:10 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Ralf Mardorf" Message-ID: In-Reply-To: <20130128165429.c5368afe.freebsd@edvax.de> User-Agent: Opera Mail/12.12 (FreeBSD) Cc: FreeBSD quest X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 16:28:14 -0000 On Mon, 28 Jan 2013 16:54:29 +0100, Polytropon wrote:= > The answer is in "man restore". :-) No it isn't ;). I did read it. This was a Wald'n'B=C3=A4ume situation. Even if I would have add a .bz2,= I would have missed it, since on Linux I .tar.bz backups and it's more automated to extract a .tar.foo. However, I should add .bz2 in the futur= e. > Ern... two things: Do you _really_ have /bin/bash on FreeBSD? > I know this is possible. > > And do you use any bash-specific features in your script? If > not, why not use /bin/sh, the "universally" accepted standard? :-) No /bin/bash, # ls /usr/local/bin/bash /usr/local/bin/bash I run "bash file" instead of "sh file", IIRC I already had an issue when= = writing a script and running "sh file". I use it, since I use it on Linux too, another shell might cause issues,= = if I continue writing this script or if I should write another script. = Btw. I was an Assembler coder in the 80s and don't have much knowledge h= ow = to write shell scripts, if I need something I search for it. I'm using = *NIX as OS for audio productions and for the Internet, I'm not intereste= d = in programming anymore, I only do what's needed, *NIX OS are a tool for = = me. Philosophy about POSIX isn't a religion for me. I thought /bin/sh is a link to another shell. Regards, Ralf