SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
feature request
Author Message
Post feature request 
hi,
sometimes it would be very useful to compare to different backup copy of
the same file (eg. diff -u /etc/passwd<yesterday> /etc/passwd<3 days
ago>). sometimes I would not like to '--restore-as-of' just compare, ie.
in stead of:
rdiff-backup -r 1D <base>/etc/passwd /tmp/etc/passwd.1D
rdiff-backup -r 3D <base>/etc/passwd /tmp/etc/passwd.3D
diff -u /tmp/etc/passwd.1D /tmp/etc/passwd.3D
one simple command (which even can use the metadata) something like this:
rdiff-backup --diff -u 1D 3D <base>/etc/passwd
would be very useful.
thanks.
yours.

--
Levente "Si vis pacem para bellum!"

Post feature request 
Farkas Levente wrote:

hi,
sometimes it would be very useful to compare to different backup copy of
the same file (eg. diff -u /etc/passwd<yesterday> /etc/passwd<3 days
ago>). sometimes I would not like to '--restore-as-of' just compare, ie.
in stead of:
r

does the --compare feature in 0.13.4 do what you want?
it doesn't actually work for me, but it should do what you want

dave

Post feature request 
David Kempe wrote:
Farkas Levente wrote:

hi,
sometimes it would be very useful to compare to different backup copy
of the same file (eg. diff -u /etc/passwd<yesterday> /etc/passwd<3
days ago>). sometimes I would not like to '--restore-as-of' just
compare, ie. in stead of:
r


does the --compare feature in 0.13.4 do what you want?
it doesn't actually work for me, but it should do what you want

thanks. what is the current state of the 0.13 branch? when it'll become
the stable version (ie. in the near future)?
thanks.

--
Levente "Si vis pacem para bellum!"

Post feature request 
Farkas Levente <lfarkas < at > bppiac.hu>
wrote the following on Tue, 01 Jun 2004 11:49:14 +0200

sometimes it would be very useful to compare to different backup copy
of the same file (eg. diff -u /etc/passwd<yesterday> /etc/passwd<3
days ago>).

does the --compare feature in 0.13.4 do what you want?
it doesn't actually work for me, but it should do what you want

thanks. what is the current state of the 0.13 branch? when it'll become
the stable version (ie. in the near future)?

Actually --compare is only for directories. It tells you which files
have changed and how (e.g. are they new, have they been deleted,
etc.).

It seems the wrong way to go to actually have a --diff switch built
into rdiff-backup. rdiff-backup would end up just restoring the file
and then diffing it, so there would be no efficiency gain.

Instead, perhaps someone could write an external script which would
restore versions of the file (by calling rdiff-backup) and then run
diff or similar on them.


--
Ben Escoto

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB