Re: backing up freebsd

2011-07-04 Thread Bernt Hansson
2011-07-03 13:56, Tim Dunphy skrev: hello list!! Hello Tim. Could someone please provide a tip on how I can go about backing up the FreeBSD client? http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html ___ freebsd-quest

Re: Backing up freebsd to 1 file?

2010-04-19 Thread Chris Rees
On 18 April 2010 15:56, J.D. Bronson wrote: >  be created by the time your system boots on. >> >> Nice answer by Sergio, but I personally would use the j option with tar >> to compress to bzip2; >> >> 3) tar --one-file-system -cvjf /mnt/backup.tbz ./ var usr home >> >> Though I prefer personally t

Re: Backing up freebsd to 1 file?

2010-04-19 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/04/2010 16:16:21, Randal L. Schwartz wrote: > Nope. "shutdown" doesn't appear in /etc/rc.d/zfs keywords, so it won't > get "stop" during normal shutdown. That must happen later. Dammit. I know this really -- but for some reason i had it in my

Re: Backing up freebsd to 1 file?

2010-04-19 Thread Randal L. Schwartz
> "Sergio" == Sergio de Almeida Lenzi writes: >> It kills everything ungracefully and will screw up anything that needs >> to sync state to disk -- like mysql. >> >> Just use shutdown(8): it's what it's there for. >> >> # shutdown now "Going single user to make backups" >> >> Cheers, >> >

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/04/2010 06:52:29, Sergio de Almeida Lenzi wrote: > but I use zfs and I think that during shutdown, /etc/rc.d/zfs is > called stop > so it unmounts all zfs partition... (I did not tested...)... > so It must be called /etc/rc.d/zfs start again.

RE: Backing up freebsd to 1 file?

2010-04-18 Thread Terrence Koeman
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of J.D. Bronson > Sent: Sunday, April 18, 2010 3:23 PM > To: freebsd-questions@freebsd.org > Subject: Backing up freebsd to 1 file? > > I have a freebsd 8.0 install an

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Sergio de Almeida Lenzi
> It kills everything ungracefully and will screw up anything that needs > to sync state to disk -- like mysql. > > Just use shutdown(8): it's what it's there for. > > # shutdown now "Going single user to make backups" > > Cheers, > > Matthew Ok you are right... for me worked

Re: Backing up freebsd to 1 file?

2010-04-18 Thread J.D. Bronson
On 4/18/10 10:39 AM, Warren Block wrote: If you don't have any other drives, where will the backup file be stored so it survives a system failure or reinstall? Thoughts on this would be appreciated... dump/restore is the standard safe way; you can send it over ssh to back up to a file on anot

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Warren Block
On Sun, 18 Apr 2010, 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

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/04/2010 15:19:32, Jan Hlodan wrote: > you can migrate to zfs and then create snapshot of whole disk, import > this snapshot (e.g. via ssh) and then restore it back. You can create snapshots with UFS too. It's a good way of getting a reasonably

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/04/2010 15:37:03, Sergio de Almeida Lenzi wrote: > 2) init 1 (this closes all applications and drop into single user) It kills everything ungracefully and will screw up anything that needs to sync state to disk -- like mysql. Just use shutdown

Re: Backing up freebsd to 1 file?

2010-04-18 Thread J.D. Bronson
be created by the time your system boots on. Nice answer by Sergio, but I personally would use the j option with tar to compress to bzip2; 3) tar --one-file-system -cvjf /mnt/backup.tbz ./ var usr home Though I prefer personally to use dump/restore because: - If you're on UFS, you don't have

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Chris Rees
On 18 April 2010 15:37, Sergio de Almeida Lenzi wrote: > I am very happy with the folowing > > > Supose that you have mount ANOTHER device on /mnt > > 1) mount /dev/ /mnt > 2) init 1  (this closes all applications and drop into single user) > 3) tar --one-file-system -cvzf /mnt/backup.

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Jan Hlodan
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 i

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Sergio de Almeida Lenzi
I am very happy with the folowing Supose that you have mount ANOTHER device on /mnt 1) mount /dev/ /mnt 2) init 1 (this closes all applications and drop into single user) 3) tar --one-file-system -cvzf /mnt/backup.tar.gz ./ var usr home 4) umount /mnt 5) exit (reboot from single us

Re: Backing up freebsd to 1 file?

2010-04-18 Thread Polytropon
On Sun, 18 Apr 2010 08:23:12 -0500, "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. >

Re: Backing up FreeBSD and other Unix systems securely

2009-05-20 Thread Valentin Bud
On Mon, May 18, 2009 at 9:38 PM, Karl Vogel > wrote: > >> On Sun, 17 May 2009 09:12:57 -0700, > >> Kelly Jones said: > > K> I like this plan because it does versioned backups, and doesn't backup > K> identical files twice. I dislike it because I lose Mozy's unlimited disk > K> space. > > K> % Is

Re: Backing up FreeBSD and other Unix systems securely

2009-05-18 Thread Karl Vogel
>> On Sun, 17 May 2009 09:12:57 -0700, >> Kelly Jones said: K> I like this plan because it does versioned backups, and doesn't backup K> identical files twice. I dislike it because I lose Mozy's unlimited disk K> space. K> % Is there software that already does this? I have a 3-Tbyte server

Re: Backing up FreeBSD and other Unix systems securely

2009-05-18 Thread John Almberg
Is there any possibility of using your own media locally - such as tape or a large USB attached disk?If security is such a primary concern, I can't see sending the data to that type of offsite thing. Get a couple of large USB SATAs and use dump(8) to back the stuff up on them.Write them

Re: Backing up FreeBSD and other Unix systems securely

2009-05-18 Thread Jerry McAllister
On Sun, May 17, 2009 at 09:12:57AM -0700, Kelly Jones wrote: > I tried using Mozy for backups because they offer unlimited space, but > 1) they don't support FreeBSD, 2) they encrypt file contents, but NOT > file names, and 3) they don't do true versioned backups. Easy > workaround for 1): rsync t

Re: Backing up FreeBSD and other Unix systems securely

2009-05-17 Thread Christian Laursen
Kelly Jones wrote: I tried using Mozy for backups because they offer unlimited space, but 1) they don't support FreeBSD, 2) they encrypt file contents, but NOT file names, and 3) they don't do true versioned backups. Easy workaround for 1): rsync to a Mac/Windows and backup from there, but 2) and

Re: Backing up FREEBSD

2006-12-12 Thread N.J. Thomas
* Roger Olofsson <[EMAIL PROTECTED]> [2006-12-12 18:23:50 +0100]: > If you have a spare machine with the diskspace neeeded then you might > want to consider rsync over ssh. Rsync can do incremental backups, > which can be nice and timesaving. If you are going to go the rsync route, I recommend you

Re: Backing up FREEBSD

2006-12-12 Thread Roger Olofsson
Hello, If you have a spare machine with the diskspace neeeded then you might want to consider rsync over ssh. Rsync can do incremental backups, which can be nice and timesaving. There's plenty to read about it if you Google for "Freebsd backing up rsync ssh ports". Tony Shadwick skrev:

Re: Backing up FREEBSD

2006-12-12 Thread Jerry McAllister
On Tue, Dec 12, 2006 at 06:30:09AM -0500, [EMAIL PROTECTED] wrote: > Hi > > This is Arun from Singapore. I basically want to know how to back up > files if a computer is already running on FREEBSD. Please help me with > this as it is urgent. It depends a little on what media you have availab

Re: Backing up FREEBSD

2006-12-12 Thread Tony Shadwick
As with what he said. :) Dump and Restore are your friends. Also, in a crunch: tar -z -c -f /path/to/your/backup.tar.gz /filesystem Do that once for each mounted filesystem, and make sure backup.tar.gz lives on another system, perhaps on an nfs mount. Chad Gross wrote: The handbook is your

Re: Backing up FREEBSD

2006-12-12 Thread Chad Gross
The handbook is your friend: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html and most likely: man dump Chad On 12/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi This is Arun from Singapore. I basically want to know how to back up files if a computer is