Backing Up Maildir Directories & Access Rights

Discussion in 'Installation/Configuration' started by reinier, Jan 3, 2007.

  1. reinier

    reinier New Member

    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?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You must run rsync as root then instead of the backup user.
     

Share This Page