[rear-users] backup up to a local file

Gratien D'haese gratien.dhaese at it3.be
Thu Jan 15 08:48:22 CET 2015


 On Wed, 14 Jan 2015 06:19:16 -0700, JB <general at itpsg.com> wrote:
> I'm successfully using rear for USB backup and it's working really
> well!  I'm super happy with it.  So far it's simpler to setup and get
> working then Mondo which I'm coming from since it still has major
> issues on Fedora 20 and rear seems to be really distribution agnostic
> which is excellent, so thank you so much for the great software.
>
> However, I'm having problems making a backup of my system and storing
> it to a local file.  I need the backup to be manged as an ISO file 
> and
> it will not necessarily always be written to DVD, but it might.  I
> keep getting this error:
>

 The following will create one big ISO image including the backup:

 ## ISO backup included
 OUTPUT=ISO
 BACKUP=NETFS
 BACKUP_URL=iso://backup
 OUTPUT_URL=nfs://lnx01/linux_images_dr/rear
 ISO_MAX_SIZE=4400
 #TMPDIR=/mnt2/tmp
 #ISO_MAX_SIZE=10000
 ###ISO_MAX_SIZE=650
 BACKUP_PROG_EXCLUDE=( ${BACKUP_PROG_EXCLUDE[@]} '/var/lib/kvm/images/*' 
 )
 COPY_AS_IS_EXCLUDE=( ${COPY_AS_IS_EXCLUDE[@]} '/var/lib/kvm/images/*'  
 )

 regards,
 Gratien

> Relax-and-Recover 1.16.1 / Git
> Using log file: /var/log/rear/rear-localhost.log
> ERROR: Making backup on / is forbidden. Use an external device!
> Aborting due to an error, check /var/log/rear/rear-localhost.log for 
> details
> Terminated
>
> Here is my /etc/rear/local.conf file:
> OUTPUT=ISO
> BACKUP=NETFS
> BACKUP_URL=file:///home/testuser/backups/rear-localhost.iso
> CDROM_SIZE=4482
> ISO_DIR=/home/testuser/backups/
> BACKUP_PROG_EXCLUDE=( "${BACKUP_PROG_EXCLUDE[@]}" '/backup'
> '/home/testuser/backups/' '/sys' '/root/.ssh/known_hosts'
> '/root/.ssh/known_hosts2' '/root/.ccache' '/home/testuser/.ccache'
> '/home/testuser/.ssh/known_hosts' '/home/testuser/.ssh/known_hosts2'
> '/dev' '/selinux' '/var/cache/ccache' 'var/cache/yum' 
> '/usr/local/src'
> '/usr/share/doc' '/var/log/messages' '/var/log/maillog'
> '/var/log/Xorg.0.log' '/var/log/Xorg.0.log.old' '/var/log/secure'
> '/usr/src/kernels' '/sys' '/dev' '/proc' )
>
> What am I doing wrong here?



More information about the rear-users mailing list