#1761 Issue closed
: USB as OUTPUT and do the BACKUPS to CIFS¶
Labels: support / question
, fixed / solved / done
kalvarez56 opened issue at 2018-03-22 17:10:¶
Relax-and-Recover (ReaR) Issue Template¶
Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):
-
rear version (/usr/sbin/rear -V):
rear -V
Relax-and-Recover 2.3 / 2017-12-20 -
OS version (cat /etc/rear/os.conf or lsb_release -a):
cat /etc/rear/os.conf
OS_VENDOR=RedHatEnterpriseServer
OS_VERSION=7 -
rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
OUTPUT=USB
USB_DEVICE=/dev/sdb1
BACKUP=NETFS
#BACKUP_TYPE=incremental
BACKUP_PROG=tar
#FULLBACKUPDAY="Mon"
BACKUP_URL="cifs://ATI-DS/REAR2"
BACKUP_PROG_COMPRESS_OPTIONS="--gzip"
BACKUP_PROG_COMPRESS_SUFFIX=".gz"
BACKUP_PROG_EXCLUDE=( '/tmp/' '/dev/shm/' '/home/rear' )
BACKUP_PROG_ARCHIVE="$( date '+%Y-%m-%d-%H%M' )-F"
#BACKUP_OPTIONS="auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800"
BACKUP_OPTIONS="cred=/etc/rear/.cifs"
TMPDIR=/home/rear
#USE_STATIC_NETWORKING=yes
USE_DHCLIENT=yes -
Are you using legacy BIOS or UEFI boot?
BIOS -
Brief description of the issue:
I have servers with a USB attached to all of them fulltime, I want to make the rescue media on the USB and do backups to a NETFS cifs
so when I makrescue it tries to mount the cifs as the output -
Work-around, if any:
Dont know
gozora commented at 2018-03-22 17:58:¶
Hi,
Try to add OUTPUT_OPTIONS="rw"
to your local.conf
If it does not help, attach relevant log file from rear mkbackup
session to this issue.
Be aware, that USB_DEVICE device can't be mounted during
rear mkbackup/mkrescue
.run time.
V.
kalvarez56 commented at 2018-03-22 18:17:¶
That worked, the mkrescue no longer tried to mount the BACKUP_URL cifs
[Export of Github issue for rear/rear.]