Full and partial incremental backup

An incremental backup backs up only new and changed files. The type of incremental backup depends on what objects you select to be backed up.

Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsIf you select entire file systems, the backup is a full incremental backup. If you select a directory tree or individual files, the backup is a partial incremental backup.

Windows operating systemsIf you select entire drives, the backup is a full incremental backup. If you select a directory tree or individual files, the backup is a partial incremental backup.

The first time that you run a full incremental backup, the backup-archive client backs up all the files and directories that you specify. The backup operation can take a long time if the number of files is large, or if one or more large files must be backed up. Subsequent full incremental backups only back up new and changed files. The backup server maintains current versions of your files without having to waste time or space by backing up files that exist in IBM Spectrum Protect server storage.

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsDepending on your storage management policies, the IBM Spectrum Protect server might keep more than one version of your files in storage. The most recently backed up files are active backup versions. Older copies of your backed up files are inactive versions. However, if you delete a file from your workstation, the next full incremental backup causes the active backup version of the file to become inactive. You can restore an inactive version of a file. The number of inactive versions that are maintained by the server and how long they are retained is governed by the management policies that are defined by your IBM Spectrum Protect server administrator. The active versions represent the files that existed on your file system at the time of the last backup.

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsTo start a full or partial incremental backup by using the client GUI, select Backup, and then select the Incremental (complete) option. From the command line, use the incremental command and specify file systems, directory trees, or individual files to include in the backup.

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsDuring an incremental backup, the client queries the server or the journal database to determine the exact state of your files since the last incremental backup. The client uses this information for the following tasks:

  • Back up new files.
  • Back up files whose contents changed since the last backup.
    Windows operating systemsFiles are backed up when any of the following attributes change:
    • File size
    • Date or time of last modification
    • Extended Attributes
    • Access Control List
    • Sparse, reparse point or encrypted file attributes.
    • NTFS or ReFS file security descriptors:Owner Security Identifier (SID), Group SID, Discretionary Access Control List (ACL), and System ACL.
    • Directory attributes
    If only the following attributes change, the attributes are updated on the IBM Spectrum Protect server, but the file is not backed up:
    • Read-only or read/write
    • Hidden or not hidden
    • Compressed or not compressed
    The archive attribute is not examined by IBM Spectrum Protect in determining changed files.
    Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsFiles are backed up when any of the following attributes change:
    • File size
    • Date or time of last modification
    • Extended Attributes
    • Access Control List
    If only the following attributes change, the attributes are updated on the IBM Spectrum Protect server, but the file is not backed up:
    • File owner
    • File permissions
    • Inode
    • Group ID
    • Linux operating systemsAIX operating systemsChange time (ctime) attribute (for objects in GPFS file systems only and if the updatectime option is set to yes). For more details, see the updatectime option.
    • Icon location (Mac OS X only)
    • Type or creator (Mac OS X only)
  • Back up directories.
    A directory is backed up in any of the following circumstances:
    • The directory was not previously backed up.
    • The directory permissions changed since the last backup.
    • The directory Access Control List changed since the last backup.
    • The directory Extended Attributes changed since the last backup.
    • Linux operating systemsAIX operating systemsThe change time (ctime) attribute is updated since the last backup (for GPFS file systems only). For more details, see the updatectime option.

    Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsDirectories are counted in the number of objects that are backed up. To exclude directories and their contents from backup, use the exclude.dir option.

  • Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsExpire backup versions of files on the server that do not have corresponding files on the workstation. The result is that files that no longer exist on your workstation do not have active backup versions on the server. However, inactive versions are retained according to rules defined by the IBM Spectrum Protect administrator.
  • Rebind backup versions if management class assignments change. Only objects that have active backup versions are bound again. Objects for which only inactive backup versions exist are not bound again.
    During a partial incremental backup operation, objects are rebound or expired as follows:
    If the file specification matches all files in a path:
    Rebinding and expiration occurs for all eligible backup versions that match the file specification. This is the case for an incremental command like dsmc incr c:\mydir\* -subdir=yes.
    If the file specification does not match all files in a path:
    Rebinding and expiration occurs for all eligible backup versions that match the file specification. However, eligible backup versions are not expired or rebound if they were in a directory that no longer exists on the client file system.

    Consider an incremental command like dsmc incr c:\mydir\*.txt -subdir=yes. Assume that some files in c:\mydir\ do not have the txt file type. Rebinding and expiration occurs only for files that match the *.txt specification and whose directories still exist on the client file system.

Mac OS X operating systemsWindows operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsYou can use the preservelastaccessdate option to specify whether to modify the last access date after a backup or archive operation. By default, the access date changes after a backup or archive operation.