From: Rob O. <ro...@bi...> - 2007-07-18 11:12:30
|
You want /data/BackupPC to be owned by user "backuppc". You shouldn't be allowing user "apache" to do anything besides run the webserver. User "apache" should not be allowed to log in as root. User "backuppc" should be allowed to log into the host machines as root (assuming you're using rsync as your transport). -Rob Yaakov Chaikin wrote: > Hi, > > I am running BackupPC 3.0 and having trouble getting it to back up. So > far, I am just running a test back up on the machine that hosts the > BackupPC. > > Here is the error log that I am getting when I click "Start Full Backup": > ************************************** > 2007-07-17 22:26:26 User yaakov requested backup of tbiqdev (tbiqdev) > 2007-07-17 22:26:26 tbiqdev: mkdir /data/BackupPC: Permission denied > at //usr/share/BackupPC/bin/BackupPC_dump line 193 > ************************************** > > The /data/BackupPC is directory where I specified I wanted the backups > to be stored. It's owned by the apache user since this is the user > that runs the 'httpd' server. > > What am I doing wrong? > > Thanks, > Yaakov. > > P.S. I followed the instructions and set up ssh key sharing. So, now > the user apache can log in as root without providing a password. I > don't know if this has anything to do with that since the client and > server is the same machine, but I figured I'd mention it. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > BackupPC-users mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/backuppc-users > http://backuppc.sourceforge.net/ > |