[rear-users] tmp folder

ismet.sener at gmail.com ismet.sener at gmail.com
Fri Apr 24 13:58:51 CEST 2020


Hi,

I have a  installed centos 7 on a usb-stick  (32gb)
On this production environment  I have mounted 2 disk    as software raid1
->     /dev/md0  mounted to /raid1

Now I make a rear backup of the centos system (excluding /raid1    and  /mnt
etc)         The location of the backup is   /raid1

But when I recover, the system cannot find the backup location to recover
(cannot find backup.tar.gz)

What steps I have to take?

my conf file looks like 
*******************************************
OUTPUT=ISO
OUTPUT_URL=file:///raid1/rear-backup/
BACKUP=NETFS
BACKUP_URL=file:///raid1/rear-backup/
EXCLUDE_BACKUP=('/media' '/raid1' '/mnt'    '/var/tmp' '/var/crash')
NETFS_KEEP_OLD_BACKUP_COPY=yes
**************************************


With kind regards,
Ismet




-----Oorspronkelijk bericht-----
Van: rear-users-bounces at lists.relax-and-recover.org
<rear-users-bounces at lists.relax-and-recover.org> Namens Johannes Meixner
Verzonden: dinsdag 7 april 2020 16:19
Aan: Relax-and-Recover users list <rear-users at lists.relax-and-recover.org>
Onderwerp: Re: [rear-users] tmp folder


Hello,

On Mar 18 08:03 Sebastian Gï¿œdecke wrote (excerpt):
>
> My USB-HDD is about 3TB so it could store all, the rescue and the 
> backup.

On Mar 23 11:05 Sebastian Gödecke wrote (excerpt):
>
> ... config ... :
>
> OUTPUT=ISO
> OUTPUT_URL=usb:///dev/disk/by-label/REAR-000
> BACKUP=NETFS
> BACKUP_URL=iso:///dev/disk/by-label/REAR-000

according to the first excerpt it seems you like to do a usual "ReaR plus
backup on USB disk" setup with OUTPUT=USB that create a bootable USB disk
plus
BACKUP_URL=usb:///dev/disk/by-path/REAR-000
to backup to USB storage device.

This is described in "man rear" at
https://github.com/rear/rear/blob/master/doc/rear.8.adoc
and in "Getting Started ... quick start guide" at
http://relax-and-recover.org/documentation/getting-started
that shows in particular this etc/rear/local.conf OUTPUT=USB BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000

If you like to do a usual "ReaR plus backup on USB disk" setup why don't you
do it as usual as described there?

But according to the second excerpt it seems you like to do something
unusually special.
If yes what do you want to achieve with your etc/rear/local.conf in the
second excerpt?
I.e. what is the reasoning behind why you need your special setup?

In general regarding "ReaR on USB disk" see
https://github.com/rear/rear/issues/1854

A side note regarding OUTPUT=USB plus OUTPUT_URL=... see
https://github.com/rear/rear/issues/1738
and regarding some other OUTPUT=USB limitations see
https://github.com/rear/rear/issues/2171
in particular see my other "side note" therein and follow the links in that
other "side note".


Kind Regards
Johannes Meixner
--
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5 - 90409 Nuernberg - Germany (HRB 36809, AG Nuernberg) GF:
Felix Imendoerffer



More information about the rear-users mailing list