Do not try to backup /dev/ram* partition tables.
This PR fixes a warning on recent Ubuntus:
Warning: The partition table for /dev/ram0 could not be saved.
Warning: The partition table for /dev/ram1 could not be saved.
…
You can read more about this https://askubuntu.com/questions/703576/fdisk-l-shows-16-ram-disks-dev-ram0-ram15
Thanks.
Merge request reports
Activity
@gsubiron, I suspect that !7 (merged) fixes this too. Can you please confirm?
assigned to @gsubiron
Hi @intrigeri
I finally take the time to deploy the upstream "sys" handler on my infrastructure. It mostly works, but on some servers (Ubuntu 14 for instance) it doesn't find any harddisk. When I run the new line manually :
$ lsblk --output NAME,TYPE --list --paths lsblk: unrecognized option '--paths'
It seems
--paths
is quite new : https://github.com/karelzak/util-linux/commit/c7e76cd145b0c40e1d346203f3222f5937146939assigned to @lavamind
added Bug Handler: sys labels
The
--paths
feature was added to util-linux over 5 years ago in version 2.23, and the current and previous stable/LTS versions of both Debian and Ubuntu have it, so I think it's a reasonable requirement for backupninja. Ubuntu 14 LTS is nearing EOL anyway, so I would simply advise to stick to backupninja <1.0.2
on this platform.