Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 13:22:34 -0800
From:      Paul Hoffman <phoffman@proper.com>
To:        Francisco Reyes <lists@natserv.com>
Cc:        Mike Meyer <mwm-dated-1044055669.3fadd8@mired.org>, FreeBSD Questions List <questions@FreeBSD.ORG>
Subject:   Re: Which files and directories to backup?
Message-ID:  <p0521020dba5b523f91f1@[165.227.249.18]>
In-Reply-To: <20030127161608.B49755-100000@zoraida.natserv.net>
References:  <20030127161608.B49755-100000@zoraida.natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 4:18 PM -0500 1/27/03, Francisco Reyes wrote:
>On Mon, 27 Jan 2003, Paul Hoffman wrote:
>
>>  before I do a major upgrade. I then shove the backup offsite via ftp.
>
>I have not been sending the files out, but working on that.
>First will encryp the files with gpg (GNU privacy) and then will use scp
>to send the files out. I don't have FTP enabled on any of the, very few,
>machines I admin.

Of course, that works too. I use FTP because I can use 'mirror' (from 
/usr/ports/net/mirror) to pull down the automatic backups reliably, 
and because I simply don't back up any file that has passwords (none 
of the password-containing files in /etc, nor any directory called 
'.ssh', nor any private key file used for writing certificates). I 
could probably hack up mirror or some other system to use scp, but 
mirror works and I can quickly get the files to where I want them 
(namely, away from the server they are backing up).

>  > Much of what you are backing up is quite compressable, so you should
>>  most likely be using 'tar -czf' instead of just 'tar -cf'
>
>I don't recall posting the line I use to run tar, but I use bzip2 instead
>of gzip so it's something like 'tar -cyf ....'

gzip is more universally known that bzip2, so using it means that you 
are more likely to be able to recover your data in an emergency, such 
as on a non-BSD system.

--Paul Hoffman

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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