Exclude multiple tenant volumes from the backup

By default, Control Center stores application data in /opt/serviced/var/volumes. The directory can be changed by specifying the SERVICED_VOLUMES_PATH environment variable in the Control Center configuration file, /etc/default/serviced. If necessary, replace /opt/serviced/var/volumes with your path.
  1. Log in to the Control Center master host as root, or as a user with superuser privileges.
  2. Display the Control Center tenant identifier.
    ls /opt/serviced/var/volumes
    Example result:
    cvs0ul2tmvjcitolrm7p0d8bx
  3. Display the directories under the Control Center tenant identifier.
    Replace Tenant-ID with the identifier displayed in the previous step.
    ls /opt/serviced/var/volumes/Tenant-ID
  4. Exclude multiple tenant volumes from the backup.
    For example, exclude mariadb-events and zeneventserver.
    serviced backup /opt/serviced/var/backups --exclude mariadb-events \ 
       --exclude zeneventserver