PDA

View Full Version : Backup Permissions



mswansonpcs
April 27th, 2007, 07:18 AM
Hello, We currently have Zmanda backing up our database one time each day. It is working great. We want to integrate it into our system-wide backup strategy which requires the files that Zmanda produces to have more priveleges than only root access. By default, it seems that is all Zmanda will create.

Is there anyway to get the backups to be produced with more detailed permissions?

Thanks

kkg
April 27th, 2007, 08:00 AM
Hello, We currently have Zmanda backing up our database one time each day. It is working great. We want to integrate it into our system-wide backup strategy which requires the files that Zmanda produces to have more priveleges than only root access. By default, it seems that is all Zmanda will create.

Is there anyway to get the backups to be produced with more detailed permissions?

Thanks

The main reason for this is security. One thing you can do is to write a post backup plugin that changes the permissions on your backup to the specific permissions you need.

--kkg

mswansonpcs
April 27th, 2007, 08:41 AM
The main reason for this is security. One thing you can do is to write a post backup plugin that changes the permissions on your backup to the specific permissions you need.

--kkg


Ok, I'm new to this software and haven't touched the plugins yet. Do you recommend any resources to find out more about how to do this?

Thanks

kkg
April 27th, 2007, 08:47 AM
Ok, I'm new to this software and haven't touched the plugins yet. Do you recommend any resources to find out more about how to do this?

Thanks


Check out

http://mysqlbackup.zmanda.com/index.php/Post_Backup_Plugin

--kkg

kkg
April 27th, 2007, 08:49 AM
Check out

http://mysqlbackup.zmanda.com/index.php/Post_Backup_Plugin

--kkg


BTW, you can find out the location of your last backup from /etc/mysql-zrm/<backup-set name>/last_Backup.

Once you read this, all you need to do is to do a chmod -R <location of last backup> or a chown -R <location of last backup>

Hope this helps.
--kkg

kkg
April 27th, 2007, 08:50 AM
BTW, you can find out the location of your last backup from /etc/mysql-zrm/<backup-set name>/last_Backup.

Once you read this, all you need to do is to do a chmod -R <location of last backup> or a chown -R <location of last backup>

Hope this helps.
--kkg

Typo, the file name is

/etc/mysql-zrm/<backup-set name>/last_backup

sorry for that.
--kkg