#106 Issue closed: ERROR: Making backup on / is forbidden. Use an external device!

Labels: bug

dagwieers opened issue at 2012-06-08 19:44:

When doing rear mkrescue using the following configuration:

OUTPUT=ISO
ISO_URL=file:///tmp/test.iso

BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/Pack

I get the following error:

[root@moria rear]# rear -v -D mkrescue
Relax and Recover 1.13.0 / $Date$
ERROR: Making backup on / is forbidden. Use an external device!
Aborting due to an error, check /tmp/rear-moria.log for details
Finished in 0 seconds
Terminated

This problem occurs in: prep/NETFS/default/40_automatic_exclude_recreate.sh

Even when using OUTPUT_URL it will fail with the above error. If I don't set ISO_URL or OUTPUT_URL I have another problem:

Relax and Recover 1.13.0 / $Date$
Creating disk layout
Creating root FS layout
Copy files and directories
Copy binaries and libraries
Copying kernel modules
Checking udev
Create initramfs
ERROR: Mount command 'mount -v -o rw,noatime /dev/disk/by-label/Pack /tmp/rear.Qhr4lUXqg9RK2aj/outputfs' failed.
Aborting due to an error, check /tmp/rear-moria.log for details
Finished in 23 seconds
Terminated

This problem occurs in: output/default/10_mount_output_path.sh

dagwieers commented at 2012-06-26 10:23:

Issue still exists:

[root@moria rear]# rear -v -D mkrescue
Relax-and-Recover 1.13.0-git201206261113 / 2012-06-26
Using log file: /var/log/rear/rear-moria.log
ERROR: Making backup on / is forbidden. Use an external device!
Aborting due to an error, check /var/log/rear/rear-moria.log for details
Terminated

[Export of Github issue for rear/rear.]