[rdiff-backup-users] backup project to a quota limited directory
From:
Ahmed Kamal
Subject:
[rdiff-backup-users] backup project to a quota limited directory
Date:
Thu, 8 Feb 2007 16:54:23 +0200
Hi, Thanks for the excellent rdiff-backup utility. I am very pleased with everything it can do. However, being a newbie with rdiff-backup, I am facing a problem that I cant solve. Basically, the situation can be explained as follows:
1- Some users (A,B,C...) work in a NIS Unix environment 2- A new project prj1 is started for which users A,B,C are involved 3- The idea is to use ridff-backup as some sort of a per user version control system, where the employee will work locally on his machine, and when appropriate, he will rdiff-backup the work to the server in the appropriate directory (/backup/prj1/{A,B,C} )
4- The directory (/backup/prj1/) should be group quota limited, i.e. all files pushed in there, must be owned by Unix group "prj1" so that the Linux quota will apply!
That's basically the situation, I don't know how to push files to a server, and end up being owned by a fixed Unix group. I tried making the directory /backup/prj1 SGID to force that behaviour, but then rdiff-backup would fail to push files! Any idea how to solve that problem?