30.04.2024, 03:14 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
al3
Titel: How do you backup each week?  BeitragVerfasst am: 23.07.2006, 00:14 Uhr



Anmeldung: 13. Mai 2005
Beiträge: 446

I can get all my data on one CD (with 300mb to spare!). After I do mysqldumps of various databases and maybe zip up some digital pix folders, I fire up K3b and drag these folders to the 'burn' screen: home, etc, boot, /var/www (where I have lots of php code). I burn the CD and put it in a safe place. I do this each Sunday.

It doesn't take long but I wonder if there is a better way?

What do you folks who don't have huge amounts of stuff do?

Al

_________________
Jaya123: Your office on the web
http://www.jaya123.com
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
michael7
Titel:   BeitragVerfasst am: 23.07.2006, 02:03 Uhr



Anmeldung: 24. Mai 2005
Beiträge: 354
Wohnort: Nashville
I have a second hard drive installed in this Linux box and I use rdiff-backup to backup the data on my master HD to the slave HD. Here's my source of information:

http://www.kanotix.com/FAQ-id_cat-70.html

_________________
Debian Social Contract
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 23.07.2006, 05:00 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

rdiff-backup done through a shell script to an external firewire drive, currently.

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
markb
Titel:   BeitragVerfasst am: 23.07.2006, 10:37 Uhr



Anmeldung: 09. Aug 2004
Beiträge: 121
Wohnort: Brisbane Australia
michael7 hat folgendes geschrieben::
I have a second hard drive installed in this Linux box and I use rdiff-backup to backup the data on my master HD to the slave HD.

I do the same but I use rsnapshot. Google for it. It also pulls data from my wife's winxp PC (via cwRsync).
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
stryder
Titel:   BeitragVerfasst am: 23.07.2006, 11:03 Uhr



Anmeldung: 26. Jun 2005
Beiträge: 389

I have 2 computers. For my work files at any given time there should be 2 copies of the same file in 2 drives. Completed jobs are backed up in CDs. For my system I back it up as a tar ball once a month.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
egal
Titel:   BeitragVerfasst am: 23.07.2006, 14:59 Uhr



Anmeldung: 18. Aug 2004
Beiträge: 55
Wohnort: Frankfurt/M.
Hi,

rsnapshot (for diff. backups/versions) & rsync-script (for 1:1 data) daily to a NAS;
additional monthly to dvd.

_________________
Gruss, Uwe Smilie
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kb0hae
Titel:   BeitragVerfasst am: 24.07.2006, 01:22 Uhr



Anmeldung: 22. Jul 2005
Beiträge: 124

Hi. Well, when I completed what I call a basic install (a fresh install of Kanotix, getting all hardware to work, plus doing an update in Kpackage , and installing what I consider the most essential programs and updates) I do a backup with partimage to another partition. When I do this I have partimage split the backup into files that are 675MB. These are written to CD-R disks. The partition is is Fat32, and is for all my data (pictures, documents etc...Fat32 so I can access the data in Windows or Kanotix, though I mostly use Kanotix these days) All data on this drive (except the Kanotix backup) is backed up to CD-RW once a week, and to CD-R every 4 weeks depending on how much has changed. I never throw out the old CD-R backups, so I always have that data available in case a file (or files) gets corupted or accidentally deleted.

In the last 7 years I have only lost a few files (I have only been running Kanotix for about 14 monthes or so, in a dual boot with Windows), and if I do something that breaks my Kanotix install, I can be back to the "basic install" in less than 10 minutes. With Windows, it takes about 6 hours or so to install drivers, and programs
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Swynndla
Titel:   BeitragVerfasst am: 24.07.2006, 03:37 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
Partimage is nice, and it may be able to back up your windows partition too.

But I am a big fan of automated backups ... I have 4 low-end pcs, and it's a pain to manually back them all up ... but rdiff-backup automatically backs all of them up to a hd every night (and does incremental backups so it's fast).

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kilgoretrout
Titel:   BeitragVerfasst am: 24.07.2006, 04:57 Uhr



Anmeldung: 28. Jul 2005
Beiträge: 24

I created some backup scripts using tar and rsysnc which are automatically run as cron jobs at various intervals. Once a month, I have a major backup script that I manually run which backs up to an external hard drive. I have also used partimage in the past for certain backups.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 24.07.2006, 21:27 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
I use rsync -av /home/username /media/hda5 which is a separate partition. For some reason I haven't been able to understand, backups to CD or DVD rw's hasn't been entirely dependable, hence my reason for putting them to an extended partition. I wouldn't recommend depending solely on discs to anybody, although I do have both. Too many weird things can happen. With a live-cd one can access a partition to restore files. Backups & restores are quicker that way too. YMMV....

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 24.07.2006, 21:44 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
To add my 2 cents:

- For mission critical tasks I use rdiff-backup to harddisk (ext3 or ReiserFS to keep user-rights). It's incremental.
- For backups to USB-Sticks or CDs/DVDs or Win-Networks I use tar (to keep user-rights).
- If I want password-protection, I put the tar into a rar.
- For simple backups at home I use rsync: it just is not incremental and I have lost data out of stupidity already.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 24.07.2006, 22:58 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
OHHH I have a question--once somebody has backed up with rsync or rdiff if you switch commands does it override OK?

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 25.07.2006, 00:25 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

rdiff is not a command, it's a program, it creates an rdiffbackup backup, so to speak. To restore you need to use rdiff-backup, it's not like a tar ball that anything can open or read. Although you can restore individual files by dragging and dropping if you want.

So no, I'd guess definitely not, if you use rdiff-backup, that's your backup program, it doesn't interchange with an rsync command, though I'm sure it uses rsync as a core feaure, I'd guess anyway.

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gardyloo
Titel:   BeitragVerfasst am: 25.07.2006, 02:52 Uhr



Anmeldung: 14. Apr 2006
Beiträge: 60

Zitat:
rdiff is not a command, it's a program, it creates an rdiffbackup backup, so to speak. To restore you need to use rdiff-backup, it's not like a tar ball that anything can open or read. Although you can restore individual files by dragging and dropping if you want.


To restore the LATEST backup, it's certainly possible to simply copy everything where you want it, since rdiff-backup creates an exact copy of everything. To restore earlier versions of the files, though, you do have to use the rdiff-backup program itself, since it has to do some fancy parsing and figure out incrementals. So I'd say that anything CAN open or read the vast majority of the backup.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 25.07.2006, 03:18 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
If I understand correctly: yes, one can read "rdiff-backups" just as you would read normal folders or files. But: the incremental informations or how I should call them are saved seperatly. And one should not fiddle around with these folders and files, they are backup only.

Reading "man rdiff-backup" is really a treasure. I like that application very much for doing backups.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 25.07.2006, 04:08 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
crap--I posted a response but it didn't appear even tho it said it was--oh well I'll see if this one does.

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 25.07.2006, 04:21 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
crap--I posted a response but it didn't appear even tho it said it was--oh well I'll see if this one does.

"rdiff is not a command, it's a program, it creates an rdiffbackup backup, so to speak. To restore you need to use rdiff-backup, it's not like a tar ball that anything can open or read. Although you can restore individual files by dragging and dropping if you want. "

That's what I thought--but at the same time--data is data--so I was curious about whether it made a difference what "program" was used to transfer it from one place to another, if indeed rsync is core to rdiff. Front end back end, blahblahblah.

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 25.07.2006, 06:37 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

while data is data, think of it as jpg type data versus gif type data, both image data, but not interchangeable

rdiff is smart, and adds a lot of its own stuff, that's how it knows time restores for example, where you can select a date and restore from there.

try it, you'll see, the rdiff backup stuff creates rdiff backup folders that contain the data for differential backups and restores. That's 'proprietary' so to speak, to rdiff-backup
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 25.07.2006, 06:58 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
So if I want to try rdiff-backup, do I have to wipe what I have? Rsync seemed like such a simple thing compared to making a bunch of --excludes, etc.

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 25.07.2006, 08:24 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

2radical: use the simple version then learn the complicated version, that's my advice, one thing at a time I'd say.

Some of this stuff takes time to get your hands around, I played with rdiff for a while, and found some really nasty bugs with it, but, like you, in the process of doing that, I learned a lot. Now it all works, I've got it all scripted, so it's just running a command. The globbing file lists are done one time then you never think about it again.

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
gardyloo
Titel:   BeitragVerfasst am: 25.07.2006, 21:00 Uhr



Anmeldung: 14. Apr 2006
Beiträge: 60

There are also some graphical frontends to rdiff-backup: one called rdiffweb (which I've never got to work), and one called "keep". The latter is specific to KDE (or as specific as the KDE/Gnome/XFCE sharing-of-apps situation allows). I've got that to work several times (though not very recently). Keep isn't as full-featured as the whole command-line rdiff-backup, but it's easy enough to set includes/excludes, and set up a basic schedule (and keep to it!) for backups. If you can easily install it, I'd recommend it.
Otherwise, check out the command-line version of rdiff-backup. As a couple of posters have intimated, it's VERY well documented, with excellent examples.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 26.07.2006, 02:38 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
Today I removed my rsync backup on hda5 & replaced it with a rdiff-backup one. I used this command line to backup: rdiff-backup --exclude '/tmp/*' --exclude '/proc/*' --exclude '/sys/*' --exclude '/media/*/*' / /media/hda5/backups
Things went well with no error messages, but I'm not sure if I got the restore command right for the target. Would it be (from live-cd) rdiff-backup -r now /media/hda5/backups / *OR*
rdiff-backup -r now /media/hda5/backups /media/hda1 (which is what konqueror shows)

# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
/dev/hda1 / reiserfs defaults 0 1
/dev/hda2 /home reiserfs defaults 0 2
/dev/hda3 none swap sw 0 0
/dev/hda5 /media/hda5 reiserfs defaults 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Swynndla
Titel:   BeitragVerfasst am: 26.07.2006, 03:39 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
2radical ... it would be the later one ... ie:
rdiff-backup -r now /media/hda5/backups /media/hda1

And you'd need to mount both partitions before you could restore.

I would strongly recommend that you do try a restore ... as there is nothing worse than thinking you are able to restore and then getting into problems when you really need to restore. Backup any important data separately though ... don't put 100% faith in rdiff-backup as you can easily stuff it up ... the command line is powerful, and can do bad things just as powerfully as good things.

If your partition isn't empty, rdiff-backup will not do that restore just incase you didn't want to overwrite anything ... it'll say that if you really want to do that then use the --force command ... ie:
rdiff-backup -r now --force /media/hda5/backups /media/hda1

So I'd recommend that you take a rdiff-backup backup, just a file, and restore, and check that the file is now the original. Maybe add a file and delete a different file before the restore.

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
2radical
Titel:   BeitragVerfasst am: 26.07.2006, 06:18 Uhr



Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
Zitat:
So I'd recommend that you take a rdiff-backup backup, just a file, and restore, and check that the file is now the original. Maybe add a file and delete a different file before the restore.


Just so I understand what you're saying--
Make 2 test files, say like [testfile1 & testfile2] in /home/joyboy/documents then delete one of them to test if both the backup & restore works? Thank you very much for your advise Smilie

_________________
illegitimati non carborundum
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Swynndla
Titel:   BeitragVerfasst am: 26.07.2006, 06:37 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
Yes. You should have a play, until you get to the stage of confidently saying to yourself "shall I try out e17? ... no worries, I can can easily restore if I might bork my system!"

(assuming that you've backed up your entire root partition to a larger partition)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.