backup server - permission issues
I have a backup server that grabs files via samba off the other server and workstations. The problem is, if the permissions are not global, but to a specific user (ex: mysql) the files wont backup. Since both servers have the same root password, is there a way to gain full root access through samba so I dont get any permission denied issues? I want to do this without having to change permissions on the server being backed up.
|
You might try putting an entry in your smbusers files that maps root to a Windows username. So, for example, to have the root account accessible through administrators, add
Code:
root=Administrator |
Quote:
For Windows boxes, before backing them up I mount their shares using fstab entries like this: Code:
//192.168.0.53/c /mnt/livingroom/c smbfs noauto,umask=0000,credentials=/etc/cred 0 0 And my /etc/cred file for the above mount looks like this: Code:
# |
Yeah I mount as I need. I have a script and all the parameters are passed to it depending on which drive is in the tray, it mounts, runs the backup, goes to next job etc...
For mapping the administrator account as root, I do that on the source server? |
All times are GMT -5. The time now is 02:44 PM. |