Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are several types of components in the DPOD appliance that should be backed up :

...

Backup Software, Static Configuration and Configuration Database

In order to backup DPOD's software, static configuration and user configuration data (internal DB ) use the configuration database, use /app/scripts/app_backup.sh script located in directory /app/scripts.

The scripts parameters:

Parameter

Purpose

Description

-t, --backup-type

full: Application files and configuration database (default)

: application files and internal DB


app:

application

Application files
db:

internal DB

configuration database

-d, --backup-directory

The destination output backup directory. The default is

:

/installs/system-backup/<backup type>-<current date and time>
For example

for full backup

: /installs/system-backup/full-backup-

2017

2021-

11

08-02_18-52-08

-f, ---backup-file-name

The destination output backup file name. The default is

:

<backup type>-<current date and time>.tar.gz
For example

for full backup

: full-backup-

2017

2021-

11

08-02_18-52-08.tar.gz

Invoke the backup command

Code Block
languagebash
themeRDark
app_backup.sh
INFO : backup finished successfully. for more information see log file /installs/system-backup/full-backup-2017-09-11_17-17-59/full-backup-2017-09-11_17-17-59.log

The output backup directory will be the location of the backup log as printed in the backup status message (in the current example /installs/system-backup/full-backup-2017-09-11_17-17-59 ).

The free space required on the backup output directory could get up to 300MB (for DPOD version 1.0.6.0)~500MB.

Restore

...

Software, Static

...

Configuration and

...

Configuration

...

Database

In order to restore DPOD's software, static configuration and user configuration data (internal DB ) use the configuration database, use /app/scripts/app_restore.sh script located in directory /app/scripts.

Note

The restore should be executed on a DPOD instance of the same version and load architecture that the backup was executed on.

Restoring a backup file from a different DPOD version or load architecture is not supported and may lead to unexpected results.

The scripts parameters:

Parameter

Purpose

-t, --restore-type

full 

full:

application

Application files and

internal DB

configuration database (default)
app:

application

Application files
db:

internal DB

configuration database

-d, --backup-directory

The restore source backup directory.

in the


For example: /installs/system-backup

/system-migration

/full-backup-

2017

2021-

09

08-

13

02_

22

18-

38

52-

56

08

-f, ---backup-file-name

The source backup file in the backup directory

. in the example full-backup-2017-09-13_22-38-56.tar

.

gz


For example

...

:

...

languagebash
themeRDark

...

full-backup-

...

2021-

...

08-

...

02_

...

18-

...

example for restoring software, static configuration :

Code Block
languagebash
themeRDark
app_restore.sh -t app -d /installs/system-backup/system-migration/full-backup-2017-09-13_22-38-56 -f full-backup-2017-09-13_22-38-56.tar.gz

stopping application ...
application stopped successfully.
starting restore process ...
restoring system files ...
making sure files to restore exist in backup file
files to restore exist in backup file
system restore was successful
for more information see log file /installs/system-backup/app-restore-2017-09-17_15-04-19.log

Backup the Store

...

52-08.tar.gz

Backup the Store

It is not recommended to backup the big data store using regular backup software due to its size

...

Automatic Backup for monitored device before critical operations

DPOD creates a backup of the monitored device or create a checkpoint before some Web Console operations that changes the monitored device.

The list of this operations appears in this table

This backups can be located at /data/ui/WdpBackups

...

.