Skip to content

activate lvm volume and rescript-lvm-discovery.pl #2

@TheSkyHeart

Description

@TheSkyHeart

Hi Sebastian,

just wanted to check if you are still maintaining the script, I have been looking for something like for a while and found your script with restic, I have a lot of lvm volumes that I have to backup on weekly basis.

I got this script and install all the requirements, started a backup for one of the volumes with this command:

# lvm-rescript OnappBackup block-level-backup a4q5ic7ktp5emr

that volume is 56GB and the script created only a 10GB snapshot for i'm not sure if that snapshot is only for the used data but I did change the LVM_SNAPSHOT_BUFFER= to 60GB just to be safe.

then I got this error:

dd: opening `/dev/onapp-en7y49535pr791/a4q5ic7ktp5emr_snapshot': No such file or directory

I think this is because the volume it self is not Active on the backup server? so I guess we have to active the snapshot volume before starting the backup.

I also tried running a file-level-backup but got the error:
mount: you must specify the filesystem type

so I would really be grateful if I can get some help updating the script or getting more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions