Changes

Jump to: navigation, search

stoney conductor: VM Backup

54 bytes added, 13:10, 30 January 2014
/* How to exclude a machine from the backup */
If you want to exclude a machine from the backup run you simply need to add the following entry to your LDAP directory:
<source lang="bash">
machinename=<MACHINE-NAME>
cat << EOF | ldapadd -D cn=Manager,o=stepping-stone,c=ch -H ldaps://ldapm.stepping-stone.ch/ -W -x
dn: ou=backup,sstVirtualMachine=<MACHINE-NAME>${machinename},ou=virtual machines,ou=virtualization,ou=services,o=stepping-stone,c=ch
objectclass: top
objectclass: organizationalUnit
If the backup subtree in the LDAP directory already exists, you need to add the sstbackupexcludefrombackup attribute:
<source lang="bash">
machinename=<MACHINE-NAME>
cat << EOF | ldapadd -D cn=Manager,o=stepping-stone,c=ch -H ldaps://ldapm.stepping-stone.ch/ -W -x
dn: ou=backup,sstVirtualMachine=<MACHINE-NAME>${machinename},ou=virtual machines,ou=virtualization,ou=services,o=stepping-stone,c=ch
changetype: add
objectclass: sstVirtualizationBackupObjectClass
486
edits