The SEP sesam backup is a process in which file system and/or application data from SEP sesam clients are copied and stored to backup media. The backup procedure described below applies to creating filesystem backups. For applications, databases and virtualisation-specific data, the backup procedure might involve additional tasks or include other options. As special methods are used to back up such data, make sure to use the backup procedure specific to the data you want to back up.
- Each client system that you want to back up requires SEP sesam Client software to be installed. Note that the SEP sesam Server is always also a SEP sesam Client. For details on installation, see SEP sesam Quick Install Guide.
- A client must be added to your backup environment.
- Storage hardware must be configured and media must be prepared.
- You must have admin user rights for performing a backup.
A standard backup procedure involves the following steps:
- Creating a backup task by selecting the data to be backed up
- Creating a backup schedule by specifying when you want to back up your data
- Creating a backup event by selecting where to back up your data to and how
Step 1: 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.|
Step 2: Creating a schedule
SEP sesam schedules represent a framework for automating task execution. Different events, such as backup, migration, replication, restore, etc., can be linked to a schedule and configured to occur at a specified time.
A schedule defines the recurrence of an event and may be executed in minutes, hours, days, months or years. It can be set up to start periodically or to be executed only once. A schedule can be used for any number of events and the events of a particular task (backup, restore, migration, etc.) can be configured in several schedules. All schedules and related jobs are configured and run in the SEP sesam Server's time zone.
Schedules always contain one predefined task: a NEWDAY schedule, which is linked to a NEWDAY event. SEP sesam uses the NEWDAY event to reorder its database, enable uninterrupted activity of the SEP sesam processes and to define a new backup day. Do not deactivate a NEWDAY event or delete a NEWDAY schedule, because this will cause SEP sesam to stop working properly! For details, see NEWDAY event.
SEP sesam provides flexible scheduling features to customize how and when your events are processed. By using the User defined option, you can create a calendar that is customized according to your country- or company-specific requirements. For details, see Creating a Custom Calendar.
To create a schedule, proceed as follows:
- From Main Selection -> Scheduling -> Schedules, click New schedule. The New Schedule window appears.
- In the Name field, enter the name for the schedule.
- By default, the Execution is already enabled. Use this option to disable the schedule. If you select the Execution off option (previously deselect the Execution option), all events that are linked to this schedule will be deactivated. The schedule will still be displayed as shaded in the list of schedules, but the related jobs will not run. You can deactivate a schedule if you want to exclude scheduled jobs to run on specific days, such as holidays. For more details, see Creating a Custom Calendar.
- Specify the time range and start time for the schedule in the Start field. Click the arrows in the date field to display a calendar. By default, the current date is already entered. In the next field, specify the start time, e.g., 18.30. All events related to this schedule will be started at the time defined by this parameter. Keep in mind that the actual start time depends on the processor load of the system. At the starting time of the event, every event is forwarded to the queue, where it may have to wait until jobs with higher priorities are completed. For jobs with the same priority, the FIFO rule (first in, first out) applies.
- If you want your schedule to be valid for a limited period of time only, e.g., until the end of the year, check the Expiration date option and enter the date of its suspension. The schedule will be deleted after the Expiration date criterion is met. By default, this option is disabled and the schedule will be repeated in perpetuity.
- The table provides a selection of different time parameters to configure the time intervals for scheduled jobs. Jobs can occur once or recur daily, weekly, monthly, or yearly. You can also use User defined option to create a custom calendar that is customized according to your needs.
For example, you can schedule a full backup to take place every Friday at 20:00. From the tabs on the left, select one of the following:
- Once – no repetition, single run (After execution the schedule is deleted!)
- Daily – repetition in days, hours or minutes
- Weekly – repetition in weeks or weekdays
- Monthly – repetition on absolute or relative dates: 1st/2nd... or Mon/Tue...
- Yearly – repetition on absolute or relative dates
- User Defined – option for setting up a custom calendar, see Creating a Custom Calendar.
- Under Advanced settings you can further refine your schedule.
- Optionally, select the Start time frame check box if you want to define the maximum allowed startup time for your event. Specify the startup time in days and/or hours. If the event cannot be executed within this specified time frame, it will not be executed at all. If this option is not enabled, the allowed start time of the task is not limited and a job can be started at any time when the resource is available.
- You can also specify a time frame for repeating the event. Select the Repeat task check box and choose how often (in hours and minutes) the task should be repeated. Use the For a duration of field if you want to specify the duration of the repeated event (days and/or hours).
- Optionally, you can specify the time frame after which the scheduled event will be cancelled by selecting the Stop task if runs longer than check box and specifying the amount of time (in days and/or hours) following the event's scheduled start time after which the event will be cancelled.
- Click OK to save the schedule.
Step 3: Creating a backup event
|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.|
If you have problems with backup, check the Troubleshooting Guide.