Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2019 13:24:03 +0200
From:      Polytropon <freebsd@edvax.de>
To:        White-Wolf <white-wolf@ovh.fr>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190927132403.ef7cdbb0.freebsd>