restoring

Ben Escoto bescoto@stanford.edu
Thu, 02 May 2002 15:05:46 -0700


--==_Exmh_1196363344P
Content-Type: text/plain; charset=us-ascii

>>>>> "DG" == David Garamond <davegaramond@icqmail.com>
>>>>> wrote the following on Fri, 03 May 2002 01:07:52 +0700

  DG> i'm sorry, let me rephrase.  suppose i backup up project/ five
  DG> times, on day 1, 2, 3, 4, and 5 respectively. many files had
  DG> been added, deleted, and changed everyday. now at day 5 things
  DG> got very messy and i decided to get back to the state at day 2.

  DG> is there a single command to do it?

Ok, so you ran something like:

rdiff-backup project/ foo

on 5 separate days.  Suppose the second day was 2002-04-26.  If you
want to restore the project/ directory to the state it was in on that
second day, you would type in:

rm -rf project
rdiff-backup \
   foo/rdiff-backup-data/increments.2002-04-26Txx:xx:xx+7:00.dir
   project

or perhaps with less confidence in rdiff-backup:

rdiff-backup \
   foo/rdiff-backup-data/increments.2002-04-26Txx:xx:xx+7:00.dir
   project2
<observe project2, make sure you don't need new project>
rm -rf project
mv project2 project

where in both cases the x's in
"increments.2002-04-26Txx:xx:xx+x:xx.dir" are replaced by the ones
appropriate to the time and timezone in which the backup was done.


--
Ben Escoto

--==_Exmh_1196363344P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 01/15/2001

iD8DBQE80bg4+owuOvknOnURAl4lAJ9ZDGJrC7n5BUV1wBpPSp7IvYrqewCgiqQW
xauQt5l00PlOsQ1rfXl8uMY=
=uW4Q
-----END PGP SIGNATURE-----

--==_Exmh_1196363344P--