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?
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
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.