Skip to content

Instantly share code, notes, and snippets.

View mzlumin's full-sized avatar
🏠
Working from home

mzlumin

🏠
Working from home
View GitHub Profile
ARCH = Linux-i386
OS = GNU/Linux
OS_MASTER_VENDOR = Debian
OS_MASTER_VERSION = 15.10
OS_MASTER_VENDOR_ARCH = Debian/i386
OS_MASTER_VENDOR_VERSION = Debian/15.10
OS_MASTER_VENDOR_VERSION_ARCH = Debian/15.10/i386
OS_VENDOR = Ubuntu
OS_VERSION = 15.10
OS_VENDOR_ARCH = Ubuntu/i386
root@Stark:/root# rear -vD savelayout
Relax-and-Recover 1.18-git201607251102 / 2016-07-25
Using log file: /var/log/rear/rear-Stark.log
Creating disk layout
root@Stark:/root# cat /var/lib/rear/layout/disklayout.conf
# Disk /dev/sda
# Format: disk <devname> <size(bytes)> <partition label type>
disk /dev/sda 2000398934016 msdos
# Partitions on /dev/sda
# Format: part <device> <partition size(bytes)> <partition start(bytes)> <partition type|name> <flags> /dev/<partition>
root@Stark:/root# cat /var/lib/rear/layout/diskrestore.sh
#!/bin/bash
# Script ./make_rear_diskrestore_script.sh produced this /var/lib/rear/layout/diskrestore.sh file
# It is meant as debugging aid - do not run it or edit it
# Gratien D'haese - gratien . dhaese @ gmail . com
# Copyright GPLv3
#
############################################################
#
echo "Script ./make_rear_diskrestore_script.sh produced /var/lib/rear/layout/diskrestore.sh file"
root@Stark:/root# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Celeron(R) CPU G1610T @ 2.30GHz
stepping : 9
microcode : 0x1c
cpu MHz : 2129.720
cache size : 2048 KB
rear> cat /var/log/
.gitignore lastlog rear/
rear> cat /var/log/rear/rear-Stark.log
2016-08-01 19:00:36 Relax-and-Recover 1.18 / Git
2016-08-01 19:00:36 Command line options: /bin/rear recover
2016-08-01 19:00:36 Using log file: /var/log/rear/rear-Stark.log
2016-08-01 19:00:36 Including /etc/rear/os.conf
2016-08-01 19:00:36 Including conf/Linux-i386.conf
2016-08-01 19:00:36 Including conf/GNU/Linux.conf
2016-08-01 19:00:36 Including conf/Ubuntu.conf
# Disk /dev/sda
# Format: disk <devname> <size(bytes)> <partition label type>
disk /dev/sda 2000398934016 msdos
# Partitions on /dev/sda
# Format: part <device> <partition size(bytes)> <partition start(bytes)> <partition type|name> <flags> /dev/<partition>
part /dev/sda 254803968 1048576 primary boot /dev/sda1
part /dev/sda 1024 256900096 primary none /dev/sda2
part /dev/sda 2000141942784 256901120 logical lvm /dev/sda5
lvmdev /dev/Stark-vg /dev/sda5 ImZ231-KcF7-vIyB-5eB8-raak-HmG6-oKvx7t 3906527232
lvmgrp /dev/Stark-vg 4096 476870 1953259520
#!/bin/bash
LogPrint "Start system layout restoration."
mkdir -p /mnt/local
if create_component "vgchange" "rear" ; then
lvm vgchange -a n >&8
component_created "vgchange" "rear"
fi
RESCUE Stark:~ # rear recover
Relax-and-Recover 1.18 / Git
Using log file: /var/log/rear/rear-Stark.log
Updating recovery system with the content from 'http://192.168.0.13/Stark.rear_config.tar.gz':
/ ~
Stark.rear_config/
Stark.rear_config/etc/
Stark.rear_config/etc/rear/
Stark.rear_config/etc/rear/local.conf
Stark.rear_config/var/
@mzlumin
mzlumin / tsc-tracker
Created November 16, 2016 13:41
tsc-tracker
Line 571: <input name = "c65" type = "checkbox" value = "1" /><a class = "catlink" href = "browse.php?cat=65&amp;showsearch=1">Android</a> (37) </td>
Line 575: <input name = "c83" type = "checkbox" value = "1" /><a class = "catlink" href = "browse.php?cat=83&amp;showsearch=1">iOS</a> (0) </td>
Line 579: <input name = "c107" type = "checkbox" value = "1" /><a class = "catlink" href = "browse.php?cat=107&amp;showsearch=1">Linux</a> (15) </td>
Line 583: <input name = "c48" type = "checkbox" value = "1" /><a class = "catlink" href = "browse.php?cat=48&amp;showsearch=1">MAC</a> (19) </td>
Line 587: <input name = "c109" type = "checkbox" value = "1" /><a class = "catlink" href = "browse.php?cat=109&amp;showsearch=1">Sonstige</a> (17) </td>
Line 591: <input name = "c22" type = "checkbox" value = "1" /><a class = "catlink" href = "browse.php?cat=22&amp;showsearch=1">Win</a> (822) </td>
Line 605: <input name = "c24" type = "checkbox" value = "1" /><a class = "catlink" href = "br
@mzlumin
mzlumin / eot
Created November 16, 2016 13:46
eot
<table>
<tr>
<td align="center">[Filme] => SD XviD<br />
<input type="checkbox" name="subs[]" value="14" /></td>
<td align="center">[Filme] => SD x264<br />
<input type="checkbox" name="subs[]" value="15" /></td>
<td align="center">[Filme] => HD<br />
<input type="checkbox" name="subs[]" value="16" /></td>
<td align="center">[Filme] => UHD<br />
<input type="checkbox" name="subs[]" value="68" /></td>