DrayTek Logo
Login
DrayTek Logo
  • Products
    • Routers
      • Business Routers
      • 5G/4G LTE Routers
      • WiFi Routers
      • Gaming Routers
      • G.fast / VDSL / ADSL WiFi Routers
      • Broadband Routers
      • Mobile Broadband 5G/4G Routers
      • Fibre Routers
      • Load Balancing Routers
      • Firewalls
      • Network Firewalls
      • VPN Firewalls
    • Access Points
      • WiFi Access Points
      • Managed Wireless Access Points
      • Outdoor Access Points
      • Access Point Management
      • Mesh WiFi Access Points
      • Mesh compatibility
    • Switches
      • Network Switches
      • Ethernet Switches
      • Gigabit Switches
      • PoE Switches
      • Switch Management
    • Modems
      • ADSL / VDSL / G.fast Modem Routers
      • G.fast / ADSL / VDSL Modem
      • Wireless Modems
    • Accessories
      • Wireless LAN Aerials
      • USB Thermometer
      • VigorCare Enhanced Warranty
      • SFP Direct Attach Cable
      • 4G LTE Extension Cable
      • Outdoor 4G Antenna
      • High Power PoE Injector
      • Rack Mount Kit
      • Power Supply Unit (PSU)
    • Software and Tools
      • DrayTek Router App
      • Wireless App
      • VigorSMS
      • Device Finder
      • Firmware Upgrade Utility
      • SmartVPN Client
      • Syslog Utility
    • Network Management
      • On Premise Management
      • VigorACS 3 – Network Management System
      • SD-WAN Network Control
    • Compare our Products
      • Firewalls/Routers
      • Switches
      • Wireless Access Points
      • VigorACS
  • Services
    • Wireless Survey Services
    • Web Content Filtering
    • Threat Protection
    • VigorACS 3
    • VigorConnect
    • DCNA Training
  • Knowledgebase
    • Solutions
      • Broadband Failover
      • 3G/4G/5G LTE Solutions
      • Load Balancing
      • High Availability
      • Web Content Filtering
      • Quality of Service (QoS)
      • WPA3 Wireless Security
      • Wi-Fi 6
      • Virtual Private Networking
      • Central Management
      • Managed Wireless
      • Mesh Wireless
      • Credit Card Security
      • VPN Solutions
      • By Industry
      • Hospitality, Retail & Leisure
      • Financial sector
      • Corporate solutions
      • Public Sector
    • Features
      • Routers
      • Wireless Access Points
      • Switches
      • Modems
      • Management
    • Videos
      • The Growing Risk Beyond the Endpoint
      • New 4G/5G Routers for Every Stage of the Connectivity Journey
      • Firmware Upgrade via Provisioning
      • Introducing DrayTek's New Wi‑Fi 7 & Multi‑Gig Solutions
      • DrayOS 5: Secure and Manage Networks with Ease
      • The Complete Wi‑Fi 7 Network for High‑Density Businesses
      • Securing the Modern LAN with DrayTek Threat Protection
      • New Solutions: Vigor 2928 and 2767ax-4G
    • Case Studies
    • Blog Articles
    • Downloads
    • Web Interface Demo
  • Support
    • Support Articles
    • Downloads and Resources
    • Contact Support
    • Product Lifecycle
    • Essentials Training
    • DrayTek Community Forum
  • News
    • DrayTek Vigor 2767ax Named PC Pro Business Hardware of the Year 2026
    • DrayTek Expands Its Business Networking Portfolio with Wi‑Fi 7
    • PC Pro Router Manufacturer of the year 2025
    • VigorAP 905: The Affordable Wi-Fi 6 Access Point Upgrade You've Been Waiting For
    • Meet DrayTek at Channel Live 2025 - Don't Miss Out!
    • DrayTek Wins Specialist Vendor of the Year at the CRN Awards 2024!
    • More News
  • Where to buy
  • Contact
    • About DrayTek
    • Become a Partner
    • Contact Us
    • Careers
  • Log In
  • Partner Portal
    • Log in as a Partner
    • Partner Programme
    • NFR Programme
  • Products
    • Routers
      • Business Routers
      • 5G/4G LTE Routers
      • WiFi Routers
      • Gaming Routers
      • G.fast / VDSL / ADSL WiFi Routers
      • Broadband Routers
      • Mobile Broadband 5G/4G Routers
      • Fibre Routers
      • Load Balancing Routers
      • Firewalls
      • Network Firewalls
      • VPN Firewalls
    • Access Points
      • WiFi Access Points
      • Managed Wireless Access Points
      • Outdoor Access Points
      • Access Point Management
      • Mesh WiFi Access Points
      • Mesh compatibility
    • Switches
      • Network Switches
      • Ethernet Switches
      • Gigabit Switches
      • PoE Switches
      • Switch Management
    • Modems
      • ADSL / VDSL / G.fast Modem Routers
      • G.fast / ADSL / VDSL Modem
      • Wireless Modems
    • Accessories
      • Wireless LAN Aerials
      • USB Thermometer
      • VigorCare Enhanced Warranty
      • SFP Direct Attach Cable
      • 4G LTE Extension Cable
      • Outdoor 4G Antenna
      • High Power PoE Injector
      • Rack Mount Kit
      • Power Supply Unit (PSU)
    • Software and Tools
      • DrayTek Router App
      • Wireless App
      • VigorSMS
      • Device Finder
      • Firmware Upgrade Utility
      • SmartVPN Client
      • Syslog Utility
    • Network Management
      • On Premise Management
      • VigorACS 3 – Network Management System
      • SD-WAN Network Control
    • Compare our Products
      • Firewalls/Routers
      • Switches
      • Wireless Access Points
      • VigorACS
  • Services
    • Wireless Survey Services
    • Web Content Filtering
    • Threat Protection
    • VigorACS 3
    • VigorConnect
    • DCNA Training
  • Knowledgebase
    • Solutions
      • Broadband Failover
      • 3G/4G/5G LTE Solutions
      • Load Balancing
      • High Availability
      • Web Content Filtering
      • Quality of Service (QoS)
      • WPA3 Wireless Security
      • Wi-Fi 6
      • Virtual Private Networking
      • Central Management
      • Managed Wireless
      • Mesh Wireless
      • Credit Card Security
      • VPN Solutions
      • By Industry
      • Hospitality, Retail & Leisure
      • Financial sector
      • Corporate solutions
      • Public Sector
    • Features
      • Routers
      • Wireless Access Points
      • Switches
      • Modems
      • Management
    • Videos
      • The Growing Risk Beyond the Endpoint
      • New 4G/5G Routers for Every Stage of the Connectivity Journey
      • Firmware Upgrade via Provisioning
      • Introducing DrayTek's New Wi‑Fi 7 & Multi‑Gig Solutions
      • DrayOS 5: Secure and Manage Networks with Ease
      • The Complete Wi‑Fi 7 Network for High‑Density Businesses
      • Securing the Modern LAN with DrayTek Threat Protection
      • New Solutions: Vigor 2928 and 2767ax-4G
    • Case Studies
    • Blog Articles
    • Downloads
    • Web Interface Demo
  • Support
    • Support Articles
    • Downloads and Resources
    • Contact Support
    • Product Lifecycle
    • Essentials Training
    • DrayTek Community Forum
  • News
    • DrayTek Vigor 2767ax Named PC Pro Business Hardware of the Year 2026
    • DrayTek Expands Its Business Networking Portfolio with Wi‑Fi 7
    • PC Pro Router Manufacturer of the year 2025
    • VigorAP 905: The Affordable Wi-Fi 6 Access Point Upgrade You've Been Waiting For
    • Meet DrayTek at Channel Live 2025 - Don't Miss Out!
    • DrayTek Wins Specialist Vendor of the Year at the CRN Awards 2024!
    • More News
  • Where to buy
  • Contact
    • About DrayTek
    • Become a Partner
    • Contact Us
    • Careers
  • Log In
  • Partner Portal
    • Log in as a Partner
    • Partner Programme
    • NFR Programme
Search

Backup the Database of VigorACS by the script

  • windows, backup, script, linux, database, DrayOS 4, imported, vigoracs
  • DrayOS 4, imported, Windows

This article demonstrates how to back up the database of VigorACS running on Linux and Windows. We recommend saving a backup before you upgrade VigorACS version.

For Linux

1. Go to the directory /usr/local/vigoracs/VigorACS/bin/acs_util/dbutil/BackupRestoreScript/Linux and open the backup config file by enter # vi backupconfig.txt

2. Confirm the configuration below.

3. Run automysqlbackup.sh to start database backup.

4. Check the backup file.

Note: If you'd like to run the script regurlarly, you could consider to add the script into crontab task

For Windows

1. Go to the directory{ACS path}\bin\acs_util\dbutil\BackupRestoreScript\Windows and open the file “backupconfig_windows.txt”.

2. Confirm the information as below.

3. Run automysqlbackup.bat in the command prompt as administrator to start database backup.

 

4. Check the backup file.

Details
Published: 05/06/2026
Last Updated: 06/11/2026

File Manager of VigorACS

  • windows, linux, DrayOS 4, imported, vigoracs, netdocument, ems_folder, file_management
  • DrayOS 4, imported, Windows

EMS folder is a mirror of the NetDocument on the VigorACS. You can put a file into the corresponding folder, and it will appear on the webpage of VigorACS. It also includes the mapping of the Maintenance >> File Manager page. The picture below illustrates the structure of the EMS folder.

an illustration of EMS file structure

How to find the EMS folder?

To find out the location of EMS folder, please check the file userhome.txt in the VigorACS folder.

For Windows, the file is at {VigorACS installed path}\bin\userhome.txt

a screenshot of Windows File manager

For Linux, the file is at /usr/local/vigoracs/VigorACS/bin/userhome.txt

a screenshot of Linux
Details
Published: 05/06/2026
Last Updated: 06/11/2026

Backup the Database of VigorACS

  • tech_database, product_vigoracs, task_backup_restore, tech_database_backup
  • VigorACS, Backup & Restore, Database Administration

VigorACS supports scheduled backup tasks for your ACS's database; therefore, the system administrator will not need to worry about the sudden event occurring. This document is going to demonstrate how to schedule backup the database of ACS.

an illustration of VigorACS2 database
Database Backup configuration

To configure the database backup setting, go to SYSTEM MENU > System > Backup Databaseand follow the steps:

1. Click Add a Task and configure the settings,

a screenshot of VigorACS 2

[Task Setting]
Enable This Task: Activate this task for database backup
Task Name: Specify the task name

[Scheduling]
Once: Execute the backup task only one time when the setup time reached.
Repeat: Execute the backup task by schedule(Weekly, Daily, Monthly)

a screenshot of VigorACS 2

[Backup Options]
Backup Type
- Backup all tables: Backup all of the tables for TR-069 database, the backup file is the largest one among all options. Also, please notice that server will quickly run out of disk space if you enable repeat task for database backup.
- Exclude syslog tables: Backup all of the tables for TR-069 database except syslog tables, it could reduce the size of backup files.
- Exclude syslog and log tables: Backup all of the tables for TR-069 database except syslog and log tables, the backup file is the smallest one among all options.


Ignore License Tables:
If you restore the SQL file on the "new" server(different MAC of the How to backup the Database of ACS network adapter), please enable the option to avoid license conflicted.
After backup delete log tables: ACS will clear all log tables after the backup task completed.


[Email Notification]
You may enable this function if you'd like to receive the backup result (No matter success or fail).

a screenshot of VigorACS 2


2. After configuring the setting, save the task.
3. Wait for the scheduled time, and we'll see the status update if the backup event is triggered.

a screenshot of VigorACS 2

4. In addition, we'll also receive the notification mail after the backup task is triggered.

a screenshot of an email
Download backup .sql file

Download from ACS Web:
Switch to the Backup Files tab from the Backup Database page, and we could select one of the backup files and download it directly.

av screenshot of VigorACS 2

Copy from the EMS Folder: 

Go to the path EMS/sql-backup on storage of ACS server, and then you will see all the backup files here. To find the path of EMS folder, you could refer the document: File manager of ACS.

a screenshot of Windows file manager
Why can't I receive notification mail?

Please make sure you have enabled the Mail server of All_UserGroup from SYSTEM MENU > User > Mail Server. We could also use the Send Test Mail to confirm whether the configuration of mail server is correct.

a screenshot of VigorACS 2
Details
Published: 05/06/2026
Last Updated: 05/11/2026

Restore SQL File to VigorACS Database

  • host_linux, tech_database, product_vigoracs, host_windows, task_backup_restore, tech_database_backup
  • VigorACS, Backup & Restore, Database Administration

This document demonstrates how to restore the backup SQL file to the database of VigorACS on Windows platform and Linux platform. Since the column and tables might be different for each version, please make sure the current ACS version is the SAME as the version where we backup the SQL file.

an illustration of Vigor ACS 2 and database

Windows Platform

  1. Go to the path {ACS Installed path}\bin\acs_util\dbutil\BackupRestoreScript\Windows to find the file "backupconfig_windows.txt".

    a screenshot of Windows file manager
  2. Edit the file backupconfig_windows.txt :

    • USERNAME: Input the MySQL account to access the database. If you install the MariaDB from VigorACS installed package, the default account should be root.
    • PASSWORD: Type the password of MySQL account to access the database.
    • Database path: Specify the correct path of MariaDB bin folder.
    a screenshot of the text file
  3. Run the Command Prompt as administrator and change the path to current path {Installed path}\VigorACS\dbutil\BackupRestoreScript\Windows.Use the batch file mysqlrestore.bat and add the SQL file (including path) for running database restore by command# mysqlrestore.bat C:\Users\user\AppData\Roaming\EMS\sql-backup\backup_backup_ACS_3.1.0RC5_r2687_FullVer_2021-06-03.1051.sqlYou will see the message Restore process is finished. Please restart ACS service and check it after restore process is completed.

    Note: If the backup SQL file path contains space, please quote the SQL file in the command, e.g. # mysqlrestore.bat "C:\Program Files\mysqlbackup\backup_backup_ACS_3.1.0RC5_r2687_FullVer_2021-06-03.1051.sql" a screenshot of command prompt

Linux Platform

1. Go to the path /usr/local/vigoracs/VigorACS/bin/acs_util/dbutil/BackupRestoreScript/Linux to find the file "backupconfig.txt"

a screenshot of Linux CLI

2. Edit the file backupconfig.txt :

  • USERNAME: Input the MySQL account to access the database. If you install the MariaDB from VigorACS installed package, the default account should be "root".
  • PASSWORD: Type the password of MySQL account to access the database. The default password should be blank if you never change it before.
  • Database path: Specify the correct path of MariaDB bin folder. If you install the mysql via ACS installation program, the path should be /usr/local/mysql/bin
a screenshot of Linux CLI

3. Use the shell file mysqlrestore.sh and add the SQL file (including path) for running database restore by command
# mysqlrestore.sh /home/mysql_backup/backup_restore_ACS_3.6.3_r6143_ExcludeSyslogAndLogVer_2024-10-14.1610.sql
You will see the message Restore process is finished. Please restart ACS service and check it after restore process completed

a screenshot of Linux CLI
Details
Published: 05/06/2026
Last Updated: 05/11/2026

Get Google Map API Key for VigorACS

  • credentials, DrayOS 4, imported, vigoracs, api_key, map_widget, google_cloud, google_maps, billing, network_dashboard
  • DrayOS 4, imported

ACS provides the Map widget on the Network Dashboard for the network administrators to view the location of managed devices. To use the Map widget, you must apply for the API key first. These are the APIs that VigorACS requires:

  • Maps JavaScript API
  • Geocoding API
  • Places API

This article demonstrates the steps to apply for the API key for VigorACS

Apply for API key

1. Go to Google Maps Platform and Sign in your Google account. Then click Get Started button.

Screenshot of Google API apply

2. Enable Maps and Place option, and click the CONTINUE button.

Screenshot of Google API apply

3. Type the project name and select Yes to allow agreement, then click NEXT button.

Screenshot of Google API apply

4. Since Google API change their charge policy, the user needs to pay if the usage exceeds the free quota (USD $200) every month, so we need to configure the billing account to apply for API. Click CREATE BILLING ACCOUNT and enter your payment information.

Screenshot of Google API apply

5. After creating the billing account, the page will redirect back to API console. And there will be window prompt for enabling the API. click NEXT to enable the API.

Screenshot of Google API apply

If you didn't see the prompt window, you could go to API & Services > Credentials from Google Cloud Platform Homepage. Then click Create credentials and select API key.

Screenshot of Google API apply

6. Copy the API key. Then, log in to ACS server and go to the System >> Google API key page. Paste the API key on the Maps field and save it.

Screenshot of Google API apply

Restrict API key

We could add some restrictions to optimize usage and security.

Screenshot of Google API apply

With VigorACS service, we could restrict by:

  • Application: Type your domain or IP so that API will only allow to access by the specific source.
  • API: Since ACS only need the Maps JavaScript API, Geocoding and Places API. We could add restrictions to avoid abuse by other services.

Screenshot of Google API apply

Why I still cannot use the Google Map on ACS server?

Please check the following setting of both Google and ACS side:

  • The necessary APIs (Maps JavaScript API, Geocoding API, Places API) are enabled
  • Apply the correct API key to your ACS server
  • Must enable/bind billing on each of your Google Cloud projects

Screenshot of Google API apply<

Details
Published: 05/06/2026
Last Updated: 06/11/2026
  1. Change VigorACS server port
  2. How to change the VigorACS server port
  3. Vigor ACS-SI Database Restore
  4. Vigor ACS-SI Database Backup

One moment please...

Email sent successfully!

Share this link




Email It
  1. Home
  2. Support
  3. Support Articles
  4. VigorACS & VigorConnect
  5. System Administration

Address

15 Worship Street
London
EC2A 2DT
info@draytek.co.uk
Call: 0345 557 0007

DrayTek

  • News
  • About us
  • Terms of Service

Useful Links

  • Downloads
  • Become a Dealer
  • Knowledgebase

Follow us

DrayTek
Subscribe now

Copyright © 2026 DrayTek