Journal-based backup
This is a type of backup that is performed when the IBM Spectrum Protect™ journal daemon has been installed and a valid journal has been established for the file system being backed up.
Journal-based backup is available on the AIX® backup-archive client on JFS and JFS2 file systems. Journal-based backup is also available on the Linux backup-archive client on the following file systems: Ext2, Ext3, Ext4, XFS, ReiserFS, JFS, VxFS, and NSS. Journal-based backup is available at the file system level (instead of the subvolume level) on the Btrfs file system on Linux. GPFS™ is not supported for journal-based backups. A local file system that is shared through NFS is supported by journal-based backup, but only on Linux.
A journal-based backup records changes to an object or its attributes in a journal database. The journal database is created and maintained by a journal daemon that runs in the background.
There is always one journal database for each journaled file system on a client node. You can choose to have all journal databases in one directory or have each journal database in a different directory. There is also a one to one relationship between a journal database on a client node and a particular server the file systems are backed up to.
A journal-based backup can improve backup performance because the client does not scan the local file system or query the server for the backup candidate list. Instead, a list of files that are eligible for backup are obtained from the journal database. A journal-based backup is most beneficial for file systems in which a small to moderate percentage of files change per backup cycle.
A journal-based backup is automatically performed when the Incremental (complete) function is selected in the Backup window and a previous full progressive incremental backup has been completed with an active journal.
Multiple journal-based backups are possible provided that the journal service has been installed and a valid journal exists for the file system being backed up. Multiple journal-based backups of the same file system might cause later backups to wait for the journal service to finish processing prior journal-based backups of the same file system. You can enable multiple journal-based backup sessions by setting the RESOURCEUTILIZATION option to a value greater than 1.
Journal-based backups differ from the traditional full incremental backup in the method in which the list of backup candidates is derived. The backup candidate list specifies the objects for a particular file system which are to be backed up, expired, or updated on the server by a client. The incremental backup obtains the backup candidate list by building and comparing the list of active backed up objects stored on the server with the list of objects currently on the local file system. The server list is obtained over the network and the local list is obtained by scanning the local file system. Objects which exist on the local list but do not exist on the server list are added as backup candidates. Objects which exist in both lists but differ in some way (attributes, policy, size, and so on) are also added as backup candidates. Objects which exist in the server list but do not exist in the local list are added as expiration candidates.
For journal-based backup, the client obtains the backup candidate list from the journal database which contains change activity for each file system being journaled. The journal database entries are generated by real time file system change activity and specify objects to be backed up or expired. The type of change activity which generates journal entries is configured by the user and includes the following:
- Objects created, deleted, or renamed on the file system
- Size changes
- Modifications to the time or date of an object
- Changes to the time or date when an object was last accessed
- Attribute changes
- Security changes
These configuration settings are applied when the journaled file systems come online. The configuration settings are not applied to file systems currently online (file systems being journaled) until the file system goes offline and comes back online. A journaled file system can be brought offline and back online by stopping and restarting the journal daemon or by removing and re-adding the file system to the list of journaled file systems.
- You delete files on the server for a journaled file space
- A journaled file space name changes
- The client node name changes.
- Policy changes occur (new policy set activation)
- The journal is corrupt (out of space conditions, disk error)
- The journal daemon is not running or stopped or started for any reason, including system reboot.
- You connect to a different server or node. You must stop and start the journal daemon again to resume journal-based backup.
Select the Incremental (without journal) function in the Backup window to perform a full incremental backup without journaling. An example of why you might want to perform an incremental backup without journaling is when you specify a new server. This forces the client to perform a full incremental backup on the new server. When the server name changes, you should restart the journal daemon and perform a full incremental backup on the new server. Another example of why you might want to perform an incremental backup without journaling is if you have server changes in policy such as management class or copy frequency.
For more information, see the client documentation at http://www.ibm.com/support/knowledgecenter/SSEQVQ_8.1.6/client/t_protect_wf.html.