=>  Releases

Current version
Git/Snapshot: 1.5.3
Release: 1.5.0

Latest Snapshots
Produced after each commit or rebase to new upstream version

RSBAC source code, can be unstable sometimes

=>  Events

No events planned

Backup and Restore

The RSBAC administration tools include special flags to backup the policy. For convenience, we provided a script calling every tool of every module with the appropriate backup flags. However, when speed matters, you will want to edit this script and only backup the modules you actually use, and maybe edit some of the backup paths.

To backup every RSBAC setting, run the backup_all script.

# backup_all > rsbac-backup_$(date +%F)

The created file is a bourne shell compatible script, that can be run directly to restore the settings.

# sh ./rsbac-backup_2007-10-10

This script can also be run on other machines for replication, if the installed operating system is identical. If not, you will have to make adjustements, but this can be a good starting point if you are planning to create a similar RSBAC policy.

Note: You might get various RSBAC errors, like RSBAC_EEXIST while running the restore script. This is normal, as the RSBAC attributes already exist on the machine you just made a backup for :)

Table of Contents: RSBAC Handbook
Previous: Upgrade and Migration
Next: Troubleshooting


documentation/rsbac_handbook/maintenance/backup_and_restore.txt · Last modified: 2007/10/11 13:20 by kang
This website is kindly hosted by m-privacy