SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Switching between compressed and uncompressed increments
Author Message
Post Switching between compressed and uncompressed increments 
I know that one can switch between using --no-compression and the
default on different rdiff-backup runs to the same destination directory
with no ill effects.

Is it safe to do either or both of these things to convert an
rdiff-backup directory between having compressed and uncompressed
increments?

find destination_dir/rdiff-backup-data/increments \
-name "*.diff.gz" -exec gunzip -v {} \;

find destination_dir/rdiff-backup-data/increments \
-name "*.diff" -exec gzip -v {} \;

Thanks,

--Bret

Post Switching between compressed and uncompressed increments 
On Fri, 24 Jun 2005 06:02:38 +1000 "David Kempe" wrote:
Is it safe to do either or both of these things to convert an
rdiff-backup directory between having compressed and uncompressed
increments?

if you are using the devel versions you probably need to make sure the
mirror_metadata has the right information as well.

Hm, I'm using 0.13.6 -- but I don't see any compression-related data in
the mirror_metadata* files. Can you clue me in?

--Bret

Post Switching between compressed and uncompressed increments 
On Thu, 23 Jun 2005, Bret Martin wrote:

On Fri, 24 Jun 2005 06:02:38 +1000 "David Kempe" wrote:
Is it safe to do either or both of these things to convert an
rdiff-backup directory between having compressed and uncompressed
increments?

if you are using the devel versions you probably need to make sure the
mirror_metadata has the right information as well.

Hm, I'm using 0.13.6 -- but I don't see any compression-related data in
the mirror_metadata* files. Can you clue me in?

yeah i don't think there'll be any problem at all if you rename
.diff.gz/.diff either way.

but test on an unimportant repository first :)

-dean

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