From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 14:45:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ED121065675 for ; Sun, 18 Apr 2010 14:45:57 +0000 (UTC) (envelope-from jan.hlodan@gmail.com) Received: from mail-bw0-f214.google.com (mail-bw0-f214.google.com [209.85.218.214]) by mx1.freebsd.org (Postfix) with ESMTP id CA5FD8FC1E for ; Sun, 18 Apr 2010 14:45:56 +0000 (UTC) Received: by bwz6 with SMTP id 6so3384080bwz.13 for ; Sun, 18 Apr 2010 07:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type; bh=4UAofbP/nUCJOqy6d3cCnDC3n4f8m4i1ttaToD9W2JA=; b=k+UYOZFORwYlU/NNEOg9Wf+nydls3wzvnu+SDvgtCV75yJYJAaZpdcDco9oM2OkSKD a2tbaDSK0WjmAgtVFk/lRIkY7q9QufEDfhvPHERkAW7uaAi+RMAST9dGj5iGNjvNJZJ5 2t1siiH+kKNkj+2Tnnle15sGXFHE/11kVcAcs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=YRfovCUXguYbY1ChciUyD4crqtKMMinHs9+SxLmsyKWSvWcDqZqxMTCefaEe/y0JX/ byrHTPjpg+RwOt+g4If8xUl7ThzIImhw+ceN7roxR/s+lW2zO4pv7Lmr/76G4YcYJKHL zJeNsgfGMvdZ5cQqdMTu8z4D2MtNa0kirhltg= MIME-Version: 1.0 Received: by 10.103.167.2 with HTTP; Sun, 18 Apr 2010 07:19:32 -0700 (PDT) In-Reply-To: <4BCB07C0.8010305@sbcglobal.net> References: <4BCB07C0.8010305@sbcglobal.net> From: Jan Hlodan Date: Sun, 18 Apr 2010 16:19:32 +0200 Received: by 10.102.254.24 with SMTP id b24mr2705733mui.5.1271600392162; Sun, 18 Apr 2010 07:19:52 -0700 (PDT) Message-ID: To: "J.D. Bronson" Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: Backing up freebsd to 1 file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2010 14:45:57 -0000 you can migrate to zfs and then create snapshot of whole disk, import this snapshot (e.g. via ssh) and then restore it back. Good luck. -- Jan Hlodan On Sun, Apr 18, 2010 at 3:23 PM, J.D. Bronson wrote: > I have a freebsd 8.0 install and was wondering if it is possible to tar up > the entire install...for backup purposes. > > # cd / > # tar -cvf backup.tar {list of directories} > > then I can ftp the tar file out to another machine. > > This works in theory, but if I need to do a restore tar complains > on 'tar -xpf backup.tar'. > > Under OpenBSD, this works as expected. It has given me an easy way > to backup/move/restore or anything I want to do w/o complaining. > > I am running Freebsd on a machine that has no other drives/tapes or anything > so my options for backup are limited. > > All I am trying to do is get a complete image (or snapshot) of my entire > install on this machine and then if I needed to reload or reinstall, I could > do a bare bones freebsd install, copy over the tar'd up file and extract it > from within / and then reboot an I would be go to go. > > Thoughts on this would be appreciated... > > > > -- > J.D. Bronson > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > 5