#501 PR merged: add OUTPUT_URL=null support

Labels: enhancement

tbsky opened issue at 2014-10-30 16:27:

the patch add support for "OUTPUT_URL=null" and fix my situation below. maybe there are other situations which user will want to set "null" OUTPUT_URL.

my /etc/rear/local.conf is setup like below base on the advice from email list:
BACKUP=NETFS
BACKUP_URL=iso://backup/
OUTPUT=ISO
OUTPUT_URL=nfs://10.1.1.1/share/nfs/

the archived file will first goto /tmp, then create iso to /var/lib/rear/output, and finally copy iso to nfs share. if the iso file is large, it will consume huge space at local server. so I tried to tune "ISO_DIR" to remote server.
then I don't need OUTPUT_URL anymore. but rear won't let me set it to blank, so I add 'null' method for it.

gdha commented at 2014-10-31 08:23:

Well done - that is why I like open source!


[Export of Github issue for rear/rear.]