G3.5. Backup of Dr.Web Server Critical Data

The following command creates backup copies of critical Dr.Web Server data (license keys, database contents, encryption private key, Dr.Web Server configuration and Control Center configuration):

Windows OS: drwcsd -home=<path> backup [<directory> [<quantity>]]

Linux, FreeBSD OS: drwcsd backup [<directory> [<quantity>]]

where:

the -home switch sets the Dr.Web Server installation folder,

critical Dr.Web Server data is copied to the specified <directory>,

<quantity> is the number of copies of each file.

Example for Windows OS:

"C:\Program Files\DrWeb Server\bin\drwcsd.exe" -home="C:\Program Files\DrWeb Server" -verbosity=all -log="C:\Program Files\DrWeb Server\var\backup.log" backup "C:\DrWeb Backup"

Example for Linux OS:

/etc/init.d/drwcsd backup /tmp/backup/ -verbosity=all -log=/tmp/backup/backup.log

All files in the backup except the database contents, are ready to use. The database backup copy is stored in the .gz format compatible with gzip and other archivers. The database contents can be imported from the backup copy to another database of Dr.Web Server, thus restore the data (see p. Restoring the Database).

During the operation, Dr.Web Server regularly stores backup copies of important information into the following folders:

for Windows OS: <installation_drive>:\DrWeb Backup

for Linux OS: /var/opt/drwcs/backup

for FreeBSD OS: /var/drwcs/backup

To perform the back up, a daily task is included into the Dr.Web Server schedule. If such task is missing in the schedule, it is recommended to create it.