Skip to content

wesbuddyboss/backup-addon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backup Storage

Backup Add-On

Backup Add-On is a solution that backups filesystem and database of a web application to Backup Storage node within the Virtuozzo Application Platform. The list of supported web applications:

  • WordPress

As a backup software the Restic is used.

Restic is a program to make a security copy for free and fast. It is a secure, cross-platform, open source program written in the Go programming language.

Restic encrypts data using AES-256 and authenticates it using Poly1305-AES. Backing up is incremental process and is based on snapshotting of the specific directory or even the whole server that makes the process is really fast.

How does the Backup Add-On Work

Backup Add-On can be installed on any Application Server node and works in tandem with Backup Storage. They both have preinstalled Restic software, which do different functions.

Backup Storage

The Restic on the Application node is used to obtain a list of backups available for the environment and to create/restore these backups. On the backup storage node, the Restic is used to serve requests from Application's Restic instance providing information regarding storage and available backup snapshots for the environment the Backup Add-On is installed on. Thus the Application's Restic decides what backup/restore actions should be done.

Installation Process

  1. Import the link of the manifest within a dashboard of Virtuozzo Application Platform for WordPress

or invoke add-on installation within Application server layer addons

  1. In the opened window, set up the Backup schedule, choose Backup storage and define Number of backups to be kept during backup files rotation.

  1. When the installation is finished, you may create the first backup which is usually takes more time than the subsequent incremental backups. This can be done manually:

Backup Flow

Backup action can be started automatically according to the predifened schedule or manually via Add-On's UI. Once the backup action is invoked the following steps take place:

  • Backup Storage is mounted via NFS4 to the Application node
  • Database dump is generated to the flat file
  • The backup snapshot is created
  • Backup snapshot comprises the database dump file and specific directory. Currently the most common used directory for the web applications: /var/www/webroot/ROOT/.

Restoration Flow

Restore action can be started manually only via Add-On's UI.

Choose the required timestamp of the backup snapshot and restore it.

Add-On Configuration

You may configure Add-On's parameters.

These are:

  • Backup schedule
  • Number of backups to be kept
  • Backup storage environment

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.4%
  • Shell 15.6%