Changes

Jump to: navigation, search

stoney conductor: VM Backup

206 bytes added, 13:09, 30 January 2014
/* How to exclude a machine from the backup */
=== 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="ldifbash">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>,ou=virtual machines,ou=virtualization,ou=services,o=stepping-stone,c=ch
objectclass: top
ou: backup
sstbackupexcludefrombackup: TRUE
EOF
</source>
If the backup subtree in the LDAP directory already exists, you need to add the sstbackupexcludefrombackup attribute:
<source lang="ldifbash">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>,ou=virtual machines,ou=virtualization,ou=services,o=stepping-stone,c=ch
changetype: add
objectclass: sstVirtualizationBackupObjectClass
sstbackupexcludefrombackup: TRUE
EOF
</source>
486
edits