SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
permissions and incremental questions
Author Message
Post permissions and incremental questions 
Hi,

I am testing rdiff backup for my servers.I have two servers

10.1.1.2 and 10.1.1.3

I want to copy data from 10.1.1.2 to 10.1.1.3

location of data on 10.1.1.2 /home/www and /var/logs/apache2 to same
location in 10.1.1.3

When try to copy a test folder it changed the folder and file
ownership to "rdiff-backup" user

I am trying to run the backup using this user.

I have two question now

1)I don't want to change the ownership of my folders and files copied
from 10.1.1.2

2)I want to take daily incremental backup how to configure this?


Present configuration file in 10.1.1.3

host main1
hostname 10.1.1.2
user root
identityfile /backup/.ssh/id_rsa
cipher blowfish
protocol 2

Present configuration in 10.1.1.2

/root/.ssh/authorized_key file as follows

command="rdiff-backup --server
/home/www",from="10.1.1.3",no-port-forwarding,no-X11-forwarding,no-pty

I know i have to chnage some configuration but i am not sure where i
need to change

some one help me with this

Thanks for your time

Post permissions and incremental questions 
gg gg234 <ggs234 < at > googlemail.com>
wrote the following on Thu, 1 Dec 2005 11:20:53 +0000
Hi,

I am testing rdiff backup for my servers.I have two servers

10.1.1.2 and 10.1.1.3

I want to copy data from 10.1.1.2 to 10.1.1.3

location of data on 10.1.1.2 /home/www and /var/logs/apache2 to same
location in 10.1.1.3

When try to copy a test folder it changed the folder and file
ownership to "rdiff-backup" user

I am trying to run the backup using this user.

I have two question now

1)I don't want to change the ownership of my folders and files copied
from 10.1.1.2

2)I want to take daily incremental backup how to configure this?

I'll take a shot at 1) and 2); maybe someone else can figure out your
ssh issues.

1) If you want rdiff-backup to preserve ownership, you need to run it
as root on the destination system (10.1.1.3). (However, whether
you run as root or not, if you restore as root, ownership will be
preserved.)

2) The default is to do an incremental backup. To get a daily
incremental backup, run it daily.


--
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