Backing up new and changed files
You can use the client to back up all new files and files that have changed since the last backup. This type of backup is also known as incremental backup. Backup versions are marked inactive if you deleted the original file from your workstation, and then ran another incremental backup.
About this task
If the file system being backed up is monitored for journaling, the Incremental (Complete) backup performs a journal-based backup on that file system. Journal-based backups can improve backup performance because the client does not scan the local file system or obtain information from the server to determine which files to process.
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.
You can perform a full incremental backup without journaling by selecting Incremental (without journal) from the drop-down list near the top of the Backup window. An 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.
Multiple journal-based backups are possible provided that the journal daemon has been installed and a valid journal exists for the file system being backed up. Multiple journal-based backups of the same file system may cause later backups to wait for the journal service to finish processing prior journal-based backups of the same file system.
Procedure
To back up your new and changed files:
- Click the Backup button in the IBM Spectrum Protect window. The Backup window appears.
- Expand the directory tree if necessary. To expand an object in the tree, click the plus sign (+) next to the object. To display files in a directory, click the folder icon.
- Click the selection boxes
next to the file systems, directories, or files you want
to back up. See Working with your directories for
more information. - Select Incremental (Complete) from the drop-down list near the top of the Backup window. If you want to perform an incremental by date backup, select Incremental (Date Only) from the drop-down list.
- Click the Backup button. The Task List window appears showing the progress of the backup.
Results
- The first time you run an incremental backup for a particular set of files, each file in your selection is considered "new or changed". The amount of time a backup takes depends on the number of files and amount of data in the files to be backed up.
- During incremental backup, backup versions are associated with new management classes if you changed management class assignments.
- Your IBM Spectrum Protect server administrator can set policy options that can change the behavior of incremental backups. Examples of these options are copy frequency (how frequently a file can be backed up) and copy mode (whether a file needs to change in order to be backed up) for copy groups.
- Incremental by date must be preceded by a successful full incremental backup of the file space before the incremental backup by date operates properly. The full incremental backup only needs to be run once.
- If you want to change the options for your backup before starting the backup operation, click the Options button in the Backup window. The Backup Options window appears.
You cannot back up files or directories that have been excluded from processing by an exclude statement in an include-exclude list in the client system options file, include-exclude options file, or as part of a client options set which is assigned to your node on the server. Objects that have been excluded are indicated by the
icon. You cannot expand directories that have been
excluded.- Incremental by date does not back up files whose modification dates and times are older than the last incremental backup, even if the files are new to your workstation.
- Incremental by date, unlike full incremental backup, does not mark backup versions inactive if you deleted the original file from your workstation. It also does not associate backup versions with new management classes if you changed management class assignments.
- Backup of Access Control Lists (ACLs) on HFS+ file systems is supported by the client on Mac OS X. After you have configured ACLs on your file system, you must perform a full incremental backup to back up ACL data for the first time. All files with Extended Attributes will also be backed up at this time.
- If ACL data for a file has changed since the last backup, the file will be backed up during full incremental backup. If the Extended Attributes for a file have changed, the file will be backed up also. ACL and Extended Attribute data for a file is not backed up during incremental by date backups, unless the modification date and time have also changed.
- Backup of AIX JFS2 Extended Attributes is supported on AIX operating systems. These extended attributes are automatically backed up with each object that has extended attributes data, and no additional action is required. The first time you run a full incremental backup after installation of the backup-archive client, all objects with extended attributes will be backed up because the extended attributes have never been backed up previously.
- Backup and restore of files and their associated
Access Control Lists (ACLs) are supported on all file systems that
support NFSv4 ACLs. The following AIX file
systems support NFSv4 ACLs:
- JFS2 file system formatted with extended attribute version 2
- GPFS file system supporting the aclx_get ansd aclx_put interfaces.
- NFS mounted file systems where underlying file system has NSFv4 ACLs
Run a full incremental backup of your file systems after installation of the backup-archive client to back up ACL data for the first time.