Source:Creating a Backup Task
Copyright © SEP AG 1999-2024. 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.
Overview
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.
Steps
- 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: On Windows:
- 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.
- Click the Options tab to define special backup or restore options and/or enable the pre/post backup or restore commands. Specify additional backup/restore options Under 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: -o ignore_finderr=<regex>|ALL Before taking this action, make sure that you are aware of the consequences; for details, see: Linux Client backup.
- Switch to the Encryption & Compression tab if you want to set encryption or compress data.
- In v. ≥ 4.4.3 Beefalo V2, click the OS Access tab and specify the credentials to access the resources on the target client. If you have already specified the credentials when configuring the client or its location, select an existing credential set from the drop-down list. Otherwise, click New and enter the credentials for the target client. Use other corresponding tabs to consolidate individual tasks under a specific task group or assign a task to the schedule.
- Click OK to create the task.
Note | |
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). |
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.
Tip | |
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. |
Tip | |
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. |