From owner-freebsd-questions@freebsd.org Fri Sep 27 11:24:12 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 440C5FF0C0 for ; Fri, 27 Sep 2019 11:24:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46fqF66mxJz3CYH for ; Fri, 27 Sep 2019 11:24:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.3.117]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MuDLZ-1hsRYJ0N5x-00uXXu; Fri, 27 Sep 2019 13:24:06 +0200 Date: Fri, 27 Sep 2019 13:24:03 +0200 From: Polytropon To: White-Wolf Cc: FreeBSD Questions Subject: Re: How Backup My 13-Current ? Message-Id: <20190927132403.ef7cdbb0.freebsd@edvax.de> In-Reply-To: <8dcb5dbfa700076d6d2c0744f95dae3f3c0d3ab1.camel@ovh.fr> References: <8dcb5dbfa700076d6d2c0744f95dae3f3c0d3ab1.camel@ovh.fr> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:bOytUz2Tbs9Z8ck+JSNYE1bcF5SrU+0m1ft68kPemsPi+fqviWA 32qiDeslVmcfLVm0M2mygjYu3K7ipP7T0oNR280LFhtORbF6Rlq73s5ixAvxtjEAWkmzegm NmxDKcvdR1qcVNdRo3dgU9vqOfKf9W7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Id: 46fqF66mxJz3CYH X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.86 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[117.3.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.988,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[131.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.48)[ip: (1.65), ipnet: 212.227.0.0/16(-1.37), asn: 8560(2.11), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2019 11:24:12 -0000 On Fri, 27 Sep 2019 11:00:53 +0200, White-Wolf wrote: > Hi, > how can i backup my FreeBSD for not redo my work if it's crash ? A system crash usually doesn't require you to retrieve a backup. But having a backup is always a good idea. The common way to do this on FreeBSD (and UNIX in general) is to use dump and restore. Dump to an external disk, usually initiated from a live system (or single-user mode - something where the disk will not be written to), and if you need, restore from that backup in a similar way (here a live system is highly suggested). > There are an documentation ? I recommend this summary (with examples) by Warren Block: http://www.wonkity.com/~wblock/docs/html/backup.html You should also note the corresponding chapter in The FreeBSD Handbook: https://www.freebsd.org/doc/handbook/backup-basics.html > What the best way ? There is only one definite answer: It depends. :-) Next to classic dump and restore, there is file-oriented backup. Tools to do this are tar, rsync, or cpdup, just to name a few. And finally, there's the 1:1 method with dd, also called "cloning" where a complete disk (or partition) is written, with no aspects of files. What _you_ need depends on what kind of problem you want to solve, which in turn depends on what kind of problem you are expecting. There is no "one size fits all eierlegende Wollmilchsau" for this particular consideration. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...