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

OUTPUT=ISO, BACKUP=NETFS, OUTPUT/BACKUP_URL=rsync:// does not copy the backup.tar.gz to the remote location? #899

Closed
eltonyuy opened this issue Jun 30, 2016 · 4 comments
Assignees
Labels
enhancement Adaptions and new features needs sponsorship This issue will not get solved on a voluntary base by ReaR upstream.
Milestone

Comments

@eltonyuy
Copy link

eltonyuy commented Jun 30, 2016

Relax-and-Recover (rear) Issue Template

Please fill in the following items before submitting a new issue:

  • rear version (/usr/sbin/rear -V): 17.2 and 18
  • OS version (cat /etc/rear/os.conf or lsb_release -a):
    OS_VENDOR=RedHatEnterpriseServer
    OS_VERSION=6
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
    OUTPUT=ISO
    BACKUP=NETFS
    BACKUP_URL=rsync://10.x.x.x/exports
    OUTPUT_URL=rsync://10.x.x.x./exports
  • Brief description of the issue

I'm trying to do a backup with ouput format NETFS and ISO, over rsync and have what I thing are two issues

  1. The backup.tar.gz does not get copied to the remote location. Is that ok? Only the .iso file is. What I have in mind is that after I boot from the .iso, it'll go to the specified rsync server and get the backup.tar.gz from there. Is that working as designed or it should copy to the remote location? How does the recover part works if the file does not gets copied? Do we have to do that copying on our own?

  2. Is there a way to specify a user/password or a remote user other than root with ssh key authentication for the rsync? We want to have a central rsync server to where we are going to generate all backups and from where we are going to pull all the images to an external site, but we can't give "root" access to every server involved in the backup to the central rsync server.

  • Work-around, if any

I changed one line in a script to copy the file to the remote location, but not sure if that'll make rear recover the backup.tar.gz from there, we haven't tried that.

@eltonyuy eltonyuy changed the title OUTPUT=ISO, BACKUP=NETFS, OUTPUT/BACKUP_URL=rsync:// dot not copy the backup.tar.gz to the remote location? OUTPUT=ISO, BACKUP=NETFS, OUTPUT/BACKUP_URL=rsync:// does not copy the backup.tar.gz to the remote location? Jun 30, 2016
@gdha gdha self-assigned this Jul 4, 2016
@gdha
Copy link
Member

gdha commented Jul 4, 2016

@eltonyuy The BACKUP_URL=rsync://10.x.x.x/exports was never implemented in rear, because we have the BACKUP=RSYNC method. I am not planning to implement this scheme unless it is sponsored, or somebody does it in my behalf.

@jsmeix
Copy link
Member

jsmeix commented Jul 4, 2016

Regarding "BACKUP_URL=rsync://..." not implemented:

In current rear master I have implemeted a test for
currently known valid BACKUP_URL schemes,
see #842

With current rear master I get:

# grep -v '^#' /etc/rear/local.conf
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL=rsync://10.160.4.244/nfs
...
# /usr/sbin/rear mkbackup
ERROR: Invalid scheme 'rsync' in
BACKUP_URL 'rsync://10.160.4.244/nfs'
valid schemes: nfs cifs usb tape file iso sshfs ftpfs
Aborting due to an error,
check /root/rear/var/log/rear/rear-e229.log for details
Terminated

But I did not do any test for OUTPUT_URL.

@jsmeix jsmeix self-assigned this Jul 4, 2016
@jsmeix jsmeix added needs sponsorship This issue will not get solved on a voluntary base by ReaR upstream. and removed support / question labels Jul 4, 2016
@jsmeix jsmeix added this to the Rear future milestone Jul 4, 2016
@jsmeix jsmeix added the enhancement Adaptions and new features label Jul 4, 2016
@gdha
Copy link
Member

gdha commented Jul 4, 2016

@jsmeix Thanks for the test.

@jsmeix
Copy link
Member

jsmeix commented Jul 4, 2016

I think this issue can be closed as an
"enhancement" that is "looking for sponsorship".

@eltonyuy
FYI regarding why such issues get closed,
see #603 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adaptions and new features needs sponsorship This issue will not get solved on a voluntary base by ReaR upstream.
Projects
None yet
Development

No branches or pull requests

3 participants