Backup plans

This module can be used you to manage the backup plans to save your server data from an accident loss.

Backup copies created according to the plans that you add in this module can be found in the Backup archives module.

See also:

 

Module «Backup plans»
T-bullet.gif View a list of backup plans
T-new.png Add new plan
T-edit.png Edit plan parameters
T-delete.png Delete plan
T-start.png Back up now
T-attr.png Select data for backup

View a list of backup plans

  • Name - name of the backup plan.
  • Type - the type of the backup plan (Full - VEmanager currently supports only this type of backup, Differential, Incremental).

Add new plan

To add a new backup plan, click the "New" icon and fill out the form:

Step 1 Add a new backup plan

Module «Backup plans»
  • Name - enter the name for the backup plan.
  • Type - select a type of the backup plan:
    • Full - all the files will be backed up. Only one copy is required for data recovery.
    • Differential - a full backup copy including all files will be made during first backup. This type of data backup preserves data saving only the difference in the data since the last full backup. For recovery you will require two copies - the full and the last differential that was saved prior to the date of recovery.
    • Incremental - a full backup copy including all files will be made during first backup. It will then back up only the data that changed since the last full or incremental backup
  • Archiver - select a format to store the backups. **tgz - this function uses the system utilities gnutar, gzip and cat. You can modify call of those functions by using the options path gnutarpath gzip,path cat correspondingly. The options are described manually in the file etc/ispmgr.conf
  • Storage - select place to store the backups. Archives with backup copies will be located into all the storages selected. To get the archive during recovery, the first available storage will be used.
  • Only one copy - if the backup process starts several times a day, selecting this check box will save only the last copy.
  • Maximum file size - provide the maximum file size in MiB. Files of larger size wont'be be included into the backup plan.
  • Maximum directory file size - provide the maximum size of the directory file in MiB. Directories of larger size wont'be be included into the backup plan. Files in the directory are included into this size.

Backup plans do not depend on each other. This means that "Plan 1" of the "Full" type will not be used as the starting point for other "Differential" or "Incremental" plans. Each incremental or differential backup plan creates its own full data copies.

Step 2 Backup content

In ISPmanager

Module «Backup plans»
  • Administrators - select the check box to back up administrator accounts;
  • Users - select the check box to back up user accounts'
  • User templates - select the check box to back up user templates;
  • All files - select the check box to back up all files. NOTE. All the files starting with "/" will be saved. Selecting this check box will create the filters that exclude special file systems, such as "proc", "sys", "dev".


In VEmanager

  • Containers - select the check box to include containers into the backup copy.
  • All server files - select the check box to include all the server files into the backup copy. NOTE. All the files starting with "/" will be saved. Selecting this check box will create the filters that exclude special file systems, such as "proc", "sys", "dev".

 

Step 3 New cron job

Module «Backup plans»
  • Schedule - select a backup mode:
    • basic mode
  • Run - select the backup period (every hour, daily, weekly, monthly, yearly).
  • Time - specify hours and minutes to start the backup process.
    • expert mode
  • User can delete backups - check the box to allow users to delete archives by themselves.
  • do not send report by email - select the check box not to send the cron job results to the email specified in the cron job edit form.

For more information about Cron jobs refer to the article Sсheduler (cron)

Selecting the number of backup copies

  • Daily backups - one backup copy for n last days will be stored. n is a specified value
  • Weekly backups - the same as for daily backups.
  • Monthly backups - the same as for daily backups.

Peculiarities for limits for incremental and differential backup types

  • Limit for full copies are processed as described above.
  • All the incremental/differential copies that were created before the latest full copy, will be deleted.
  • Incremental/differential copies based on the latest full copy will be saved.
Example

We have the "Incremental" plan. Backup starts every day at 9 a.m., its full copy is created once a week on Saturdays. The number of weekly and monthly backups is unlimited.

The backup process started on the first of March.

Today is March 17, 2014. We have the following backup copies.

  • "2014-03-01 09:00:00" - "full"
  • "2014-03-02 09:00:00" - "inc"
  • "2014-03-03 09:00:00" - "inc"
  • "2014-03-04 09:00:00" - "inc"
  • "2014-03-05 09:00:00" - "inc"
  • "2014-03-06 09:00:00" - "inc"
  • "2014-03-07 09:00:00" - "inc"
  • "2014-03-08 09:00:00" - "full"
  • "2014-03-09 09:00:00" - "inc"
  • "2014-03-10 09:00:00" - "inc"
  • "2014-03-11 09:00:00" - "inc"
  • "2014-03-12 09:00:00" - "inc"
  • "2014-03-13 09:00:00" - "inc"
  • "2014-03-14 09:00:00" - "inc"
  • "2014-03-15 09:00:00" - "full"
  • "2014-03-16 09:00:00" - "inc"
  • "2014-03-17 09:00:00" - "inc"

You think that you have too much copies, and on March 17 you set the number of weekly backups to "2".

On March 18 after making a new backup copy, old backups are deleted. So, according to the scheme described above, the following copies are left:

  • "2014-03-08 09:00:00" - "full"
  • "2014-03-15 09:00:00" - "full"
  • "2014-03-16 09:00:00" - "inc"
  • "2014-03-17 09:00:00" - "inc"
  • "2014-03-18 09:00:00" - "inc"

I.e. two full backup copies, one per week, and three incremental copies based on the latest full copy.

Edit plan parameters

To edit a backup plan, locate the plan, click the "Edit" icon and modify the settings you want to change.

You can edit only the name of the plan and scheduler settings. You are not allowed to modify other fields, because backup copies may become unavailable.

Delete plan

To delete a plan, select it from the list and click the "Delete" icon. Confirm that you want to delete the selected backup plan by clicking "OK" in the following window.

Back up now

To execute a backup plan, select it from the list and click the "Backup" icon. Confirm that you want to back up by clicking "OK" in the following window. The P-install.gif icon will be displayed.

You can view the newly created backup copy in the Backup copies module.

Was this answer helpful?

 Print this Article

Also Read

Monitoring

Srvmon Service monitoring is provided by the Srvmon program. The program is normally located in...

Configuring FTP-server

Supported software Currently ISPmanager supports the following FTP-servers: ProFTPd;...

Customizing DNSmanager

DNSmanager is a DNS slave server management system. It can be used both as a stand-alone...

Domain names (DNS) (ISPmanager)

A Domain name is a unique set of symbols (letters of the Latin alphabet, digits, hyphen...

Applications (ISPmanager)

In this module you can manage a wide range of server applications available to you and...