5 1 0:Creating a Backup Task
A backup task defines which files are backed up and which data should be excluded from backup. Creating a task is the first step of the standard backup procedure. Once you created a task, create a schedule to specify when you want to back up your data. In the third step you will create a backup event by selecting where to back up your data to and how.
With v. 5.0.0 Jaglion, you can simplify the backup of multiple VMs by automatically creating tasks for VMs that are connected to the same host; you can also automatically create clients for VMs to which the created tasks and ACLs can be assigned. It is recommended to use these features when a new hypervisor is added and many new VMs need to be backed up. For details, see Automating Backup Process.
- From Main Selection -> Tasks -> By Clients, select your client and click New Backup Task. The New Backup Task window opens.
- Use the browse button to specify the Source and select what you want to back up. If you want to back up individual files, you can either browse for directories and files that you want to include in the backup or enter their names followed by a comma (C:/Program Files/SEPsesam/var/db,C:\Users\AA\Documents\references). Typically, if you select the source by browsing, the task type and task name are set automatically. (You can still edit the assigned task name.) A few special task types are rare exceptions and thus require a manual selection of the relevant type and specifying the task name.
- On Windows, you can simply enter the <list_source> file by using the -f switch in the Backup options field.
- On Linux, this is a 3-step process: after creating the <list_source> file, enter its name in the Source field (see example below), then enter it again by using the -f switch in the Backup options field.
- Optionally, specify the filenames or patterns which you want to exclude from backup in the Exclude list. For details on various exclude options, see Creating Exclude List.
Tip If the number of files or directories you want to exclude from the backup exceeds the allowed length of 1024 characters, you can create a separate file that contains a list of selected sources as described in FAQ:How do I exclude or include a large number of files/folders for backup?
If you want to add a comment, enter it in the Notes field.
- Depending on your operating system (Windows, Linux or Unix), you might need to set the following options: All systems:
|If the number of files or directories to be included for backup exceeds the allowed length of 1024 characters for the task source, it is recommended to create a separate file that contains a list of selected files and directories to be backed up.
For more details on the -f option, see SBC CLI: option -f (files).
- If the task needs to be excluded from the backup for technical or other reasons, you can deactivate it by checking the Execution off option. If this option is set, the backup of this task will not start until it is unlocked again even if it is scheduled for the backup. For details, see Disabling and Enabling Backup Task.
- When creating a regular Path backup, the option Backup with VSS is enabled by default. It is possible to exclude a specific VSS writer from backup or disable VSS; for details, see SEP sesam Volume Shadow Copy Service (VSS).
- You can enable the Backup with LVM option, if you want to perform consistent backups of open files on Linux by using Logical Volume Manager (LVM). For details, see SEP sesam Logical Volume Manager (LVM) for Linux.
- You can use the Save data mounted by NFS option to follow and save mount points, which reside on another host system by NFS.
- As of SEP sesam v. 5.0.0 Jaglion, you can set that deleted or modified files are not reported as errors by selecting the last check box.
- You can enable the Descend directories on other file systems option to access onther partitions, which are mounted to the file system by symbolic links.
- If you have created a separate file to exceed the allowed length of 1024 characters for the task source, enter the <list_source> file with a -f switch in the Backup options field. For details, see Using - f (files) option.
- If your backups on Linux encounter errors or warnings that are not relevant to the backup, use the following command to avoid such warnings:
Before taking this action, make sure that you are aware of the consequences; for details, see: Linux Client backup.
Enable pre or post scripts
You can enable the pre/post backup or restore commands. To use a configurable pre/post interface, you have to activate it first and create your own commands. For details, see Using Pre and Post Scripts.
|As of v. 5.0.0 Jaglion, additional tabs may be displayed depending on the task type of the selected client. For example, for Micro Focus OES or NetWare server backup, you have to specify the login data for the eDirectory and select the appropriate data mover. For more information on specific task types, see the relevant wiki articles under Extensions.|
Tasks by Clients – Creating a Schedule – Creating a Backup Event – Automating Backup Process – Creating Exclude List – Backup – Adding a Task to the Task Group – Disabling and Enabling Backup Task – Disabling and Enabling Task Group