Recovery
windows, linux filesystem restore, recovery and rescue
backup
backuppc
logrotate
backup with logrotate: http://www.samag.com/documents/s=9364/sam0304b/0304b.htm
http://islandlinux.org/howto/automated-mysql-backups
##############################
#
#Name:logrotate_backup.conf
#
#Description:script designed to produce backups
#grandfather(monthly),father(weekly),son(daily)
#
#Author: Sean D. Conway
#
#Wed Aug 28 18:12:59 CDT 2002
#
#Revision:
#
#NOTE:
#replace the path to be backed up.
#don't remove "" good for files that have spaces.
#maintain the "." file extensions this will preserve the frequency
################################
# mods: DennyHalim.com
# let logrotate do the backup for you
#daily (son)
"/home/oracle/backup/database" {
daily
rotate 7
compress # comment this if your backup is already compressed
sharedscripts
prerotate
#call the script to create a (tar) backup of any folder you want to backup here
endscript
postrotate
#or, if backup is huge and could take very long, put it here to prepare for next backup
# you could even upload/rsync the backup to other places
endscript
}
#weekly (father)
"/home/oracle/backup/database.7.gz" {
weekly
rotate 4
}
#monthly (grandfather)
"/home/oracle/backup/database.7.gz.4" {
monthly
rotate 12
}
restore
mount dd image:
[cowgod@ubuntu ~]$ fdisk -u -l /mnt/storage/disk_image
You must set cylinders.
You can do this from the extra functions menu.
Disk /mnt/storage/disk_image: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x41172ba5
Device Boot Start End Blocks Id System
/mnt/storage/disk_image1 63 64259 32098+ de Dell Utility
/mnt/storage/disk_image2 * 64260 78108029 39021885 7 HPFS/NTFS
Partition 2 has different physical/logical endings:
phys=(1023, 254, 63) logical=(4861, 254, 63)
[cowgod@ubuntu ~]$ sudo mount -o loop,offset=32901120 -t auto /mnt/storage/disk_image /home/cowgod/Desktop/drive_image
take the start of the partition that you want to edit 64260 in this case and multiply it by 512 ie 512*64260=32901120
http://ubuntuforums.org/showthread.php?t=711773
mount clonezilla image
mount g4u image
http://www.mail-archive.com/g4u-help@feyrer.de/msg00032.html
recovery
testdisk,photorec,foremost,chntpw,scrounge-ntfs,bacula,mindi,gzrt,parchive,libpar2,scalpel, par2,dumputils,dd-rescue,mondorescue,grescue,magicrescue,e2retrieve, The Coroner's Toolkit (TCT), dumpe2fs,
links:
- http://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=all&keywords=restore+recovery+rescue
- http://memberwebs.com/stef/software/scrounge/
- http://crashrecovery.org/
- http://tldp.org/HOWTO/Linux-Complete-Backup-and-Recovery-HOWTO/
- http://www.bacula.org/
- http://www.yolinux.com/TUTORIALS/LinuxTutorialRecoveryAndBootDisk.html
- http://www.debianhelp.co.uk/tools.htm
- http://www.ibm.com/developerworks/linux/library/l-knopx.html
- http://www.itweek.co.uk/personal-computer-world/features/2184995/linux-disaster-recovery
- http://www.linux.com/feature/53888
- http://wiki.systemimager.org
- http://www.mondorescue.org/
- http://linuxappfinder.com/backupandrecovery
- http://www.linux.com/articles/45883
- http://lifehacker.com/software/disk-recovery/geek-to-live--rescue-files-with-a-boot-cd-192982.php
docs:
useful distros
frenzy, finnix, grml, crashrecovery, systemimager, faunos, insert, clonezilla-sysresccd, ubcd, gparted, parted magic, ophcrack, t-resc