Source:SEP sesam Logical Volume Manager (LVM) for Linux/de: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;" | {|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;" | ||
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP_next.png|45px|link=Special:MyLanguage/Standard_Backup_Procedure|Standard Backup Procedure]] | | rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP_next.png|45px|link=Special:MyLanguage/Standard_Backup_Procedure|Standard Backup Procedure]] | ||
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | | | style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | Siehe auch: [[Special:MyLanguage/Standard_Backup_Procedure|Standard-Sicherungsverfahren]] – [[Special:MyLanguage/4_4_3_Beefalo:Advanced_Backup_and_Restore_Options#Linux_client|Erweiterte Sicherungs- und Rücksicherungsoptionen: Linux Client Sicherung]] | ||
Siehe auch: [[Special:MyLanguage/Standard_Backup_Procedure|Standard-Sicherungsverfahren]] | |||
|} | |} | ||
Revision as of 14:30, 10 June 2021
Übersicht
SEP sesam uses logical volume manager (LVM) snapshots to perform consistent backups of open files on Linux distributions. LVM snapshots enable backing up a frozen copy of the file system without taking the "live" volume offline during the backup.
A snapshot volume is a special type of volume that temporarily preserves the original data at some point in time and represents an exact copy of a logical volume (LV). It is created as a new logical volume in the same volume group as the original LV. LVM snapshots work only with partitions created with LVM (see prerequisites).
When SEP sesam backs up the LVM snapshot, the data is stored in a saveset using the original pathname.
Prerequisites
To use LVM snapshots for SEP sesam backup, make sure that the following conditions are met depending on the SEP sesam version:
- Installed and configured SEP sesam Server and SEP sesam Linux Client with a partition configured for LVM.
- LVM partition must be added to a volume group (VG) with sufficient free space available for an LVM snapshot.
- SEP sesam ≥ 5.0.0 Jaglion: one or multiple data sources can be selected. Multiple data sources can be:
- different directories on the same LVM partition
- different directories on different LVM partitions on the same volume group (VG)
- different directories on different LVM partitions on different volume groups (VGs)
- SEP sesam ≤ 4.4.3.84 Beefalo V2: data to be backed up with one backup task must be on the same partition. If you want to back up data from more than one partition, you need to set up a backup task for each partition.
Activating LVM backup
For general information on backup configuration and prerequisites, see Standard Backup Procedure. This section covers only LVM-related specifics when configuring a backup task.
-
In the Main Selection -> Tasks -> By Clients, select your Linux client then click New Backup Task. The New Backup Task window appears. You can create a new backup task or modify an existing one. To specify the Source, click the browse button. Note that the selected data must reside on the same partition. Selecting the source automatically sets the task type and task name.
Select Backup with LVM option. - Switch to the Options tab. You can set the following options in the Backup options (previously Save options) field:
- snapsize=<size>, where <size> can be specified as:
- 2GB
- 10%VG
- 20%ORIGIN; The default snapshot size is 10% of the saved LVM size (10%ORIGIN).
- All other options of the -a switch are added to lv_create call as long option: -a ignoremonitoring -> lvcreate -s -l 10%ORIGIN -n Sesam_ssid --ignoremonitoring "/dev/sesam/sesam"
Anmerkung | |
The backup will fail if the source path is not on an LVM volume or if VG has no free space. |
Anmerkung | |
It is not recommended to use the snapsize option for thin-provisioned volumes as this slows down backup performance. Thus, as of SEP sesam ≥ 5.0.0 Jaglion, this option has no effect on source LVM volumes that are thin-provisioned. |
See Linux man page man lvcreate options -L and -l for supported values.