Date: Mon, 6 Sep 2004 19:37:17 -0400 From: mailing lists at MacTutor <lists@mactutor.biz> To: John Lee <john@allservers.net> Cc: freebsd-questions@freebsd.org Subject: Re: data backup software for freebsd Message-ID: <B0126612-005D-11D9-854A-000A95775140@mactutor.biz> In-Reply-To: <016001c49462$5c561df0$0200a8c0@astral> References: <5878D00B313A8D4E8D00B7E3082FC693067A1D@FF01.marsik.org> <413CE62A.9020902@makeworld.com> <016001c49462$5c561df0$0200a8c0@astral>
next in thread | previous in thread | raw e-mail | index | archive | help
John,
By the nature of your questions I'll respond that it would not be
unreasonable (nor uncommon) to do this:
tar czf /usr/local/archives/etc.tar.gz -C / etc usr/local/etc
where 'c' means create, 'z' means compress (using gzip), and 'f' is the
name of the archive file to write on. '-C' means change to this
directory before performing the archive. 'etc usr/local/etc' are the
directories that are to be included in the archive.
I prefer to date my archives in the filename and do this (I also like
long options):
tar --create --verbose --gzip --directory=/ \
--file=/usr/local/archives/etc-2004.09.06-archive.tgz \
etc > /usr/local/archives/etc-2004.09.06-archive.log
tar --create --verbose --gzip --directory=/ \
--file=/usr/local/archives/usr.local.etc-2004.09.06-archive.tgz \
usr/local/etc > \
/usr/local/archives/usr.local.etc-2004.09.06-archive.log
I then diff the log files against the archives as a check.
tar tzf /usr/local/archives/etc-2004.09.06-archive.tgz | \
diff -s - /usr/local/archives/etc-2004.09.06-archive.log
U can use scp (or some ftp agent) to shoot the archives and logs to
your ftp server as you wish.
Also, consider doing the following:
man tar
man gzip
man diff
Happy Tarring,
Alex
On Sep 6, 2004, at 6:39 PM, John Lee wrote:
> hmm, are there any popular free data backup software
> for freebsd?
>
> i hope to backup my /etc and important files to another
> server via ftp.
>
> --john.
> _______________________________________________
> 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"
>
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Alexander Sendzimir (owner) 802 863 5502
MacTutor: Apple Mac OS X Consulting info@mactutor.biz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B0126612-005D-11D9-854A-000A95775140>
