Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2008 18:16:45 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Ruel Luchavez <ruel.freebsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Back up files...
Message-ID:  <20080409161645.GA96773@slackbox.xs4all.nl>
In-Reply-To: <ee9dc2b40804082011o53d4fe88l99f7604711ff30e1@mail.gmail.com>
References:  <ee9dc2b40804082011o53d4fe88l99f7604711ff30e1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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