SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
permissions change at backup
Author Message
Post permissions change at backup 
Hi List,

I am doing something wrong perhaps, please help me if you can.

I have a webserver, running RedHat 9.0, rdiff-backup 0.12.6. Backups are
(successfully!) being sent to another Linux box (Fedora Core 1) on my LAN.

The problem is the files have the ownership change when they copy to the
destination.

Here's the command I use:

rdiff-backup /www/medfordareaaa.org/ backup < at > 192.168.3.210::/mnt/test_backup

Here's a listing of some files at /www/medfordareaaa.org/ and
mnt/test_backup

-rw-r--r-- 1 medaa medaa 3258 Mar 30 20:02 saturday.html
-rw-r--r-- 1 medaa medaa 2938 Mar 30 20:02 sunday.html
-rw-r--r-- 1 medaa medaa 3692 Mar 30 20:02 thursday.html
-rw-r--r-- 1 medaa medaa 3127 Mar 30 20:02 tuesday.html
-rw-r--r-- 1 medaa medaa 3554 Mar 30 20:02 wednesday.html


==========================

-rw-r--r-- 1 backup backup 3258 Mar 30 20:02 saturday.html
-rw-r--r-- 1 backup backup 2938 Mar 30 20:02 sunday.html
-rw-r--r-- 1 backup backup 3692 Mar 30 20:02 thursday.html
-rw-r--r-- 1 backup backup 3127 Mar 30 20:02 tuesday.html
-rw-r--r-- 1 backup backup 3554 Mar 30 20:02 wednesday.html

Is the solution simple?

Did you guess I'm kinda new at this?

Thanks,
--
Jon Dowd - jondowd < at > jondowd.com
Server on the wall - http://samsara.mind.net/wall.html




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.668 / Virus Database: 430 - Release Date: 4/25/2004

Post permissions change at backup 
Jon Dowd wrote:

Is the solution simple?


Not sure, I am reading it right, but unless you write the destination as
root, you won't be able to preserve the ownership of the files I thought...

dave

Post permissions change at backup 
On Tue, 27 Apr 2004 00:30:24 -0700, Jon Dowd wrote:

rdiff-backup /www/medfordareaaa.org/ backup < at > 192.168.3.210::/mnt/test_backup

When you work as non-root on the backup-server, then ownership will have
to be changed on the backup-server. The "backup" user on the backup-server
cannot store files having other owners.


Is the solution simple?

rdiff-backup remembers what the owner of the original file was on the
origin server, so if you restore the files to the origin server, then they
should regain their proper ownership. There isn't a problem, so there is
no simple solution.

--
Greetings from Troels Arvin, Copenhagen, Denmark

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