-
-
Notifications
You must be signed in to change notification settings - Fork 264
Still output in /var/lib/rear when using BACKUP=TSM #634
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
Comments
could you run |
Sure, no problem. Unfortunately I'm not seeing any option to upload the logfile, therefore I put it here: [@machine ~]# find / -iname "*.iso" -exec rm {} \;
[@machine ~]# /usr/sbin/rear -vD mkrescue
Relax-and-Recover 1.17.1 / Git
Using log file: /var/log/rear/rear-machine.log
Creating disk layout
Creating root filesystem layout
Copying files and directories
Copying binaries and libraries
Copying kernel modules
Creating initramfs
Making ISO image
Wrote ISO image: /var/lib/rear/output/rear-machine.iso (201M)
Saving result files with TSM
[@machine ~]# find / -iname "*.iso"
/opt/tivoli/tsm/rear/rear-machine.iso
/var/lib/rear/output/rear-machine.iso
[@machine ~]# |
@eholtz thank you for the log. Apparently the |
@eholtz if you define |
@eholtz One last remark: by defining |
@gdha Thank you for your replies. The TSM-Backup is scheduled elsewhere, so as long as I have one copy left the iso will be saved once a day to the server. I don't want to upload it directly to TSM after the cronjob, because I would produce a heavy load on the server when multiple VMs are starting their jobs at the same time. |
@gdha I tried using
But I'm still left with two iso files:
Apparently the iso gets only removed when it has been uploaded to TSM (which I believe is kind of useful for standard environments) |
@eholtz Is your question answered? The OUTPUT_URL is only honored with BACKUP=NETFS scheme. If you would like it different then I would prefer another issue - to keep 2 discussions apart. |
@gdha Thanks for your reply. I do understand that OUTPUT_URL is only honored with BACKUP=NETFS scheme. The documentation should be updated to reflect that, maybe I'm not the only one who misunderstood that. |
@gdha grepping through our code makes me think that the actual challange is that there is no single tool to handle all types of OUTPUT_URL which means that we need lots of code to handle the different types of URLs. Another questions: Why do we need OUTPUT_URL=null if the default of OUTPUT_URL is empty? So far most ReaR variables can be set to empty or unset to disable a feature. |
@schlomo Sorry for the delay - if OUTPUT_URL is empty it will get the same value as BACKUP_URL (which is mandatory) and it makes sense as you want your iso image saved (most likely on the same location as the tar archive) |
Re-open this issue when we found a sponsor to implement this missing feature |
The solution is described in issue #802 |
Hi,
I updated to rear-1.17.1 and read about the OUTPUT_URL=null option. I thought that would work out great for me and activated it, but I still see two disk images in my environment.
I have default config files for local.conf and os.conf and:
The text was updated successfully, but these errors were encountered: