From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 16:16:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC18710656C8 for ; Wed, 9 Apr 2008 16:16:48 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 531528FC0C for ; Wed, 9 Apr 2008 16:16:47 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id m39GGk14089108; Wed, 9 Apr 2008 18:16:46 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id DC784B82D; Wed, 9 Apr 2008 18:16:45 +0200 (CEST) Date: Wed, 9 Apr 2008 18:16:45 +0200 From: Roland Smith To: Ruel Luchavez Message-ID: <20080409161645.GA96773@slackbox.xs4all.nl> Mail-Followup-To: Ruel Luchavez , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Back up files... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2008 16:16:48 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 09, 2008 at 11:11:13AM +0800, Ruel Luchavez wrote: > Hello again... >=20 > Guys could you teach me how to transfer files from server, I have back up= my > files & i want > to transfer the back up files folder in my DVD CD to avoid disk consumpti= on. For making backups to DVD you need growisofs(1). This is part of the sysutils/dvd+rw-tools port, which you'll need to install. You will also need to configure your kernel to use SCSI emulation for the DVD device. This is documented on my FreeBSD page; http://www.xs4all.nl/~rsmith/freebsd/index.html#cdrom Using growisofs is relatively simple. Read the manual page. The hard part is to make sure that whatever you burn isn't larger than a DVD. Depending on data size you'll have to spread the data to several DVDs. If you have a lot of data, using DVDs is impractical. What I would recommend is to buy a large harddisk with a USB connection and use that to store your backups. Make your backups with the dump(8) command, and compress the dump using gzip(1). E.g. to dump the root partition: dump -0 -a -C 8 -h 0 -L -u -f - / |gzip >/where/to/put/root-0-20080409.gz Remember to set the 'nodump' flag (with chflags(1)) on all directories that don't need to be backed up. Good examples are /usr/ports and /usr/obj, and all /*/tmp directories. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkf86+0ACgkQEnfvsMMhpyUHWgCeIdGZUd8UmHPl+6SixBtsXV0M JYEAnAvv2HgD9KpUVp2MURs4FxIoytIq =lncf -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--