Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd January 2007, 17:56
reinier reinier is offline
Junior Member
 
Join Date: Nov 2006
Posts: 19
Thanks: 2
Thanked 3 Times in 2 Posts
Question Backing Up Maildir Directories & Access Rights

After reading several posts, i thought it would be a good idea to make backups using rsync as described in this HOWTO

The tutorial first points to this HOWTO which explains how to setup rsync using public keys.

very briefly: a backup user is created on the ISPConfig server, from the client machine rsync is invoked to pull down the data from /var/ and other relevant folders, using the credentials of the backup user.

All goes well, except that the backup user does not have any access rights to Maildir folders.

One of the posts discussing this issue suggests (in a different config, by running the cronjob for making backups) to run the backup scripts using sudo.

Is this possible with rsync? Can the rsync server run as sudo? Is that secure? Or does the access rights to the Maildir folder rule out the use of rsync alltogether?
Reply With Quote
Sponsored Links
  #2  
Old 4th January 2007, 15:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Quote:
Originally Posted by reinier
All goes well, except that the backup user does not have any access rights to Maildir folders.
You must run rsync as root then instead of the backup user.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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
ISPConfig on a RaQ2 mattm Installation/Configuration 12 23rd January 2008 18:17
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 11:31
Installation Problem irpr Installation/Configuration 21 13th December 2006 11:55
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 17:02


All times are GMT +2. The time now is 02:08.


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