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
How to recover serverafter rear backup is moved to a different location #990
Comments
Just edit the |
I think I did not clarified issue properly. Server is behind firewall. NFS will not work. So, I have intentionally used BACKUP_URL=file:/// option in local.conf. Now, I have rear generated on local FS, and I have copied it on a jumphost for this firewalled server. If I boot the server with rear-server.iso file generated with rear mkbackup, It tries to recover from BACKUP_URL=file:///localdirectorypath, which it cannot access at time of recovery. So, now how can modify this parameter (after rear is already generated and server is waiting to recovered), when I have changed the location of my rear backup. |
@dheeraj86mathur well guess you answered your own question. Just change the BACKUP_URL to the new location before starting |
That brings in my exact question, where can I modify BACKUP_URL to new location, because start rear -v recover ?? I cant modify local.conf now, as the server is already down. Even if i could modify local.conf, it will not update the existing rear backup and iso, which I have already generated. One option is to mount iso file in rw mode and then modify BACKUP_URL value in isolinux.cfg .... But will it work, I havent tried this yet and want to know if that is correct method .. |
@dheeraj86mathur The complete rear environment is still available in the rescue image. Just edit |
As far as I understand it the issue is sufficiently answered |
Relax-and-Recover (rear) Issue Template
Please fill in the following items before submitting a new issue:
OUTPUT=ISO
BACKUP=NETFS
BACKUP_URL="file:///var/rear"
OUTPUT_URL="file:///var/rear"
NETFS_KEEP_OLD_BACKUP_COPY=y
BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/mnt' '/media' '/var/crash')
I got rear generated on local FS /var/rear and then copied it to a NFS server manually, as the server is behind firewall. Now when I boot the server with rear iso recovery, how do I specify path for NFS share(new location of rear) when I am at relax-and-recover menu.
The text was updated successfully, but these errors were encountered: