From owner-freebsd-questions@FreeBSD.ORG Sun Jan 13 12:09:54 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 7C4CB16A417 for ; Sun, 13 Jan 2008 12:09:54 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1B62913C442 for ; Sun, 13 Jan 2008 12:09:53 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0DC9pY8032223; Sun, 13 Jan 2008 13:09:51 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D088EB8FC; Sun, 13 Jan 2008 13:09:50 +0100 (CET) Date: Sun, 13 Jan 2008 13:09:50 +0100 From: Roland Smith To: mahdieh Saeed Message-ID: <20080113120950.GA52835@slackbox.xs4all.nl> Mail-Followup-To: mahdieh Saeed , freebsd-questions@freebsd.org References: <802024.58831.qm@web45904.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <802024.58831.qm@web45904.mail.sp1.yahoo.com> 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: recovery FreeBSD 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: Sun, 13 Jan 2008 12:09:54 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 12, 2008 at 11:07:16PM -0800, mahdieh Saeed wrote: > Hi, > I have a question about recovery. > I removed one directory with "rm -r ".Is there any way to restore > information that removed with "rm -r". In short, everything that is part of the base system or ports can be restored with some effort. If it is a subdirectory of /usr/src/, you can restore it with csup(1). If it is a subdirectory of /usr/ports you can restore it by updating your ports tree. Other directories under /usr (except /usr/local) can be restored by rebuilding and reinstalling the base system as described in the handbook. If you have removed /usr/local or a subdirectory of it you could reinstall all your ports. If you removed (part of) your home directory or any other non-system data directory, you'd better have a backup.=20 If you have never made a backup of your own data, start now! 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) --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHif+OEnfvsMMhpyURAnGLAJ9lS03wqCX4jufwDeqgux7J05JCdgCgpJq1 MrGATG0D3y3J2kohbNQlNzE= =KV+v -----END PGP SIGNATURE----- --DocE+STaALJfprDB--