Creating a Backup Task
Copyright © SEP AG 1999-2021. All rights reserved.
Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.
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.
- 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).
- 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:
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.
|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.
- 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.
Specify additional backup/restore optionsUnder the Additional call arguments part, you can specify special backup options in the Backup options field:
- 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.
|To prepare for a possible breakdown of the SEP sesam Server and disaster recovery, you have to perform a self-backup of the SEP sesam by configuring at least one backup task with the name SESAM_BACKUP. For more details, see Preparing for Disaster Recovery.|
|Optionally, you can assign individual tasks to a task group and then trigger the start of all tasks belonging to that group with a single event. For details, see Adding a Task to the Task Group.|