Skip to content

Use proxmox-backup-client to store snapshots of LVM2 logical volumes.

License

Notifications You must be signed in to change notification settings

michabbs/lvm2pbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

LVM backup made easy

This wrapper script creates temporary snapshot of a logical volume, sends it to Proxmox Backup Server and finally destroys the snapshot. The content of lv might be stored as raw image [1] or as filessytem archive [2]. In 2nd case the snapshot is automatically mounted before backup and unmounted after.

This script should be run as root (or via sudo, or possibly via sudo -E).

USAGE:

[1]   lvm2pbs archivename.img  my_vg/lv_name
[2]   lvm2pbs archivename.pxar my_vg/lv_name [fstype]

See configuration variables inside the script.

EXAMPLE:

lvm2pbs my-rootfs.pxar pve1/root ext4

About

Use proxmox-backup-client to store snapshots of LVM2 logical volumes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages