Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

understanding OUTPUT, BACKUP_URL and OUTPUT_URL #169

Closed
snmdla opened this issue Oct 17, 2012 · 4 comments
Closed

understanding OUTPUT, BACKUP_URL and OUTPUT_URL #169

snmdla opened this issue Oct 17, 2012 · 4 comments

Comments

@snmdla
Copy link

snmdla commented Oct 17, 2012

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
Copy link
Member

schlomo commented Oct 17, 2012

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
Copy link
Author

snmdla commented Oct 17, 2012

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
Copy link
Member

schlomo commented Oct 17, 2012

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"

@ghost ghost assigned schlomo Nov 16, 2012
@ghost ghost assigned gdha Oct 28, 2013
@gdha
Copy link
Member

gdha commented Oct 28, 2013

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

@gdha gdha closed this as completed in 210da8e Oct 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants