guest-database-export

Schedules an export of the Guest Management user database to a specified external server. This option is enabled by default.

Supported in the following platforms:

Syntax

guest-database-export <TIME> frequency <1-168> url-directory <URL> 
{(format [csv|json]|last-visit-within <1-168>)}

Parameters

guest-database-export <TIME> frequency <1-168> url-directory <URL> 
{(format [csv|json]|last-visit-within <1-168>)}
guest-database-export <TIME> Schedules an export of the Guest Management User collection to an external server
  • <TIME> – Configures the start time of the export operation in the HH:MM format
frequency <1-168> Configures the user collection export frequency in hours
  • <1-168> – Configures the frequency from 1 - 168 hours. If the frequency is set at 3 hours, the user database is exported once in every 3 hours. The default is 4 hours.
url-directory <URL> Configures external server‘s URL and directory to where the collection is exported
  • <URL> – Specify the external server‘s URL
format [csv|json] Optional. Configures the file format
  • csv – Exports collection to the specified location in CSV format. This is the default setting.
  • json – Exports collection to the specified location in JSON format
last-visit-within <1-168> Configures a filters guest users who have last visited within a specified period of time
  • <1-168> – Specify a time period from 1 - 168 hours. If for example, the last-visit-within value is set at 2 hours, then only the last two hours guest user collections will be exported. The default is 4 hours.

Examples

nx9500-6C8809(config-guest-management-gm1)#guest-database-export 10:30 frequency  6 url-directory ftp://admin:xxxxxx@192.168.13.10/dbe_dir format json last-visit-within 168
nx9500-6C8809(config-guest-management-test)#show context
guest-management test
 guest-database-export 12:30 frequency 20 url-directory ftp://admin:xxxxxx@192.168.13.10/dbe_dir format json last-visit-within 168
nx9500-6C8809(config-guest-management-test)#

Related Commands

no (guest-management-policy-config-commands) Reverts the guest database export parameters to default