Debian Trixie Image Backup

Hi all,

I am a complete beginner and have the following question: I have a Debian client and would like to create an image backup. Lvm is set up. I have already tried a few things, but unfortunately I keep getting the message “not supported”. What exactly do I need to set up to make it work?

Many thanks for your help

Image backups are not supported via LVM currently.

I think it would be easy to change the bash scripts to support this, but someone needs to do the work and testing.

Thank you very much for your comment.

Quick question: in which directory are the scripts located?

There is /usr/local/etc/urbackup/snapshot.cfg with contents like

#This is a key=value config file for determining the scripts/programs to create snapshots

create_filesystem_snapshot=/usr/local/share/urbackup/dm_create_snapshot
remove_filesystem_snapshot=/usr/local/share/urbackup/dm_remove_snapshot
create_volume_snapshot=/usr/local/share/urbackup/dm_create_snapshot
remove_volume_snapshot=/usr/local/share/urbackup/dm_remove_snapshot

The scripts are at the pointed at location.

The script needs to output

SNAPSHOT=/foo/bar

pointing at the created snapshot.

For image backups it also reads the backing device from the file $SNAPSHOT-dev (in this case /foo/bar-dev) – you don’t actually need to have the snapshot mounted – see recent changes to dm_create_volume_snapshot

Thank you for your comment. Unfortunately, there is no file named “snapshot.cfg”. What should I do?

Create it

I did that. Now I get this error: Backing up System Reserved (SYSVOL) partition failed. Image backup failed.

I don’t think I’ll pursue this any further.

Many thanks for your help

Okay, I tried it with LVM, DM and Btrfs, but unfortunately nothing works. I have Macrium on Windows and thought Urbackup would work the same way on Linux. I give up, it was a nice try.