xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
607 
 
Example 
To create a backup schedule on time range "range_1": 
DGS-3120-24TC:admin#create backup config time_range range_1 filename c:/bk-
confi 
g-1 
Command: create backup config time_range range_1 filename c:/bk-config-1 
 
Success. 
 
 
66-2  config backup 
Description 
This command is used to enable or disable a schedule backup. 
 
Format 
config backup [config | log] time_range <range_name 32> filename <pathname> state 
[enable | disable] 
 
Parameters 
config - Schedule to back up configuration. 
log - Schedule to back up log. 
time_range - The schedule to back up the configuration or log. 
<range_name32> - Enter the name of the time range. Maximum 32 characters. 
filename - The backup filename of the configuration or log. 
<pathname> - Enter the backup file path name. 
state - (Optional) Enable or disable the backup schedule when the schedule is created. 
enable – Enable the backup schedule. 
disable – Disable the backup schedule. 
 
Restrictions 
Only Administrator and Operator-level users can issue this command. 
 
Example 
To enable a backup schedule on time range "range_1": 
DGS-3120-24TC:admin# config backup log time_range range_1 filename bk-des-log 
state enable 
Command: config backup log time_range range_1 filename bk-des-log state enable 
 
Success. 
 
DGS-3120-24TC:admin#