Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for backup

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
Backup class core/includes/backup/backup.class.inc Base class for creating backups.
backup.inc file core/includes/backup.inc Contains functionality related to creating and restoring site backups.
BackupFile class core/includes/backup/backup.file.inc Provides a utility object for reading and writing local backup files.
Backup::log function core/includes/backup/backup.class.inc Log a message that occurs during a backup or migration process.
BackupMySql class core/includes/backup/backup.mysql.inc Creates and restores backups from a MySQL database source.
backup.test file core/modules/simpletest/tests/backup.test Test classes for verifying Backup and Restore functionality.
backup_batch function core/includes/backup.inc Starts a batch process to create a backup.
BackupConfig class core/includes/backup/backup.config.inc Base class for creating backups.
Backup::$log property core/includes/backup/backup.class.inc An array of log entries. The array is unindexed and contains nested, unindexed arrays, each with the following keys:
backup_delete function core/includes/backup.inc Delete a backup from the backup directory by its directory name.
Backup::backup function core/includes/backup/backup.class.inc Run the full backup process, including generating the backup and saving it.
Backup::getLog function core/includes/backup/backup.class.inc Return the log for this backup instance.
backup_prepare function core/includes/backup.inc Prepare for a single backup process, ensuring requirements are met.
backup_execute function core/includes/backup.inc Run a backup process.
BackupDatabase class core/includes/backup/backup.database.inc A destination type for saving to a database server.
Backup::getName function core/includes/backup/backup.class.inc Get the name of the backup.
Backup::applies function core/includes/backup/backup.class.inc Determine if this backup source should be used for a particular target.
Backup::restore function core/includes/backup/backup.class.inc Restore a backup from a file.
backup.file.inc file core/includes/backup/backup.file.inc Contains the BackupFile class.
BackupFile::log function core/includes/backup/backup.file.inc Log any issues with reading or writing files.
Backup::clearLog function core/includes/backup/backup.class.inc Clear the log for this backup instance.
Backup::compress function core/includes/backup/backup.class.inc Compress a backup file with gzip.
backup_test_menu function core/modules/simpletest/tests/backup_test/backup_test.module Implements hook_menu().
backup.class.inc file core/includes/backup/backup.class.inc Contains the Backup base class.
backup.mysql.inc file core/includes/backup/backup.mysql.inc Contains the BackupMySQL class.
backup_test.info file core/modules/simpletest/tests/backup_test/backup_test.info name = "Backup Test" description = "Support module for Backup tests." package = Testing version = BACKDROP_VERSION type = module backdrop = 1.x hidden = TRUE
BackupFile::$log property core/includes/backup/backup.file.inc
BackupFile::open function core/includes/backup/backup.file.inc Open a file for reading or writing.
BackupFile::read function core/includes/backup/backup.file.inc Read a line from the file.
Backup::LOG_INFO constant core/includes/backup/backup.class.inc
Backup::$settings property core/includes/backup/backup.class.inc The settings array to configure the backup and restore process.
Backup::getTarget function core/includes/backup/backup.class.inc Get the target of the backup.
Backup::typeLabel function core/includes/backup/backup.class.inc The translated name of the backup type.
Backup::preBackup function core/includes/backup/backup.class.inc Prepare a file to receive a backup.
backup.config.inc file core/includes/backup/backup.config.inc Contains the Backup base class.
backup_class_list function core/includes/backup.inc Get all backup/restore class names and file paths.
BackupFile::close function core/includes/backup/backup.file.inc Close a file when we're done reading/writing.
BackupFile::write function core/includes/backup/backup.file.inc Write a line to the file.
Backup::LOG_ERROR constant core/includes/backup/backup.class.inc
Backup::postBackup function core/includes/backup/backup.class.inc Change a file after a backup is complete.
Backup::preRestore function core/includes/backup/backup.class.inc Prepare a file for restoration.
Backup::decompress function core/includes/backup/backup.class.inc Decompress a backup file with gzip.
BackupMySql::query function core/includes/backup/backup.mysql.inc Run a query on this destination's database using Backdrop's MySQL engine.
BackupBaseTestCase class core/modules/simpletest/tests/backup.test Base class for testing Backup and Restore functionality.
backup_test_schema function core/modules/simpletest/tests/backup_test/backup_test.install Implements hook_schema().
backup_test.module file core/modules/simpletest/tests/backup_test/backup_test.module Test module for verifying backup capabilities.
update_backup_page function core/update.php Provides a form to create an on-demand backup before updating.
update_backup_form function core/update.php Form constructor for the list of available database module updates.
BackupFile::getLog function core/includes/backup/backup.file.inc Return the array of current log messages.
Backup::__construct function core/includes/backup/backup.class.inc Constructor for creating a new backup of any type.

Pages

  • 1
  • 2
  • 3
  • 4
  • next ›
  • last »

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org