#169 Issue closed: understanding OUTPUT, BACKUP_URL and OUTPUT_URL

Labels: documentation, waiting for info, support / question

snmdla opened issue at 2012-10-17 09:58:

As http://relax-and-recover.org/documentation/ is still under construction, I have some difficulties understanding the variables OUTPUT, BACKUP_URL and OUTPUT_URL, even after looking at the comments in /usr/share/rear/conf/default.conf:

Say I want to create an emergency USB stick that allows me to recover to a bare metal system, and provide a backup of the OS essential partitions on a SAN disk, for space and performance considerations.

Would the following setting be appropriate, e.g.

OUTPUT=USB
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-id/usb-ADATA_USB_Flash_Drive_1090710000000089-part1
OUTPUT_URL=usb:///dev/disk/by-id/scsi-3600508b400054dda0000c000003b0000-part1

Thanks in advance, Tom

schlomo commented at 2012-10-17 10:02:

Hi,

I think you should exchange BACKUP_URL and OUTPUT_URL. OUTPUT_URL and
OUTPUT define where the bootable rescue media goes. BACKUP* defines where
the backup goes.

Regards,
Schlomo

snmdla commented at 2012-10-17 10:18:

Hm,

but actually my BACKUP_URL points to ADATA_USB_Flash_Drive, and my OUTPUT_URL points to a SAN disk.
The "USB" in OUTPUT=USB is appropriate, according to the following line from default.conf:

NOTE: "USB" means any local block-storage device and includes also eSATA and other external disks

Regards, Tom

schlomo commented at 2012-10-17 16:16:

OUTPUT_URL=san-device means that you want to boot off that san device for
recovery.

OUTPUT=USB means "make the block device named by OUTPUT_URL bootable with
the rescue media"

gdha commented at 2013-10-28 15:24:

The man page should be enhanced a bit to describe it a little better


[Export of Github issue for rear/rear.]