Koozali.org: home of the SME Server

iBay permission problem with affa backup data.

Offline kevinb

  • *
  • 237
  • +0/-0
iBay permission problem with affa backup data.
« on: March 31, 2008, 06:10:37 AM »
Hello everyone,

I am backing up the production SME server to another SME server via affa (great contrib). I am placing the backup in an ibay with the intent that I would set the permissions so that a certain group of users could access the backup with read only permissions.

The issue I am having is I cannot access this ibay with any Windows computers. I get an empty folder.

When I view the folder from a shell I see the permissions are set at "drwxr-sr-x  6 root  restore-read". I am mounting the drive with a user who belongs to the "restore-read" group. I still have the same issue if I mount with the "admin" user. Another folder has permissions "drwxr-Sr--  3 root  restore-read' and I can see that one so it appears it has to do with the "S" and "s".

In any case there are plenty of files with "-rw-------   1 5022 5022" which I am sure I will not be able to read .... unless I mount the share with the "root" user.


If I change the ibay permissions after the backup the group has changed. The issue here is that affa then thinks all the files have changed and my next backup is a full backup even if none of the source files changed. And I bet I would have the same permission issue with any new files or folders. Furthermore i am sure this would destroy the permissions apon a restore.


I do not understand what I am missing. any help would be greatly appreciated.

Thanks

Kevin

Offline the-heck

  • ***
  • 63
  • +0/-0
  • Chance favors the prepared mind.
Re: iBay permission problem with affa backup data.
« Reply #1 on: April 03, 2008, 12:21:59 PM »
Hi.  I wanna try it with my test server and see what happen. 

For clarification,

1.  Backup SME1 to SME2 on created ibay.
2.  Ibay is read only to a group

ok. what files they will need to access from the archive?  What directory?

Cheers!
***************
·¨­­­°÷»the-heck«÷°¨·
***************

Offline kevinb

  • *
  • 237
  • +0/-0
Re: iBay permission problem with affa backup data.
« Reply #2 on: April 03, 2008, 05:00:41 PM »
Hi Mr. Heck (if that is your real name!),

Clarification is correct.

The "restore-read" group would have to be able to copy files from the users' email store, ibays and the users "files" folder.

Furthermore, we are using a FTP synchronization software that runs on a Windows computer to perform an offsite backup to our webhost. The FTP software user must have read access to everything.

Off topic: If I could figure out a way to mount to a FTP server share from inside Linux I could simply use AFFA (rsync) to perform this external backup (I prefer this plan).

Thanks,

Kevin