<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Creating backups</title>
    <link>/en/admin/backup-and-restore/creating-backups/</link>
    <description>Recent content in Creating backups on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/backup-and-restore/creating-backups/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Types of backups</title>
      <link>/en/admin/backup-and-restore/creating-backups/types-of-backups/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/backup-and-restore/creating-backups/types-of-backups/</guid>
      <description>
        
        
        &lt;p&gt;&lt;code&gt;vbr&lt;/code&gt; supports the following kinds of backups:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/backup-and-restore/creating-backups/creating-full-backups/&#34;&gt;Full backups&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/backup-and-restore/creating-backups/creating-object-level-backups/&#34;&gt;Object-level backups&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/backup-and-restore/creating-backups/creating-hard-link-local-backups/&#34;&gt;Hard-link local backups&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;code&gt;vbr&lt;/code&gt; configuration file includes the &lt;code&gt;snapshotName&lt;/code&gt; parameter. Use different snapshot names for different types of backups, including different combinations of objects in object-level backups. Backups with the same snapshot name form a time sequence limited by &lt;code&gt;restorePointLimit&lt;/code&gt;,. Avoid giving all backups the same snapshot name; otherwise, they eventually interfere with each other.&lt;/p&gt;
&lt;h2 id=&#34;full-backups&#34;&gt;Full backups&lt;/h2&gt;
&lt;p&gt;A full backup is a complete copy of the database catalog, its schemas, tables, and other objects. This type of backup provides a consistent image of the database at the time the backup occurred. You can use a full backup for disaster recovery to restore a damaged or incomplete database. You can also &lt;a href=&#34;../../../../en/admin/backup-and-restore/restoring-backups/restoring-individual-objects/&#34;&gt;restore individual objects from a full backup&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When a full backup already exists, &lt;code&gt;vbr&lt;/code&gt; performs incremental backups, whose scope is confined to data that is new or changed since the last full backup occurred. You can specify the number of historical backups to keep.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Archives&lt;/em&gt; contain a collection of same-name backups. Each archive can have a different retention policy. For example, &lt;code&gt;TBak&lt;/code&gt; might be the name of an object-level backup of table &lt;code&gt;T&lt;/code&gt;. If you create a daily backup each week, the seven backups of a given week become part of the &lt;code&gt;TBak&lt;/code&gt; archive. Keeping a backup archive lets you revert back to any one of the saved backups.&lt;/p&gt;
&lt;h2 id=&#34;object-level-backups&#34;&gt;Object-level backups&lt;/h2&gt;
&lt;p&gt;An object-level backup consists of one or more schemas or tables or a group of such objects. The conglomerate parts of the object-level backup do not contain the entire database. When an object-level backup exists, you can restore all of its contents or &lt;a href=&#34;../../../../en/admin/backup-and-restore/restoring-backups/restoring-individual-objects/&#34;&gt;individual objects&lt;/a&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Object-level backups are not supported for Enterprise Mode databases that use a Hadoop File System (HDFS) storage location.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Object-level backups contain the following object types:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Object Type&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Selected objects&lt;/td&gt; 

&lt;td &gt;
Objects you choose to be part of an object-level backup. For example, if you specify tables &lt;code&gt;T1&lt;/code&gt; and &lt;code&gt;T2&lt;/code&gt; to include in an object-level backup, they are the selected objects.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Dependent objects&lt;/td&gt; 

&lt;td &gt;
Objects that must be included as part of an object-level backup, due to dependencies. Suppose you want to create an object-level backup that includes a table with a foreign key. To do so, table constraints require that you include the primary key table, and &lt;code&gt;vbr&lt;/code&gt; enforces this requirement. Projections anchored on a table in the selected objects are also dependent objects.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Principal objects&lt;/td&gt; 

&lt;td &gt;
The objects on which both selected and dependent objects depend are called &lt;em&gt;principal objects&lt;/em&gt;. For example, each table and projection has an owner, and each is a &lt;em&gt;principal object&lt;/em&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;hard-link-local-backups&#34;&gt;Hard-link local backups&lt;/h2&gt;
&lt;p&gt;Valid only for Enterprise Mode, hard-link local backups are saved directly on the database nodes, and can be performed on the entire database or specific objects. Typically you use this kind of backup temporarily before performing a disruptive operation. Do not rely on this kind of backup for long-term use; it cannot protect you from node failures because data and backups are on the same nodes.&lt;/p&gt;
&lt;p&gt;A checkpoint backup is a hard-link local backup that comprises a complete copy of the database catalog, and a set of hard file links to corresponding data files. You must save a hard-link local backup on the same file system that is used by the catalog and database files.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Creating full backups</title>
      <link>/en/admin/backup-and-restore/creating-backups/creating-full-backups/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/backup-and-restore/creating-backups/creating-full-backups/</guid>
      <description>
        
        
        &lt;p&gt;Before you create a database backup, verify the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;You have prepared your backup directory with the &lt;a href=&#34;../../../../en/admin/backup-and-restore/vbr-reference/&#34;&gt;vbr init task&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ vbr -t init -c full_backup.ini
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Your database is running. It is unnecessary for all nodes to be up in a K-safe database. However, any nodes that are DOWN are not backed up.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;All of the backup hosts are up and available.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The backup host (either on the database cluster or elsewhere) has sufficient disk space to store the backups.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The user account of the user who starts &lt;code&gt;vbr&lt;/code&gt; has write access to the target directories on the host backup location. This user can be &lt;code&gt;dbadmin&lt;/code&gt; or another assigned role. However, you cannot run &lt;code&gt;vbr&lt;/code&gt; as root.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Each backup has a unique file name.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you want to keep earlier backups, &lt;code&gt;restorePointLimit&lt;/code&gt; is set to a number greater than 1 in the configuration file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you are backing up an Eon Mode database, you have met the &lt;a href=&#34;../../../../en/admin/backup-and-restore/eon-db-requirements/#&#34;&gt;Eon Mode database requirements&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Run &lt;code&gt;vbr&lt;/code&gt; from a terminal. Use the database administrator account from an initiator node in your database cluster. The command requires only the &lt;code&gt;--task backup&lt;/code&gt; and &lt;code&gt;--config-file&lt;/code&gt; arguments (or their short forms, &lt;code&gt;-t&lt;/code&gt; and &lt;code&gt;-c&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;If your configuration file does not contain the database administrator password, &lt;code&gt;vbr&lt;/code&gt; prompts you to enter the password. It does not display what you type.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;vbr&lt;/code&gt; requires no further interaction after you invoke it.&lt;/p&gt;
&lt;p&gt;The following example shows a full backup:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ vbr -t backup -c full_backup.ini
Starting backup of database VTDB.
Participating nodes: v_vmart_node0001, v_vmart_node0002, v_vmart_node0003, v_vmart_node0004.
Snapshotting database.
Snapshot complete.
Approximate bytes to copy: 2315056043 of 2356089422 total.
[==================================================] 100%
Copying backup metadata.
Finalizing backup.
Backup complete!
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;By default, no output is displayed, other than the progress bar. To include additional progress information, use the &lt;code&gt;--debug&lt;/code&gt; option, with a value of 1, 2, or 3.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Creating object-level backups</title>
      <link>/en/admin/backup-and-restore/creating-backups/creating-object-level-backups/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/backup-and-restore/creating-backups/creating-object-level-backups/</guid>
      <description>
        
        
        &lt;p&gt;Use object-level backups to back up individual schemas or tables. Object-level backups are especially useful for multi-tenanted database sites. For example, an international airport could use a multi-tenanted database to represent different airlines in its schemas. Then, tables could maintain various types of information for the airline, including ARRIVALS, DEPARTURES, and PASSENGER information. With such an organization, creating object-level backups of the specific schemas would let you restore by airline tenant, or any other important data segment.&lt;/p&gt;
&lt;p&gt;To create one or more object-level backups, create a configuration file specifying the backup location, the object-level backup name, and a list of objects to include. You can use the &lt;code&gt;includeObjects&lt;/code&gt; and &lt;code&gt;excludeObjects&lt;/code&gt; parameters together with wildcards to specify the objects of interest. For more information about specifying the objects to include, see &lt;a href=&#34;../../../../en/admin/backup-and-restore/including-and-excluding-objects/#&#34;&gt;Including and excluding objects&lt;/a&gt;.&lt;/p&gt;

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
If your Eon Mode database has multiple &lt;a href=&#34;../../../../en/architecture/eon-concepts/shards-and-subscriptions/&#34;&gt;namespaces&lt;/a&gt;, you must specify the namespace to which the objects belong. For &lt;code&gt;vbr&lt;/code&gt; tasks, namespace names are prefixed with a period. For example, &lt;code&gt;.n.s.t&lt;/code&gt; refers to table &lt;code&gt;t&lt;/code&gt; in schema &lt;code&gt;s&lt;/code&gt; in namespace &lt;code&gt;n&lt;/code&gt;. See &lt;a href=&#34;../../../../en/admin/backup-and-restore/eon-db-requirements/#backup-and-restore-with-multiple-namespaces&#34;&gt;Eon Mode database requirements&lt;/a&gt; for more information.
&lt;/div&gt;

&lt;p&gt;For more information about configuration files for full or object-level backups, see &lt;a href=&#34;../../../../en/admin/backup-and-restore/sample-vbr-config-files/#&#34;&gt;Sample vbr configuration files&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/backup-and-restore/vbr-config-file-reference/#&#34;&gt;vbr configuration file reference&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;While not required, OpenText recommends that you first create a full backup before creating any object-level backups.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Apache Kafka uses internal configuration settings to maintain the integrity of your data. When backing up your Kafka data, OpenText recommends that you perform a &lt;a href=&#34;../../../../en/admin/backup-and-restore/creating-backups/creating-full-backups/&#34;&gt;full database backup&lt;/a&gt; rather than an object-level backup.

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;performing-the-backup&#34;&gt;Performing the backup&lt;/h2&gt;
&lt;p&gt;Before you can create a backup, you must prepare your backup directory with the &lt;a href=&#34;../../../../en/admin/backup-and-restore/vbr-reference/&#34;&gt;vbr -init task&lt;/a&gt;. You must also create a configuration file specifying which objects to back up.&lt;/p&gt;
&lt;p&gt;Run &lt;code&gt;vbr&lt;/code&gt; from a terminal using the database administrator account from a node in your database cluster. You cannot run &lt;code&gt;vbr&lt;/code&gt; as root.&lt;/p&gt;
&lt;p&gt;You can create an object-level backup as in the following example.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ vbr --task backup --config-file objectbak.ini
Preparing...
Found Database port:  5433
Copying...
[==================================================] 100%
All child processes terminated successfully.
Committing changes on all backup sites...
backup done!
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;naming-conventions&#34;&gt;Naming conventions&lt;/h2&gt;
&lt;p&gt;Give each object-level backup configuration file a distinct and descriptive name. For instance, at an airport terminal, schema-based backup configuration files use a naming convention with an airline prefix, followed by further description, such as:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;AIR1_daily_arrivals_backup&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;AIR2_hourly_arrivals_backup&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;AIR2_hourly_departures_backup&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;AIR3_daily_departures_backup&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;When database and object-level backups exist, you can recover the backup of your choice.

&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

Do not change object names in an object-level configuration file if a backup already exists. Doing so overwrites the original configuration file, and you cannot restore it from the earlier backup. Instead, create a different configuration file.

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;understanding-object-level-backup-contents&#34;&gt;Understanding object-level backup contents&lt;/h2&gt;
&lt;p&gt;Object-level backups comprise only the elements necessary to restore the schema or table, including the selected, dependent, and principal objects. An object-level backup includes the following contents:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Storage: Data files belonging to any specified objects&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Metadata: Including the cluster topology, timestamp, epoch, AHM, and so on&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Catalog snippet: Persistent catalog objects serialized into the principal and dependent objects&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some of the elements that AIR2 comprises, for instance, are its parent schema, tables, named sequences, primary key and foreign key constraints, and so on. To create such a backup, &lt;code&gt;vbr&lt;/code&gt; saves the objects directly associated with the table. It also saves any dependencies, such as foreign key (FK) tables, and creates an object map from which to restore the backup.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Because the data in local temp tables persists only within a session, local temporary tables are excluded when you create an object-level backup. For global temporary tables, &lt;code&gt;vbr&lt;/code&gt; stores the table&#39;s definition.

&lt;/div&gt;&lt;/p&gt;
&lt;h2 id=&#34;making-changes-after-an-object-level-backup&#34;&gt;Making changes after an object-level backup&lt;/h2&gt;
&lt;p&gt;Be aware how changes made after an object-level backup affect subsequent backups. Suppose you create an object-level backup and later drop schemas and tables from the database. In this case, the objects you dropped are also dropped from subsequent backups. If you do not save an archive of the object backup, such objects could be lost permanently.&lt;/p&gt;
&lt;p&gt;Changing a table name after creating a table backup does not persist after restoring the backup. Suppose that, after creating a backup, you drop a user who owns any selected or dependent objects in that backup. In this case, restoring the backup re-creates the object and assigns ownership to the user performing the restore. If the owner of a restored object still exists, that user retains ownership of the restored object.&lt;/p&gt;
&lt;p&gt;To restore a dropped table from a backup:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Rename the newly created table from t1 to t2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restore the backup containing t1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restore t1. Tables t1 and t2 now coexist.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For information on how OpenText™ Analytics Database handles object overwrites, refer to the &lt;code&gt;objectRestoreMode&lt;/code&gt; parameter in &lt;a href=&#34;../../../../en/admin/backup-and-restore/vbr-config-file-reference/misc/#&#34;&gt;[misc]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;K-safety can increase after an object backup. Restoration of a backup fails if &lt;em&gt;both&lt;/em&gt; of the following conditions occur:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;An increase in K-safety occurs.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Any table in the backup has insufficient projections.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;changing-principal-and-dependent-objects&#34;&gt;Changing principal and dependent objects&lt;/h2&gt;
&lt;p&gt;If you create a backup and then drop a principal object, restoring the backup restores that principal object. If the owner of the restored object has also been dropped, the database assigns the restored object to the current dbadmin.&lt;/p&gt;
&lt;p&gt;You can specify how the database handles object overwrites in the &lt;code&gt;vbr&lt;/code&gt; configuration file. For more information, refer to the objectRestoreMode parameter in &lt;a href=&#34;../../../../en/admin/backup-and-restore/vbr-config-file-reference/misc/#&#34;&gt;[misc]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/working-with-native-tables/sequences/identity-sequences/&#34;&gt;IDENTITY&lt;/a&gt; sequences are dependent objects because they cannot exist without their tables. An object-level backup includes such objects, along with the tables on which they depend.&lt;/p&gt;
&lt;p&gt;Named sequences are not dependent objects because they exist autonomously. A named sequence remains after you drop the table in which the sequence is used. In this case, the named sequence is a principal object. Thus, you must back up the named sequence with the table. Then you can regenerate it, if it does not already exist when you restore the table. If the sequence does exist, &lt;code&gt;vbr&lt;/code&gt; uses it, unmodified. Sequence values could repeat, if you restore the full database and then restore a table backup to a newer epoch.&lt;/p&gt;
&lt;h2 id=&#34;considering-constraint-references&#34;&gt;Considering constraint references&lt;/h2&gt;
&lt;p&gt;When database objects are related through constraints, you must back them up together. For example, a schema with tables whose constraints reference only tables in the same schema can be backed up. However, a schema containing a table with an FK/PK constraint on a table in another schema cannot. To back up the second table, you must include the other schema in the list of selected objects.&lt;/p&gt;
&lt;h2 id=&#34;configuration-files-for-object-level-backups&#34;&gt;Configuration files for object-level backups&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;vbr&lt;/code&gt; automatically associates configurations with different backup names but uses the same backup location.&lt;/p&gt;
&lt;p&gt;Always create a cluster-wide configuration file and one or more object-level configuration files pointing to the same backup location. Storage between backups is shared, preventing multiple copies of the same data. For object-level backups, using the same backup location causes &lt;code&gt;vbr&lt;/code&gt; to encounter fewer OID conflict prevention techniques. Avoiding OID conflict prevention results in fewer problems when restoring the backup.&lt;/p&gt;
&lt;p&gt;When using cluster and object configuration files with the same backup location, &lt;code&gt;vbr&lt;/code&gt; includes additional provisions to ensure that the object-level backups can be used following a full cluster restore. One approach to restoring a full cluster is to use a full database backup to bootstrap the cluster. After the cluster is operational again, you can restore the most recent object-level backups for schemas and tables.&lt;/p&gt;
&lt;p&gt;Attempting to restore a full database using an object-level configuration file fails, resulting in this error:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;VMart=&amp;gt; /tmp/vbr --config-file=Table2.ini -t restore
Preparing...
Invalid metadata file. Cannot restore.
restore failed!
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;See &lt;a href=&#34;../../../../en/admin/backup-and-restore/restoring-backups/restoring-all-objects-from-an-object-level-backup/#&#34;&gt;Restoring all objects from an object-level backup&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id=&#34;backup-epochs&#34;&gt;Backup epochs&lt;/h2&gt;
&lt;p&gt;Each backup includes the epoch to which its contents can be restored. When &lt;code&gt;vbr&lt;/code&gt; restores data, the database updates to the current epoch.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;vbr&lt;/code&gt; attempts to create an object-level backup five times before an error occurs and the backup fails.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Creating hard-link local backups</title>
      <link>/en/admin/backup-and-restore/creating-backups/creating-hard-link-local-backups/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/backup-and-restore/creating-backups/creating-hard-link-local-backups/</guid>
      <description>
        
        
        &lt;p&gt;You can use the &lt;code&gt;hardLinkLocal&lt;/code&gt; option to create a full or object-level backup with hard file links on a local database host.&lt;/p&gt;
&lt;p&gt;Creating hard-link local backups can provide the following advantages over a remote host backup:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Speed&lt;/strong&gt;: A hard-link local backup is significantly faster than a remote host backup. When backing up, &lt;code&gt;vbr&lt;/code&gt; does not copy files if the backup directory exists on the same file system as the database directory.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Reduced network activities&lt;/strong&gt;: The hard-link local backup minimizes network load because it does not require rsync to copy files to a remote backup host.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Less disk space&lt;/strong&gt;: The backup includes a copy of the catalog and hard file links. Therefore, the local backup uses significantly less disk space than a backup with copies of database data files. However, a hard-link local backup saves a full copy of the catalog each time you run &lt;code&gt;vbr&lt;/code&gt;. Thus, the disk size increases with the catalog size over time.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hard-link local backups can help you during experimental designs and development cycles. Database designers and developers can create hard-link local object backups of schemas and tables on a regular schedule during design and development phases. If any new developments are unsuccessful, developers can restore one or more objects from the backup.&lt;/p&gt;
&lt;h2 id=&#34;planning-hard-link-local-backups&#34;&gt;Planning hard-link local backups&lt;/h2&gt;
&lt;p&gt;If you plan to use hard-link local backups as a standard site procedure, design your database and hardware configuration appropriately. Consider storing all of the data files on one file system per node. Such a configuration has the advantage of being set up automatically for hard-link local backups.&lt;/p&gt;
&lt;h2 id=&#34;specifying-backup-directory-locations&#34;&gt;Specifying backup directory locations&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;backupDir&lt;/code&gt; parameter of the configuration file specifies the location of the top-level backup directory. Hard-link local backups require that the backup directory be located on the same Linux file system as the database data. The Linux operating system cannot create hard file links to another file system.&lt;/p&gt;
&lt;p&gt;Do not create the hard-link local backup directory in a database data storage location. For example, as a best practice, the database data directory should not be at the top level of the file system, as it is in the following example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/home/dbadmin/&lt;span class=&#34;code-input&#34;&gt;data/VMart&lt;/span&gt;/v_vmart_node0001
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Instead, OpenText recommends adding another subdirectory for data above the database level, such as in this example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/home/dbadmin/&lt;span class=&#34;code-input&#34;&gt;data/dbdata/&lt;/span&gt;VMart/v_vmart_node0001
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can then create the hard-link local backups subdirectory as a peer of the data directory you just created, such as in this example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/home/dbadmin/&lt;span class=&#34;code-input&#34;&gt;data/backups&lt;/span&gt;
/home/dbadmin/&lt;span class=&#34;code-input&#34;&gt;data/dbdata&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;When you specify the hard-link backup location, be sure to avoid these common errors when adding the &lt;code&gt;hardLinkLocal=True&lt;/code&gt; parameter to the configuration file:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
If ...&lt;/th&gt; 

&lt;th &gt;
Then...&lt;/th&gt; 

&lt;th &gt;
Solution&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


You specify a backup directory on a &lt;em&gt;different&lt;/em&gt; node&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;vbr&lt;/code&gt; issues an error message and aborts the backup.&lt;/td&gt; 

&lt;td &gt;


Change the configuration file to include a backup directory on the same host and file system as the database files. Then, run &lt;code&gt;vbr&lt;/code&gt; again.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


You specify a backup location on the same node, but a backup destination directory on a &lt;em&gt;different&lt;/em&gt; file system from the database and catalog files.&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;vbr&lt;/code&gt; issues a warning message and performs the backup by copying (not linking) the files from one file system to the other.&lt;/td&gt; 

&lt;td &gt;
No action required, but copying consumes more disk space and takes longer than linking.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;creating-the-backup&#34;&gt;Creating the backup&lt;/h2&gt;
&lt;p&gt;Before creating a full hard-link local database backup of an Enterprise Mode database, verify the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Your database is running. All nodes need not be up in a K-safe database for &lt;code&gt;vbr&lt;/code&gt; to run. However, be aware that any nodes that are DOWN are not backed up.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The user account that starts &lt;code&gt;vbr&lt;/code&gt; (&lt;code&gt;dbadmin&lt;/code&gt; or other) has write access to the target backup directories.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hard-link backups are not supported in Eon Mode.&lt;/p&gt;
&lt;p&gt;When you create a full or object-level hard link local backup, that backup contains the following:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Backup&lt;/th&gt; 

&lt;th &gt;
Catalog&lt;/th&gt; 

&lt;th &gt;
Database files&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Full backup&lt;/td&gt; 

&lt;td &gt;


Full copy&lt;/td&gt; 

&lt;td &gt;


Hard file links to all database files&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


Object-level backup&lt;/td&gt; 

&lt;td &gt;


Full copy&lt;/td&gt; 

&lt;td &gt;


Hard file links for all objects listed in the configuration file, and any of their dependent objects&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;Run the &lt;code&gt;vbr&lt;/code&gt; script from a terminal using the database administrator account from a node in your database cluster. You cannot run &lt;code&gt;vbr&lt;/code&gt; as root.&lt;/p&gt;
&lt;p&gt;Hard-link backups use the same &lt;code&gt;vbr&lt;/code&gt; arguments as other backups. Configuring a backup as a hard-link backup is done entirely in the configuration file. The following example shows the syntax:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ vbr --task backup --config fullbak.ini
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;creating-hard-link-local-backups-for-external-media-storage&#34;&gt;Creating hard-link local backups for external media storage&lt;/h2&gt;
&lt;p&gt;You can use hard-link local backups as a staging mechanism to back up to tape or other forms of storage media. The following steps present a simplified approach to saving, and then restoring, hard-link local backups from tape storage:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Create a configuration file by copying an existing one or one of the samples described in &lt;a href=&#34;../../../../en/admin/backup-and-restore/sample-vbr-config-files/#&#34;&gt;Sample vbr configuration files&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Edit the configuration file (&lt;code&gt;localbak.ini&lt;/code&gt; in this example) to include the &lt;code&gt;hardLinkLocal=True&lt;/code&gt; parameter in the &lt;code&gt;[Transmission]&lt;/code&gt; section.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run &lt;code&gt;vbr&lt;/code&gt; with the configuration file:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ vbr --task backup --config-file localbak.ini
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy the hard-link local backup directory with a separate process (not &lt;code&gt;vbr&lt;/code&gt;) to tape or other external media.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the database becomes corrupted, transfer the backup files from tape to their original backup directory and restore as explained in &lt;a href=&#34;../../../../en/admin/backup-and-restore/restoring-backups/restoring-hard-link-local-backups/#&#34;&gt;Restoring hard-link local backups&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

OpenText recommends that you preserve the directory containing the hard-link backup after copying it to other media. If you delete the directory and later copy the files back from external media, the copied files will no longer be links. Instead, they will use as much disk space as if you had done a full (not hard-link) backup.

&lt;/div&gt;
&lt;p&gt;Restoring hard-link local backups requires some additional (manual) steps. Do not use them as a substitute for regular full backups (&lt;a href=&#34;../../../../en/admin/backup-and-restore/creating-backups/creating-full-backups/#&#34;&gt;Creating full backups&lt;/a&gt;).&lt;/p&gt;
&lt;h2 id=&#34;hard-link-local-backups-and-disaster-recovery&#34;&gt;Hard-link local backups and disaster recovery&lt;/h2&gt;
&lt;p&gt;Hard-link local backups are only as reliable as the disk on which they are stored. If the local disk becomes corrupt, so does the hard-link local backup. In this case, you are unable to restore the database from the hard-link local backup because it is also corrupt.&lt;/p&gt;
&lt;p&gt;All sites should maintain full backups externally for disaster recovery because hard-link local backups do not actually copy any database files.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Incremental or repeated backups</title>
      <link>/en/admin/backup-and-restore/creating-backups/incremental-or-repeated-backups/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/backup-and-restore/creating-backups/incremental-or-repeated-backups/</guid>
      <description>
        
        
        &lt;p&gt;As a best practice, OpenText recommends that you take frequent backups if database contents diverge in significant ways. Always take backups after any event that significantly modifies the database, such as performing a rebalance. Mixing many backups with significant differences can weaken data K-safety. For example, taking backups both before and after a rebalance is not a recommended practice in cases where the backups are all part of one archive.&lt;/p&gt;
&lt;p&gt;Each time you back up your database with the same configuration file, &lt;code&gt;vbr&lt;/code&gt; creates an additional backup and might remove the oldest backup. The backup operation copies new storage containers, which can include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Data that existed the last time you performed a database backup&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;New and changed data since the last full backup&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Use the &lt;code&gt;restorePointLimit&lt;/code&gt; parameter in the configuration file to increase the number of stored backups. If a backup task would cause this limit to be exceeded, &lt;code&gt;vbr&lt;/code&gt; deletes the oldest backup after a successful backup.&lt;/p&gt;
&lt;p&gt;When you run a backup task, &lt;code&gt;vbr&lt;/code&gt; first creates the new backup in the specified location, which might temporarily exceed the limit. It then checks whether the number of backups exceeds the value of &lt;code&gt;restorePointLimit&lt;/code&gt;, and, if necessary, deletes the oldest backups until only &lt;code&gt;restorePointLimit&lt;/code&gt; remain. If the requested backup fails or is interrupted, &lt;code&gt;vbr&lt;/code&gt; does not delete any backups.&lt;/p&gt;
&lt;p&gt;When you restore a database, you can choose to restore from any retained backup rather than the most recent, so raise the limit if you expect to need access to older backups.&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
