LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-27-2009, 09:51 AM   #16
Phiebie
Member
 
Registered: Oct 2004
Location: Austria
Distribution: Debian testing
Posts: 114

Rep: Reputation: 17

Quote:
Originally Posted by 987687 View Post
the subsequent backups will go a lot faster with rsync, because it only backs up what has changed.
You can achieve this also with rdiff-backup:
[ ]
rdiff-backup is a script, written in python(1) that backs up one direc‐
tory to another. The target directory ends up a copy (mirror) of the
source directory, but extra reverse diffs are stored in a special sub‐
directory of that target directory, so you can still recover files lost
some time ago. The idea is to combine the best features of a mirror
and an incremental backup. rdiff-backup also preserves symlinks, spe‐
cial files, hardlinks, permissions, uid/gid ownership, and modification
times.
[ ]
Well, you have to read and study the manpage thoroughly for the right setup, but then it runs flawlessly as a cronjob. Only be aware of the size all those diffs consume disk-space! Limit them to, let's say, 30 or 60 days.

Good luck.
 
Old 04-27-2009, 10:02 AM   #17
987687
Member
 
Registered: Oct 2007
Location: 127.0.0.1
Distribution: Debian
Posts: 35

Rep: Reputation: 15
I prefer to write my own scripts rather than using ones other people make. That way I know how my script works, and it does exactly what I want. But that is just me.
 
Old 04-29-2009, 06:36 AM   #18
bradleyjr
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Smile Clonezilla to the rescue

I am also a big fan of clonezilla. I have been able to successfully image and restore both windows and red hat operating systems.
I was even able to restore to a completely different hardware setup!
This is great if you want to keep your current OS, but need to upgrade your hardware. The key was installing ALL of the required drivers for the new hardware, as many as you can prior to the restore.
red hat 5 takes 20-30 minutes to image and/or restore, but windows can take an hour or two, for even a small image.
The other key is to ALWAYS restore to something that is at least as big as the original configuration, ie 500GB will not restore to 200GB even though the image itself is really small.
I can live with that!
 
Old 04-29-2009, 11:13 AM   #19
xiqtem
LQ Newbie
 
Registered: Sep 2008
Location: The United States of America
Distribution: Using, Debian, have used, Simply Mepis, Gentoo, Fedora, Mandriva, and Puppy.
Posts: 28

Rep: Reputation: 15
I have one cd/dvd r/w drive. I have my / on sda2, swap on sda3, and vista on sda1 ntfs. I have a quad core phenom with 2GB Ram. I was wondering if I use clonezilla and load it to ram when it boots can I then remove the disk and put a blank dvd in the drive and then store the image of sda2 on the blank dvd? Where would the temporary files be placed while the image was being made? Something during the process of using clonezilla scared me off. It said something about the data on the drive being cloned getting destroyed? Thanks for any help.
 
Old 04-29-2009, 11:57 AM   #20
987687
Member
 
Registered: Oct 2007
Location: 127.0.0.1
Distribution: Debian
Posts: 35

Rep: Reputation: 15
Quote:
Originally Posted by xiqtem View Post
I have one cd/dvd r/w drive. I have my / on sda2, swap on sda3, and vista on sda1 ntfs. I have a quad core phenom with 2GB Ram. I was wondering if I use clonezilla and load it to ram when it boots can I then remove the disk and put a blank dvd in the drive and then store the image of sda2 on the blank dvd? Where would the temporary files be placed while the image was being made? Something during the process of using clonezilla scared me off. It said something about the data on the drive being cloned getting destroyed? Thanks for any help.
I have never used clonizilla... but I assume it said that all the data on the backup drive will be destroyed. You can't backup to a full drive
 
Old 04-30-2009, 06:37 AM   #21
bradleyjr
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Talking clonezilla backed up to RAM

I don't recommend this method. Even Clonezilla warns of possible issues.
It is very easy to back up to an external USB device. I use 500GB SATA hard drives to store my users systems on. They are on a 3 month rotating schedule for cloning, some do tape back ups in between.
I just got a few USB 2.0 to IDE or SATA adapters (about $20) and ANY hard drive becomes an external USB device.
Thumb drives are pretty big and cheap these days as well, just make sure you will have room for the image.
 
Old 05-01-2009, 12:42 AM   #22
xiqtem
LQ Newbie
 
Registered: Sep 2008
Location: The United States of America
Distribution: Using, Debian, have used, Simply Mepis, Gentoo, Fedora, Mandriva, and Puppy.
Posts: 28

Rep: Reputation: 15
Let me give you guys a little more background on what I was thinking. I have installed Debian numerous times and I keep fixing it until it breaks. I get my multimedia keyring going. I get my splashy working. I get the flash player working and about the time I put my ati drivers on I end up hosing it up so badly that I can't fix it. So I wanted to be able to restore it to what it was when I had all of it installed and all of the other things working so I wouldn't have to re-install and then get everything working the way I want it again. I'm not even sure what directories I should back up so I was just going to clone the drive. Thanks for your help.
 
Old 05-01-2009, 01:16 AM   #23
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Originally Posted by bradleyjr View Post
I don't recommend this method. Even Clonezilla warns of possible issues.
It is very easy to back up to an external USB device. I use 500GB SATA hard drives to store my users systems on. They are on a 3 month rotating schedule for cloning, some do tape back ups in between.
I just got a few USB 2.0 to IDE or SATA adapters (about $20) and ANY hard drive becomes an external USB device.
Thumb drives are pretty big and cheap these days as well, just make sure you will have room for the image.
but would i be able to do the following:
backup the system with rsync (or clonezilla) in say /home/user/backup and save that on a dvd? (its still cheaper than a stick)

@xigtem: have a look on what 987687 describes to be excluded when backing up with rsync. i did it on the fly and had a backup of say ~5GB. it could be much less (if you only wanna backup the system, exclude
the directories from home which store private data, but keep the .config files. -> i guess :-) )
else - by what you described set-up->screw-up- the option creating your own live-install-cd with live_helper or live-magic sound not too bad
(it would take a bit of time but its also a bit of fun).

greetings
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Probem copy whole backup including hardlinks to another system hendrixx Linux - Software 3 08-05-2008 07:26 AM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 03:39 AM
How do I copy my system backup from hda3 to DVD? Balarabay1 Linux - Software 1 11-17-2006 10:24 AM
Backup partition keeping file owners the same Sledge Linux - Newbie 1 05-14-2005 09:14 PM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration