![]() |
![]() |
You can use the incremental or selective commands to perform backups. For information on the commands to use for backing up system objects, see Chapter 11, "Using Commands".
See Full Incremental Backup for detailed information about incremental backups.
To perform a full incremental backup of the c: drive, for example, enter:
dsmc incremental c:
To perform a partial incremental backup of the accounting folder and all its subdirectories on the c: drive:
dsmc incremental c:\Accounting\* -sub=yes
Use the incrbydate option with the incremental command to run an incremental backup by date, by entering:
dsmc incremental -incrbydate
Using the selective command, you can back up specific files, a group of files with similar names, or empty directories and their attributes regardless of whether those files or directories were backed up during your last incremental backup and without affecting the backup server's last incremental backup count. This is called a selective backup. You can use wildcards to back up multiple files at once.
You can select the files you want to back up by specifying the path, name, and extension of the files.
If you back up a directory, use the subdir=yes option to include all the subdirectories under that directory in the backup. For example, to back up the d:\proj directory and its subdirectories, enter:
dsmc selective d:\proj\ -subdir=yes
To back up files under the proj directory, enter:
dsmc selective d:\proj\
You can enter up to 20 file names on the selective command by entering a space between each file name. For example, to back up the d:\h1.doc and d:\test.doc files, enter:
dsmc selective d:\h1.doc d:\test.docIf you want to specify more than 20 file names, you can use the filelist option. See Filelist for more information about this option.
When you run a selective backup, Tivoli Storage Manager also backs up the file attributes, directory information, and last changed date. This information is restored when you restore the file. You can exclude the files within a directory, and you can exclude an empty directory from backup. Directories are counted in the number of files backed up.
When you request a selective backup, Tivoli Storage Manager backs up a file if all of the following requirements are met:
See Selective for more information about the selective command.
See Backup: Additional Considerations for additional information to consider when performing a backup. You do not need to understand this information to perform basic backups.