Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th April 2013, 13:34
joemiller joemiller is offline
Junior Member
 
Join Date: Oct 2012
Location: Carlisle, United Kingdom
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Question Rdiff-backup and permissions question

Hi, I've been following the tutorial here and managed to set up rdiff-backup on two machines, one of which can log on to the other and create backups of the file system. Both machines are running CentOS 6.3.

I'm wanting to be able to back up all the website files on a daily basis, storing the backups on the second server. I've tested my set-up, and it backs up files fine, with an exception.

My problem is that in securing the servers I've disabled root access, following guidelines from my server provider. I have a user set up that I can access the servers via ssh, and have configured rdiff-backup to use this user to log in via ssh. The problem is that this user can't access the web folders of any of the websites I've created in ISPConfig, and so can't create backups of them.

So, I'm wondering which solution to this problem might be best;
  1. Enable root access, but risk compromising my server
  2. Somehow add my user to a group that allows it access to the web files. I'm not sure what to do to achieve this, or if it would achieve the results I need.
  3. Allow ssh access to a user that already has access to the web files.
  4. Anything I've missed?
I'm also not sure of the security implications of any of the above methods. Can anyone advise or help out please?

Many thanks
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
rdiff-backup

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup symlink folder permissions wrong snowfly Installation/Configuration 5 5th December 2011 10:23
ProFTPd + MySQL refuses to work mongoose643 Server Operation 2 19th October 2008 17:43
Samba with Amanda backup --- permissions sambauser Server Operation 1 31st May 2007 21:44
backup with rsync (permissions) marra87 HOWTO-Related Questions 2 25th April 2007 21:37
Backup /home keeping permissions Jellus Installation/Configuration 0 17th August 2005 22:32


All times are GMT +2. The time now is 23:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.