Skip to content

Instantly share code, notes, and snippets.

View pramodbiradar89's full-sized avatar

pramodbiradar89

View GitHub Profile
@pramodbiradar89
pramodbiradar89 / log_mkrescue.log
Created October 10, 2014 06:29
/usr/sbin/rear -v -D mkrescu
This file has been truncated, but you can view the full file.
2014-10-10 07:44:15 Relax-and-Recover 1.16.1 / Git
2014-10-10 07:44:15 Command line options: /usr/sbin/rear -v -D mkrescue
2014-10-10 07:44:15 Using log file: /var/log/rear/rear-debian.log
2014-10-10 07:44:15 Including conf/Linux-i386.conf
+ . /usr/share/rear/conf/Linux-i386.conf
++ REQUIRED_PROGS=("${REQUIRED_PROGS[@]}" parted sfdisk)
++ PROGS=("${PROGS[@]}" grub partprobe lilo fdisk cfdisk)
+ test 1
+ set +x
2014-10-10 07:44:15 Including conf/GNU/Linux.conf
@pramodbiradar89
pramodbiradar89 / log_enabling_debug_level
Created October 8, 2014 06:33
log_with _enabling_debug_level
2014-10-08 17:19:07.766729338 Relax-and-Recover 1.16.1-git201409051031 / 2014-09-05
2014-10-08 17:19:07.768987710 Command line options: /usr/sbin/rear -v -d mkbackup
2014-10-08 17:19:07.771123144 Using log file: /var/log/rear/rear-debian6bnglre.log
2014-10-08 17:19:07.774204312 Combining configuration files
2014-10-08 17:19:07.776400826 Skipping /etc/rear/os.conf (file not found or empty)
2014-10-08 17:19:07.778669866 Skipping /etc/rear/mkbackup.conf (file not found or empty)
2014-10-08 17:19:07.856003780 Including conf/Linux-i386.conf
2014-10-08 17:19:07.857243942 Including conf/GNU/Linux.conf
2014-10-08 17:19:07.862158746 Skipping /usr/share/rear/conf/Debian.conf (file not found or empty)
2014-10-08 17:19:07.863246826 Skipping /usr/share/rear/conf/Debian/i386.conf (file not found or empty)
@pramodbiradar89
pramodbiradar89 / log
Created October 8, 2014 06:11
log_file
2014-10-08 16:41:16 Relax-and-Recover 1.16.1-git201409051031 / 2014-09-05
2014-10-08 16:41:16 Command line options: /usr/sbin/rear -v mkbackup
2014-10-08 16:41:16 Using log file: /var/log/rear/rear-debian6bnglre.log
2014-10-08 16:41:16 Including conf/Linux-i386.conf
2014-10-08 16:41:16 Including conf/GNU/Linux.conf
2014-10-08 16:41:16 Including /etc/rear/local.conf
2014-10-08 16:41:16 Using build area '/tmp/rear.gR4iS8dMlTUbCvi'
mkdir: created directory `/tmp/rear.gR4iS8dMlTUbCvi/rootfs'
mkdir: created directory `/tmp/rear.gR4iS8dMlTUbCvi/tmp'
2014-10-08 16:41:16 Running mkbackup workflow
@pramodbiradar89
pramodbiradar89 / global-functions.sh
Created October 1, 2014 05:22
global-functions.sh
# global-functions.sh
#
# global functions for Relax-and-Recover
#
# Relax-and-Recover is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# Relax-and-Recover is distributed in the hope that it will be useful,
@pramodbiradar89
pramodbiradar89 / log-file
Created September 25, 2014 11:23
/var/log/rear/log-file
2014-09-25 15:19:16.155733996 Relax-and-Recover 1.16.1 / Git
2014-09-25 15:19:16.157815486 Command line options: /bin/rear recover -d
2014-09-25 15:19:16.159735600 Using log file: /var/log/rear/rear-dellRHELqa2.log
2014-09-25 15:19:16.163255637 Combining configuration files
2014-09-25 15:19:16.165313927 Including /etc/rear/os.conf
2014-09-25 15:19:16.167403172 Skipping /etc/rear/recover.conf (file not found or empty)
2014-09-25 15:19:16.169795719 Including conf/Linux-i386.conf
2014-09-25 15:19:16.172284901 Including conf/GNU/Linux.conf
2014-09-25 15:19:16.176603210 Skipping /usr/share/rear/conf/Fedora.conf (file not found or empty)
2014-09-25 15:19:16.178635193 Skipping /usr/share/rear/conf/Fedora/i386.conf (file not found or empty)
@pramodbiradar89
pramodbiradar89 / global-functions.sh
Created September 22, 2014 08:09
usr/share/rear/lib/global-functions.sh
# global-functions.sh
#
# global functions for Relax-and-Recover
#
# Relax-and-Recover is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# Relax-and-Recover is distributed in the hope that it will be useful,
@pramodbiradar89
pramodbiradar89 / 11_include_lvm_code.sh
Created September 21, 2014 16:11
/usr/share/rear/layout/prepare/GNU/Linux/11_include_lvm_code.sh
# Code to recreate an LVM configuration.
# The input to the code creation functions is a file descriptor to one line
# of the layout description.
if ! has_binary lvm; then
return
fi
# Test for features in lvm.
# Versions higher than 2.02.73 need --norestorefile if no UUID/restorefile.
# Run the actual script
RESTORE_OK=
while [[ -z "$RESTORE_OK" ]]; do
(
. $LAYOUT_CODE
)
if (( $? == 0 )); then
RESTORE_OK=y
2014-09-19 12:05:25 Relax-and-Recover 1.16.1 / Git
2014-09-19 12:05:25 Command line options: /bin/rear recover -D
2014-09-19 12:05:25 Using log file: /var/log/rear/rear-RHEl6.log
2014-09-19 12:05:25 Including /etc/rear/os.conf
+ . /etc/rear/os.conf
++ OS_VENDOR=RedHatEnterpriseServer
++ OS_VERSION=6
++ ARCH=Linux-i386
++ OS=GNU/Linux
++ OS_VERSION=6