Re: Tape Backup Software Empfehlung
Am Mittwoch 03 Mai 2006 21:19 schrieb Thomas Wegner: Am Mittwoch, den 03.05.2006, 08:53 +0200 schrieb Peter Velan: Hallo Peter! War das mal kostenfrei (und ist es nun nicht mehr), oder bin ich zu blöd diese American-Business-Way-of-Cauderwelsh Website richtig abzugrasen? Der Download ist hier: http://www.arkeia.com/arkeialight.html als ArkeiaLight für Linux user. Habe ich aber auch nur in der FAQ gefunden. Die wollen wohl nicht so recht damit raus. Ich werde jetzt mein Glück mit Flexbackup (+ afio) versuchen. Sieht übersichtliocher aus wie Amanda + Co. Ich würde mich über einen Bericht freuen. Vielleicht wäre das ja auch was für mich. Soweit ich weiß kann man Arkeia nur mit 2.4er kernel betreiben. In der Arbeit bin ich bei Flexbackup hängen geblieben. Sehr gut, solange alles auf ein Tape passt. Remotesicherungen über ssh, einfach einzurichten. Markus
Re: Tape Backup Software Empfehlung
Markus Boas [EMAIL PROTECTED] wrote: Am Mittwoch 03 Mai 2006 21:19 schrieb Thomas Wegner: Am Mittwoch, den 03.05.2006, 08:53 +0200 schrieb Peter Velan: War das mal kostenfrei (und ist es nun nicht mehr), oder bin ich zu blöd diese American-Business-Way-of-Cauderwelsh Website richtig abzugrasen? Der Download ist hier: http://www.arkeia.com/arkeialight.html als ArkeiaLight für Linux user. Habe ich aber auch nur in der FAQ gefunden. Die wollen wohl nicht so recht damit raus. Du ... willst ... Arkeia ... nicht ... benutzen! ... Glaube ... mir! Soweit ich weiß kann man Arkeia nur mit 2.4er kernel betreiben. Nein. Ich empfehle Bacula. Es kann sein, dass einen das Konzept am Anfang etwas erschlägt, aber die sehr gute Doku erklärt das Nötige, so dass man schnell zu einem funktionierenden und skalierbaren Backup+Restore kommt. S° -- Sven Hartge -- professioneller Unix-Geek Meine Gedanken im Netz: http://www.svenhartge.de/ -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Tape Backup Software Empfehlung
am 2006-05-03 07:17 schrieb Thomas Wegner: Am Dienstag, den 02.05.2006, 08:55 +0200 schrieb Peter Velan: ich suche eine *einfache* Software, die Tape-Backups steuert. Ich kann Dir kurz von meiner Odyssee berichten. Ich hatte auch diverse Tools durchprobiert, habe Sie aber entweder nicht eingerichtet bekommen oder irgendwann aus zeitmangel aufgehört. Hängengeblieben bin ich dann bei arkeia. Ist Löhnware, aber für den Privatgebrauch und bis zu 2 oder 3 Clients (weiß nicht mehr genau) kostenfrei War das mal kostenfrei (und ist es nun nicht mehr), oder bin ich zu blöd diese American-Business-Way-of-Cauderwelsh Website richtig abzugrasen? . Die Oberfläche ist sehr gewöhnungsbedürftig, aber mit Studium des Handbuches gut zu bewältigen. Ich habe damit lange gesichert und auch mal ein Restore getestet, was gut ging. Dann hatte ich wirklich mal einen Hardwarecrash und mußte alles zurücksichern. Wie es Murphy so will, lief ein Backup natürlich nicht, weil eine neuere Version, die alten Bändern angeblich nicht lesen kann oder will. :-( Eine Nachfrage an die Firma bzw. eine Mailingliste hat keine Antwort gebracht. Ein user fragte hier an, der ebenfalls dieses Problem hatte. Ah, ich sags doch immer wieder: Murphy war ein Optimist; Real Life ist noch viel schlimmer. Ich will mich auch nicht über Yosemite Technologies in epischer Breite auslassen, die nicht bereit waren mir für Ihre Software (TapeWare - 'n halber Tausender) wenigstens die Lizenzeingabe zu ermöglichen :-( -- Die Money-Back-Guarantee hat zwar nicht ganz so lang gedauert wie Odysseus Heimkehr, aber ein halbes Jahr war es dann doch! Fazit: Ich bin bei tar gelandet und soweit erst mal zufrieden, wenngleich ich das ganze noch weiter optimieren müßte. Ist zum Glück aber nur für den Privatgebrauch. Ich werde jetzt mein Glück mit Flexbackup (+ afio) versuchen. Sieht übersichtliocher aus wie Amanda + Co. Thomas, danke für den Reisebericht. Peter -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Tape Backup Software Empfehlung
Peter Velan wrote: am 2006-05-02 07:50 schrieb Michael Müller: Peter Velan schrieb: ich suche eine *einfache* Software, die Tape-Backups steuert. wie wär's denn mit den guten alten Kandidaten tar oder cpio? Na klar! Doch was ich suche ist ein Skript (dass intern höchstwahrscheinlich mit tar, cpio, etc. arbeitet), welches aber die Verwaltung von Vollbackup, inkrementellem Backup, Bänderlisten, ... übernimmt. Dann schau Dir mal tob [1] an. Die verschiedenen Backuptypen beherscht es gut. Nur bei den Baenderlisten wirst Du noch selbst Hand anlegen muessen. Aber da es ein Script ist, kannst Du es ja beliebig erweitern. Peter [1] http://tinyplanet.ca/projects/tob/ oder: apt-cache show tob
Re: Tape Backup Software Empfehlung
am 2006-05-03 08:58 schrieb Peter Timm: Peter Velan wrote: am 2006-05-02 07:50 schrieb Michael Müller: Peter Velan schrieb: ich suche eine *einfache* Software, die Tape-Backups steuert. wie wär's denn mit den guten alten Kandidaten tar oder cpio? Na klar! Doch was ich suche ist ein Skript (dass intern höchstwahrscheinlich mit tar, cpio, etc. arbeitet), welches aber die Verwaltung von Vollbackup, inkrementellem Backup, Bänderlisten, ... übernimmt. Dann schau Dir mal tob [1] an. Die verschiedenen Backuptypen beherscht es gut. Nur bei den Baenderlisten wirst Du noch selbst Hand anlegen muessen. Das Verfahren ... | am 2006-05-02 10:52 schrieb Roland M. Kruggel: | Bleistift oder Kugelschreiber :) ... ziehe ich ganz ernsthaft in Erwägung ;-) Aber da es ein Script ist, kannst Du es ja beliebig erweitern. Ich bin kein Programmierer (jedenfalls nicht mehr, denn wer braucht noch heute Assemblerfuzzies für veraltete 8-Bit-Chips), traue mir aber zu ein (nicht zu umfangreiches, dokumentiertes) Skript zu verstehen und für meine Zwecke anzupassen. [1] http://tinyplanet.ca/projects/tob/ Danke, notiert! Jetzt wird mal erstmal Flexbackup etwas genauer unter die Lupe genommen. Peter -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Tape Backup Software Empfehlung
Am Mittwoch, den 03.05.2006, 08:53 +0200 schrieb Peter Velan: Hallo Peter! War das mal kostenfrei (und ist es nun nicht mehr), oder bin ich zu blöd diese American-Business-Way-of-Cauderwelsh Website richtig abzugrasen? Der Download ist hier: http://www.arkeia.com/arkeialight.html als ArkeiaLight für Linux user. Habe ich aber auch nur in der FAQ gefunden. Die wollen wohl nicht so recht damit raus. Ich werde jetzt mein Glück mit Flexbackup (+ afio) versuchen. Sieht übersichtliocher aus wie Amanda + Co. Ich würde mich über einen Bericht freuen. Vielleicht wäre das ja auch was für mich. -- Gruß Thomas Wegner Key fingerprint = DA5C B5F7 DB88 6CF4 9FA2 92DC 99D0 65D6 4B14 5FC0
Re: Tape Backup Software Empfehlung
Hallo, Peter :-) ich suche eine *einfache* Software, die Tape-Backups steuert. Hehe :-) Einfach ist gut - also tar, cpio. Nur rate ich dringend davon ab, selbst die Daten auf dem Band zu komprimieren, denn wenn mal ein Bit kippt, dann kann es Dir im Fall der Fälle passieren, dass die Daten auf dem Band unlesbar sind. Die Komprimierung vom Laufwerk ist da etwas toleranter und kann doch noch etwas zurückholen in dem Fall. - dirs einmal voll bz2-komprimiert aufs Band schreiben Einmal tar :-) Alles ganz einfach, solange das Band größer ist als die Nutzdaten die gesichert werden sollen, sonst afio. - MySQL dumpen und bz2-komprimiert aufs Band - inkrementelles Backup bz2-komprimiert ausf Band - einfachste Verwaltung der Bänder - bei Problemen E-Mail schicken Nocheinmal das gleiche - für inkrementelle Backups kannst Du gut rsync verwenden, alles in ein temporäres Verzeichnis schreiben und dann wegsichern. Habe mir die tollen Pakete amanda, bacula, afbackup angesehen, finde die aber heftig überladen. Ich brauche keine Bandroboter-Steuerung oder ausgeklügelte Server/Client-Konzepte. Ich würde Dir dennoch einen (oder auch zwei) tiefergehende Blicke auf diese Lösungen empfehlen. Vor dem ersten Einsatz sicher reichlich viel zu lesen und einzurichten, aber wenn man danach mal in die Verlegenheit eines Restore kommt, hat man ein wesentlich entspannteres Leben. Gerade in punkto Band- und Katalogverwaltung :-) Cheers, Jan signature.asc Description: OpenPGP digital signature
Re: Tape Backup Software Empfehlung
am 2006-05-02 07:50 schrieb Michael Müller: Peter Velan schrieb: ich suche eine *einfache* Software, die Tape-Backups steuert. wie wär's denn mit den guten alten Kandidaten tar oder cpio? Na klar! Doch was ich suche ist ein Skript (dass intern höchstwahrscheinlich mit tar, cpio, etc. arbeitet), welches aber die Verwaltung von Vollbackup, inkrementellem Backup, Bänderlisten, ... übernimmt. So gesehen ist afbackup (mein erster Versuch) ja gar nicht so übel, aber mit vielen (mir unwichtig erscheinenden) Features überfrachtet. Peter -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Tape Backup Software Empfehlung
am 2006-05-02 08:22 schrieb Jan Kesten: Hallo, Peter :-) ich suche eine *einfache* Software, die Tape-Backups steuert. Hehe :-) Einfach ist gut - also tar, cpio. Nur rate ich dringend davon ab, selbst die Daten auf dem Band zu komprimieren, denn wenn mal ein Bit kippt, dann kann es Dir im Fall der Fälle passieren, dass die Daten auf dem Band unlesbar sind. Die Komprimierung vom Laufwerk ist da etwas toleranter und kann doch noch etwas zurückholen in dem Fall. Den Tipp hat Sven auch schon gegeben, habe verstanden: keinen Kompressor vor dem Bandschreiben nutzen! - dirs einmal voll bz2-komprimiert aufs Band schreiben Einmal tar :-) Alles ganz einfach, solange das Band größer ist als die Nutzdaten die gesichert werden sollen, sonst afio. Gestern den ersten Versuch mit 'afbackup' gefahren: irgendwas ist gelaufen, leider aber der E-Mail-Benachrichtung ein unlesbares 'backup_log.1.z' angehängt worden. :-( Die Logs in /var/log/afbackup sehen auch nicht sehr vertrauenswürdig aus: Mon May 1 18:59:15 2006, Vollsicherung abgebrochen. Vermutlich idiotische Config meinerseits. Habe 'afbackup' noch nicht in seiner Komplexität erfasst. - MySQL dumpen und bz2-komprimiert aufs Band - inkrementelles Backup bz2-komprimiert ausf Band - einfachste Verwaltung der Bänder - bei Problemen E-Mail schicken Nocheinmal das gleiche - für inkrementelle Backups kannst Du gut rsync verwenden, alles in ein temporäres Verzeichnis schreiben und dann wegsichern. Heißt aber konkret: Schreib dein eigenes Skript! Ich hoffte etwas anpassbares zu finden, denn der große Bash-Crack bin ich (noch) nicht. Habe mir die tollen Pakete amanda, bacula, afbackup angesehen, finde die aber heftig überladen. Ich brauche keine Bandroboter-Steuerung oder ausgeklügelte Server/Client-Konzepte. Ich würde Dir dennoch einen (oder auch zwei) tiefergehende Blicke auf diese Lösungen empfehlen. Vor dem ersten Einsatz sicher reichlich viel zu lesen und einzurichten, aber wenn man danach mal in die Verlegenheit eines Restore kommt, hat man ein wesentlich entspannteres Leben. Gerade in punkto Band- und Katalogverwaltung :-) Ja, das ist wohl der richtige Weg. Also heisst es jetzt: Rein in die Kartoffeln! Wenn nur der latente Mangel an verfügbarer Zeit nicht wäre ;-) Danke, Peter -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Tape Backup Software Empfehlung
Am Montag, 1. Mai 2006 17:10 schrieb Peter Velan: Hallo, ich suche eine *einfache* Software, die Tape-Backups steuert. [...] - dirs einmal voll bz2-komprimiert aufs Band schreiben Grundsätzlich VORSICHT bei gepackten Datensicherungen! Du kannst für deine Anforderungen tar, cpio oder afio nehmen. Tar und cpio sind prima, aber bitte nur unkomprimiert. Das Archive wird als ganzes gepackt. Hast du einen Lesefehler auf dem Tape, ist dein ganzes Archive im ar kaputt. Selbst erlebt. Wenn du komprimieren willst nimm afio. afio kann selbst comprimieren. Du musst das archive also nicht nochmal extra durch einen PAcker schieben. Das schreiben auf das Band erfolgt dann ungepackt. d.h. file - packen - gepackten file auf Band schreiben Wenn du da mal ein Lesefehler hast ist die eine Datei kaputt, der Rest jedoch lesbar. Weiterer Vorteil von afio, es schreibt cpio kompatible Header. Du kannst also das Tape mit cpio wieder lesen. Allerdings bekommst du dann gepackte files herraus, die du dann von hand entpacken musst. Aber selbstverständlich kann afio die vom Tape gelesenen Daten auch wieder on the fly entpacken. Aber afio ist nicht auf jedem System installiert. Das ganze Backup über ein script und cron steuer. - MySQL dumpen und bz2-komprimiert aufs Band Das erledigt ein kleines script. Cron gesteuert. - inkrementelles Backup bz2-komprimiert ausf Band find - einfachste Verwaltung der Bänder Bleistift oder Kugelschreiber :) -- cu Roland Kruggel mailto: rk.liste at bbf7.de System: Intel, Debian etch, 2.6.15, KDE 3.5
Re: Tape Backup Software Empfehlung
am 2006-05-02 10:52 schrieb Roland M. Kruggel: Am Montag, 1. Mai 2006 17:10 schrieb Peter Velan: Hallo, ich suche eine *einfache* Software, die Tape-Backups steuert. [...] - dirs einmal voll bz2-komprimiert aufs Band schreiben Grundsätzlich VORSICHT bei gepackten Datensicherungen! Danke, die vielen Warnungen bzgl. Komprimierung sind eindeutig. Werde es beherzigen. [...] Wenn du komprimieren willst nimm afio. afio kann selbst comprimieren. Du musst das archive also nicht nochmal extra durch einen PAcker schieben. Das schreiben auf das Band erfolgt dann ungepackt. d.h. file - packen - gepackten file auf Band schreiben Werde mir afio anschauen. Soeben mal die Kurzbeschreibung des Debian-Pakets 'afio' überflogen klingt vielversprechend. [...] wieder on the fly entpacken. Aber afio ist nicht auf jedem System installiert. Na, eine apt-get wertde ich hinkriegen ;-) - einfachste Verwaltung der Bänder Bleistift oder Kugelschreiber :) Wow - KISS principle! In der Tat, der Tipp ist nicht zu schlagen :-)) Danke, speziell für den afio-Tipp, subber! Peter -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Tape Backup Software Empfehlung
Am Dienstag, den 02.05.2006, 08:55 +0200 schrieb Peter Velan: Hallo Peter! ich suche eine *einfache* Software, die Tape-Backups steuert. Ich kann Dir kurz von meiner Odyssee berichten. Ich hatte auch diverse Tools durchprobiert, habe Sie aber entweder nicht eingerichtet bekommen oder irgendwann aus zeitmangel aufgehört. Hängengeblieben bin ich dann bei arkeia. Ist Löhnware, aber für den Privatgebrauch und bis zu 2 oder 3 Clients (weiß nicht mehr genau) kostenfrei. Die Oberfläche ist sehr gewöhnungsbedürftig, aber mit Studium des Handbuches gut zu bewältigen. Ich habe damit lange gesichert und auch mal ein Restore getestet, was gut ging. Dann hatte ich wirklich mal einen Hardwarecrash und mußte alles zurücksichern. Wie es Murphy so will, lief ein Backup natürlich nicht, weil eine neuere Version, die alten Bändern angeblich nicht lesen kann oder will. :-( Eine Nachfrage an die Firma bzw. eine Mailingliste hat keine Antwort gebracht. Ein user fragte hier an, der ebenfalls dieses Problem hatte. Fazit: Ich bin bei tar gelandet und soweit erst mal zufrieden, wenngleich ich das ganze noch weiter optimieren müßte. Ist zum Glück aber nur für den Privatgebrauch. -- Gruß Thomas Wegner Key fingerprint = DA5C B5F7 DB88 6CF4 9FA2 92DC 99D0 65D6 4B14 5FC0
Re: Tape Backup Software Empfehlung
Peter Velan [EMAIL PROTECTED] wrote: - dirs einmal voll bz2-komprimiert aufs Band schreiben Schlecht. Komprimierte Backups sind keine Backups, sondern im dümmsten Fall (also immer genau dann, wenn ein Restore ansteht) nur noch weisses Rauschen. Lieber, wenn es schon Kompression sein muss, die Hardware-Kompression des Gerätes benutzen, sofern es über eine Hinterband-Kontrolle verfügt. Damit erreicht man nicht so hohe Kompressionsraten wie mit bzip2, dafür ist die Gefahr, das durch einen Bitfehler die Daten komplett im Eimer sind geringer. S° -- Sven Hartge -- professioneller Unix-Geek Meine Gedanken im Netz: http://www.svenhartge.de/ -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Tape Backup Software Empfehlung
Peter Velan schrieb: Hallo, ich suche eine *einfache* Software, die Tape-Backups steuert. Habe mir die tollen Pakete amanda, bacula, afbackup angesehen, finde die aber heftig überladen. Ich brauche keine Bandroboter-Steuerung oder ausgeklügelte Server/Client-Konzepte. Mir reicht: - dirs einmal voll bz2-komprimiert aufs Band schreiben dann: - MySQL dumpen und bz2-komprimiert aufs Band - inkrementelles Backup bz2-komprimiert ausf Band - einfachste Verwaltung der Bänder - bei Problemen E-Mail schicken Am liebsten ein einfaches, anpassbares Skript, das eine conf-Datei per Cronjob (nachts) abnudelt. Hat/kennt jemand so was? Hallo Peter, wie wär's denn mit den guten alten Kandidaten tar oder cpio? Gruß ; Michael -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Tape Backup advice needed - dump, tar etc.
You might check out bakula or afbackup, they're both on sourceforge I think. Trying google will also work :-) Cheers success! Wim On Mon, Sep 19, 2005 at 11:22:13AM -0400, Tom Vier wrote: On Fri, Sep 16, 2005 at 11:13:31AM -0500, J French wrote: Debian (or linux in general)? I need a robust backup because this will be a production server. Advice is appreciated. You cannot use dump on a read/write mounted fs - the kernel does not keep writes from the fs coherent with the block device you read from (eg, /dev/hda0). You must at least mount the fs read-only. Also, dump only supports ext2, last time i checked, and may not support newer options such as directory hashes. GNU tar is what i use (with the -g incremental option). -- Tom Vier [EMAIL PROTECTED] DSA Key ID 0x15741ECE -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Tape Backup advice needed - dump, tar etc.
On Fri, Sep 16, 2005 at 11:13:31AM -0500, J French wrote: We are setting up Debian Linux on a new server for a PostGreSQL database. In the past, on FreeBSD, I used the dump utility with the live filesystem (snapshot) switch to backup the running database. Does dump on linux support live filesystem backups as well? How are most people backing up to tape with Debian (or linux in general)? I need a robust backup because this will be a production server. Advice is appreciated. First, migrate your partitions to LVM. Then use snapshot to take a snapshot of the postgres partition, then use the backup tool of your choice to backup the snapshot to tape. I use bacula for that because it lets you do backup schedules and it can call scripts before and after to create/delete the snapshot. This solution will give you the smallest downtime for your postgres database, without worrying about data integrity issues. -- Dave Carrigan Seattle, WA, USA [EMAIL PROTECTED] | http://www.rudedog.org/ UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL-Postfix signature.asc Description: Digital signature
Re: Tape Backup advice needed - dump, tar etc.
On Fri, Sep 16, 2005 at 11:13:31AM -0500, J French wrote: Debian (or linux in general)? I need a robust backup because this will be a production server. Advice is appreciated. You cannot use dump on a read/write mounted fs - the kernel does not keep writes from the fs coherent with the block device you read from (eg, /dev/hda0). You must at least mount the fs read-only. Also, dump only supports ext2, last time i checked, and may not support newer options such as directory hashes. GNU tar is what i use (with the -g incremental option). -- Tom Vier [EMAIL PROTECTED] DSA Key ID 0x15741ECE -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Tape Backup advice needed - dump, tar etc.
On Fri, 2005-09-16 at 11:13 -0500, J French wrote: How are most people backing up to tape with Debian (or linux in general)? I need a robust backup because this will be a production server. Advice is appreciated. I ran a Linux lab for a while. Ended up with one of those 200G tape drives running off a NetApp fileserver. Since the main filesystem was on Raid5 I only did a weekly tape dump and stored the tapes in my apartment. It worked fine as long as we only had 200G of data, but manually changing tapes is an enormous hassle! I can't imagine anyone running a large site with a single-tape drive. Do you have the hardware angle under control? I started out with a nice full/incremental system using dump, but I believe that during the time when everything would fit on one tape I was just using tar and doing a full backup each time (everything worked unattended except picking up the tape on Friday and swapping the new one in, so that was fine by me). Reasons not to do that: 1) If you have more data than will fit in a single tape (or you're in a rush), you will want to do full/incremental backups. The incrementals had better each fit on one tape, but the fulls won't, of course. And swapping tapes is really really tedious!!! However, if you can afford a robotic tape drive, such as those from Tadpole (AIR they start at around $10k), you might be very happy with tapes. The problem is still remembering to take the tapes offsite in case the building burns down. 2) If you ever do want to restore less than the whole filesystem, tapes make it hard to find (and then there's the whole offsite thingy). I used tapes because the backup was meant as a measure against catastrophic failure only--the NetApp handled daily accidental deletions, disk failures, etc, perfectly. But if you don't have such a nice fileserver, you care more! My current solution for my personal computer is an external USB2 disk, and faubackup. Not offsite :( but very cost-effective, and faubackup basically pulls the same stunt that the NetApp did (on the file level rather than inodes, so not as sophisticated nor efficient). So I have nightly backups for a week, weekly for a month, monthly for 3, annual forever, or whatever you like, of everything I need, at my fingertips. 200G drives are now $200, and you can easily add more. As I recall, 100G tapes were $100, and that's not counting the (then) $4000 tape drive. For a company a big cheap fileserver would be more appropriate for this, but you get the idea. Oh, by the way, last I checked (over a year ago) faubackup was terribly, terribly slow and needs work. But I threw it out there as a random idea. So happens that I can get away with no offsite without feeling too guilty by using Unison to sync my desktop to my laptop, which tends to live offsite. But for a real company, this would be an interesting solution. But what seems to me to be the best is a mutual arrangement with someone offsite, along the lines of each party saying Here's x bytes of network-accessible storage and a login account for you. Then, rdist your filesystem to the remote site (or ideally something cleverer like CVS/Subversion/etc). Why don't more people do this? I'm thinking of setting this up for my current lab--any words of warning? May all your best data be immortalised! -Ben -- Ben Pearre http://hebb.mit.edu/~ben PGP: CFDA6CDA Free music at http://hebb.mit.edu/FreeMusic Don't let Bush read your email! http://www.gnupg.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Tape Backup advice needed - dump, tar etc.
On Fri, 16 Sep 2005, J French wrote: Hello, We are setting up Debian Linux on a new server for a PostGreSQL database. In the past, on FreeBSD, I used the dump utility with the live filesystem (snapshot) switch to backup the running database. Does dump on linux support live filesystem backups as well? How are most people backing up to tape with Debian (or linux in general)? I need a robust backup because this will be a production server. Advice is appreciated. -John These are two distinct questions: getting the data out of postgresql and getting them onto a tape. The pg_dump script will accept the live flag under linux as well as freebsd, as far as I know; I would imagine the worst you might find is that there's some blocking while the data are written out. As for putting it onto tape, the simplest is probably just to use tar. You could script it automatically if you like, as in the below UNTESTED code: pg_dump -Ft dbname /dev/nst0 which would dump the tar version of the backup directly to your tape drive. ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Tape Backup advice needed - dump, tar etc.
On Fri, 2005-09-16 at 11:13 -0500, J French wrote: How are most people backing up to tape with Debian (or linux in general)? I need a robust backup because this will be a production server. Advice is appreciated. I'm using Amanda, but Amanda uses dump or gtar, so the question about live filesystems is still there. I use it with gtar and it backs up all my filesystems every night. I hope... The amanda-users could instantly answer your question, I suspect. http://www.amanda.org/support/mailinglists.php -- Glenn English [EMAIL PROTECTED] GPG ID: D0D7FF20 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Tape Backup advice needed - dump, tar etc.
I'll throw in a suggestion for bacula: http://bacula.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Tape backup woes (mt)... should I file a bug report?
On Wed, 21 Apr 2004, Christian Schnobrich wrote: Eventually and accidentally, I found out about rewinding and non-rewinding device files, the information being hidden deep in the tar info file. For all who don't know it: [ snip info about /dev/stX (auto-rewinding) vs. /dev/nst0 (non-rewinding) tape devices ] I don't usually use info, and from the occasional man-vs-info flamewar on this list I know I'm not alone. Furthermore, I'd never have looked for this in the tar documentation. Or do I use tar to fast-forward the tape? All I knew to start with was that 'mt eom' apparently didn't work as advertised. I agree, it is very non-intuitive. On the other hand, it is also in every tape-backup FAQ I've ever seen, so the info is readily available. I'm not saying that to be an asshole (really!). IMHO, the first steps to take when something doesn't work right are to hit the man pages, followed by a FAQ/How-To search. (See http://tldp.org/.) If you already know that, then please ignore. IMO, the (non-)rewinding device issue should be mentioned in the mt manpage. But does this omission really justify a bug report? Or is it just me? It's not a bug, so it probably shouldn't be approached as one. There is a disturbing amount of voodoo involve in getting various scsi tape drives to work in a sane fashion. The nst0/st0 device interface is the least of ones worries. FYI, not all tape drives will report their tape location (file status, byte location, etc) in a consistent manner. My Archive Python DAT can get confused following a sequence of fsf/bsf commands. The only reliable way to count the number of files on a tape, and get to the one you want, is to rewind to the beginning and then use either the afs or eom commands. Do this before every operation where you are going to read/write to the tape. This is kind of critical as it really sucks when you discover today's incremental overwrote all of Thursdays and the first half of Fridays because the backup script or tape hardware lost track of where it was. Power cycles and computer reboots (ie. what happens when the scsi interface is initialized) can also make the tape location indeterminate. While I'm at it, one more thing I don't understand -- mt comes with the cpio package, and there's another package mt-st one may install. I don't notice any significant difference between the two, so where's the point? Under what circumstances would I want or prefer mt-st over mt? FWIW, I tried both the cpio-mt binary and the mt-st binary and ended up sticking with the mt-st version. I have vague recollections that it seemed to have more features... -- Brad Sawatzky [EMAIL PROTECTED] University of Virginia Physics Department Ph: (434) 924-6580Fax: (434) 924-7909 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tape backup...
on Wed, Oct 24, 2001 at 10:01:01AM -0500, Alexander Wallace ([EMAIL PROTECTED]) wrote: Hello there! I have a 2 gb dat drive and I would like to backup my server periodicaly. It works, it's /dev/st0... I know I can use mt to do stuff with the drive and tar to backup stuff... But is there a better way??? Both are portable and work fine. For more info: http://kmself.home.netcom.com/Linux/FAQs/backups.html Peace. -- Karsten M. Self kmself@ix.netcom.com http://kmself.home.netcom.com/ What part of Gestalt don't you understand? Home of the brave http://gestalt-system.sourceforge.net/ Land of the free Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html pgphDZnzeGhy2.pgp Description: PGP signature
Re: tape backup...
I'll check it out! Thanks a lot! On Wed, 24 Oct 2001, Kurt Lieber wrote: Not a direct answer to your question, but check out http://www.linux-backup.net. They have some great linux backup resources there including several example backup scripts. --kurt On Wednesday 24 October 2001 08:01, Alexander Wallace wrote: Hello there! I have a 2 gb dat drive and I would like to backup my server periodicaly. It works, it's /dev/st0... I know I can use mt to do stuff with the drive and tar to backup stuff... But is there a better way??? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: tape backup...
Not a direct answer to your question, but check out http://www.linux-backup.net. They have some great linux backup resources there including several example backup scripts. --kurt On Wednesday 24 October 2001 08:01, Alexander Wallace wrote: Hello there! I have a 2 gb dat drive and I would like to backup my server periodicaly. It works, it's /dev/st0... I know I can use mt to do stuff with the drive and tar to backup stuff... But is there a better way???
Re: tape backup...
On Wed, Oct 24, 2001 at 10:01:01AM -0500, Alexander Wallace wrote: Hello there! I have a 2 gb dat drive and I would like to backup my server periodicaly. It works, it's /dev/st0... I know I can use mt to do stuff with the drive and tar to backup stuff... But is there a better way??? There are two common tools: dump/restore (apt-get install dump) or AMANDA (apt-get install amanda). Amanda is probably more than you need; it is most useful when you have a lot of machines that you need to back up over the network. It will certainly work on a single host, but dump and restore will probably be easier to manage. noah -- ___ | Web: http://web.morgul.net/~frodo/ | PGP Public Key: http://web.morgul.net/~frodo/mail.html pgprKUcGWsKqD.pgp Description: PGP signature
Re: tape backup...
Kurt Lieber said: Not a direct answer to your question, but check out http://www.linux-backup.net. They have some great linux backup resources there including several example backup scripts. --kurt On Wednesday 24 October 2001 08:01, Alexander Wallace wrote: Hello there! I have a 2 gb dat drive and I would like to backup my server periodicaly. It works, it's /dev/st0... I know I can use mt to do stuff with the drive and tar to backup stuff... But is there a better way??? Yes. Dump (http://dump.sf.net). Has all the features you'd expect (or at least that I would. It is a standard (or at least common) *NIX tool. It is very stable, but is active in the sense that bugs get fixed when the are found. Great support on the mailing list. Use the non-rewinding device (i.e. /dev/nst0) when dumping more than one filesystem. (Everyone asks this) -Peter
Re: Tape backup software
on Thu, Jul 19, 2001 at 12:59:48AM +0100, Stephen J. Thompson ([EMAIL PROTECTED]) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Hello all, Can anyone recomend some tape backup software for a DAT drive? I need software that can allow backups to span multiple tapes. See: http://kmself.home.netcom.com/Linux/FAQs/backups.html My own recommendation is KISS. -- Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/ What part of Gestalt don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Are these opinions my employer's? Hah! I don't believe them myself! pgpocy6G7BmuV.pgp Description: PGP signature
Re: Tape backup software
On Thu, Jul 19, 2001 at 12:59:48AM +0100, Stephen J . Thompson wrote: Can anyone recomend some tape backup software for a DAT drive? I need software that can allow backups to span multiple tapes. You want amanda. It's spread across a few packages in Debian: amanda-common, amanda-client, and amanda-server. In addition to dealing with multiple volumes, it can be made to deal with multiple hosts. Configuration can be a bitch, and I'm not sure what the current status is regarding its security. It used to be based on .rhosts, and didn't use any kind of crypto or reliable authentication. noah -- ___ | Web: http://web.morgul.net/~frodo/ | PGP Public Key: http://web.morgul.net/~frodo/mail.html pgpVnltN1fLyM.pgp Description: PGP signature
Re: Tape backup software
Stephen J.Thompson [EMAIL PROTECTED] writes: Can anyone recomend some tape backup software for a DAT drive? I need software that can allow backups to span multiple tapes. Well, the obvious answer is tar (has a --multi-volume option). -- Leonard Stiles [EMAIL PROTECTED]
Re: Tape backup
on Tue, Nov 07, 2000 at 10:54:55AM -0800, Jason Weidman ([EMAIL PROTECTED]) wrote: Can someone tell me how to setup my Tandberg SCSI tape backup on my debian box? What have you attempted, and what problems have you had to date? Is this a standard SCSI DAT tape device? If so, install the hardware, configure your SCSI termination as required. You may need to add or remove termination, see your card and hardware references for details -- often, you're OK with defaults, so try this first, then change things if you get problems. You should be able to enter SCSI setup during boot and see the device listed. You'll need SCSI tape support. If the kernel has compiled-in support, you'll see the something like following message on boot or by typing 'dmesg' after you've rebooted the system: Detected scsi tape st0 at scsi0, channel 0, id 3, lun 0 If the kernel doesn't detect the device on boot, you'll need to either load st.o as a module or compile it in. If you're running a stock kernel, it should be available: $ insmod st.o ...and confirm the kernel's found the device with 'dmesg' and/or 'lsmod'. You should then be able to confirm the tape exists: $ mt status or if that doesn't work, specify the device explicitly: $ mt status /dev/nst0 Report back with any questions or problems. -- Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself Evangelist, Zelerate, Inc. http://www.zelerate.org What part of Gestalt don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/http://www.kuro5hin.org pgpB3PmWpL9UT.pgp Description: PGP signature
Re: Tape backup tool ?
On Thu, Aug 31, 2000 at 07:43:17PM +0200, Oliver Schoenknecht wrote: Hello everyone, just wanted to ask if you know any good backup programs for KDE / Gnome that do it with my Tandberg SLR5-SCSI-streamer... I heard of taper which is more or less a console-driven tool but am also searching for a graphical frontend like Backup Exec and ArcServe on Win$... Any ideas ? tar -- Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself Evangelist, Opensales, Inc.http://www.opensales.org What part of Gestalt don't you understand? Debian GNU/Linux rocks! http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0 pgpvMIa7bBRqx.pgp Description: PGP signature
Re: Tape backup software?
Thanks for everyone's input, this gives me some good places to start! Kelly dave brookshire wrote: On the open source side of things, I'm a big fan of Amanda. You can find the original source and stuff at ftp://ftp.cs.umd.edu/pub/amanda, or at http://www.amanda.org/. On the closed source side of things, I'm a HUGE fan of Veritas' NetBackup product. Sadly, the current version supports Linux as a client, not a backup master, or media server. If you've got a lot of things to backup, I like the distributed Veritas scheme of things. It's pretty expensive, though. I've used both extensively, and recommend them. -db dave brookshire chief engineer eAgents.com [EMAIL PROTECTED] (703)383-6740 x120 -- -- Kelly Corbin -- [EMAIL PROTECTED] -- -- On the web @ http://www.theiqgroup.com -- The IQ Group, Inc. -- 5018 Hadley Ave. -- Overland Park, KS 66203 -- (913)-722-6700 -- Fax (913)722-7264
Re: Tape backup software?
On Tue, Jul 25, 2000 at 09:04:53AM -0600, Gary Hennigan wrote: Andrew McRobert [EMAIL PROTECTED] writes: I have to say that i find that tar covers all bases pretty well ... depends what you're used to I guess. There's at least one issue with tar that's kept me from using it, you don't want to use software compression with tar. Tar compresses globally, which means that the whole of the archive is considered one big compressed file. If something happens to the beginning of the tape you wouldn't be able to recover any of the data on that tape. This is in contrast to something like afio which compresses a single file at a time and then copies it to tape. Of course if you have hardware compression, or a lot of tapes, this may not be an issue. Bingo on HW compression. With tape archives in general, I'd advocate reliability over compression anyway. -- Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself Evangelist, Opensales, Inc.http://www.opensales.org What part of Gestalt don't you understand? Debian GNU/Linux rocks! http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0 pgpwlGgyjW4KX.pgp Description: PGP signature
Re: Tape backup software?
On 25 Jul 2000, Riku Saikkonen wrote: Has anyone tried recovering damaged .tar.bz2 files? Any success / failure? Hi, guys. Here's what I did: # cd /tmp # tail -c 1048576 /dev/hda t.bulk.o # cat t.bulk.o | bzip2 -1 t.bulk.bz2 # echo Damage string to insert before actual bz2 image tmp.1 # cat tmp.1 t.bulk.bz2 t.bulk.dmg.bz2 # bunzip2 -k t.bulk.dmg.bz2 bunzip2: t.bulk.dmg.bz2 is not a bzip2 file. # bzip2 -vvt t.bulk.dmg.bz2 t.bulk.dmg.bz2: bad magic number (file not created by bzip2) You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. # bzip2recover t.bulk.dmg.bz2 bzip2recover: searching for block boundaries ... block 1 runs from 464 to 305416 block 2 runs from 305465 to 698960 block 3 runs from 699009 to 1083281 block 4 runs from 1083330 to 1398097 block 5 runs from 1398146 to 1846240 block 6 runs from 1846289 to 2325383 block 7 runs from 2325432 to 2584085 block 8 runs from 2584134 to 2763608 block 9 runs from 2763657 to 3217006 block 10 runs from 3217055 to 3483161 bzip2recover: splitting into blocks writing block 1 to `rec0001t.bulk.dmg.bz2' ... writing block 2 to `rec0002t.bulk.dmg.bz2' ... writing block 3 to `rec0003t.bulk.dmg.bz2' ... writing block 4 to `rec0004t.bulk.dmg.bz2' ... writing block 5 to `rec0005t.bulk.dmg.bz2' ... writing block 6 to `rec0006t.bulk.dmg.bz2' ... writing block 7 to `rec0007t.bulk.dmg.bz2' ... writing block 8 to `rec0008t.bulk.dmg.bz2' ... writing block 9 to `rec0009t.bulk.dmg.bz2' ... writing block 10 to `rec0010t.bulk.dmg.bz2' ... bzip2recover: finished # bzip2 -vvt rec[0-9]*t.bulk.dmg.bz2 rec0001t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0002t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0003t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0004t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0005t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0006t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0007t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0008t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0009t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok rec0010t.bulk.dmg.bz2: [1: huff+mtf rt+rld] ok # bunzip2 -c rec[0-9]*t.bulk.dmg.bz2 t.bulk.dmg # diff -u t.bulk.o t.bulk.dmg I also tried joe-ing the bz2 file and recovering. It worked as described in the manual page. (The block I edited was lost) Hope you are happy now, Pavel
Re: Tape backup software?
Kelly == Kelly Corbin [EMAIL PROTECTED] writes: Kelly Has anyone had much experience w/ tape backup in Linux? I am Kelly looking for tape backup software and was wondering if anyone Kelly knew which was the best. Any input would be appreciated. It Kelly would be for an ATAPI tape backup drive. THANKS! Lots of other people already wrote about the software. I'll only warn about ATAPI. I could not get my drive (HP/Colorado 5000) to work reliably. It would seem to work for a while but then start failing mysteriously in the middle of a tape, always nearly at the same spot (and the tapes were OK, I'm sure of it). I got the source for the last version of the driver and compiled it, it didn't help. Then I bought the cheapest SCSI drive I could find and it works perfectly. -- Ian Zimmerman, Oakland, California, U.S.A. In his own soul a man bears the source from which he draws all his sorrows and his joys. Sophocles.
Re: Tape backup software?
Andrew McRobert [EMAIL PROTECTED] writes: I have to say that i find that tar covers all bases pretty well ... depends what you're used to I guess. There's at least one issue with tar that's kept me from using it, you don't want to use software compression with tar. Tar compresses globally, which means that the whole of the archive is considered one big compressed file. If something happens to the beginning of the tape you wouldn't be able to recover any of the data on that tape. This is in contrast to something like afio which compresses a single file at a time and then copies it to tape. Of course if you have hardware compression, or a lot of tapes, this may not be an issue. Gary
Re: Tape backup software?
Gary Hennigan wrote: There's at least one issue with tar that's kept me from using it, you don't want to use software compression with tar. In addition, you should have some sort of verification that the data written to tape is actually good. I personally have used BRU for over 5 years. Very flexible, and has never failed me once. http://www.estinc.com Regards, Mark === Mark A. Bialik (414) 290-6749 Network/Security Manager [EMAIL PROTECTED] Infinity HealthCare, Inc.Mequon, WI
Re: Tape backup software?
Gary Hennigan [EMAIL PROTECTED] writes: There's at least one issue with tar that's kept me from using it, you don't want to use software compression with tar. Tar compresses globally, which means that the whole of the archive is considered one big compressed file. If something happens to the beginning of the tape you wouldn't be able to recover any of the data on that tape. This is This depends on what you compress with. Gzip can't recover if there is an error, but the manual page of bzip2 says that it may be able to recover everything but a 900 Kb block around the error. (The block size 900 Kb seems to be configurable via a command-line option to the compressor.) Has anyone tried recovering damaged .tar.bz2 files? Any success / failure? (By the way, there is also afio, which is a command-line tool like tar but compresses one file at a time. The format, of course, isn't compatible with tar, and afio isn't as widely available on rescue disks, other Unices, and such.) -- -=- Rjs -=- [EMAIL PROTECTED]
Re: Tape backup software?
[EMAIL PROTECTED] (Riku Saikkonen) writes: Gary Hennigan [EMAIL PROTECTED] writes: There's at least one issue with tar that's kept me from using it, you don't want to use software compression with tar. Tar compresses globally, which means that the whole of the archive is considered one big compressed file. If something happens to the beginning of the tape you wouldn't be able to recover any of the data on that tape. This is This depends on what you compress with. Gzip can't recover if there is an error, but the manual page of bzip2 says that it may be able to recover everything but a 900 Kb block around the error. (The block size 900 Kb seems to be configurable via a command-line option to the compressor.) Has anyone tried recovering damaged .tar.bz2 files? Any success / failure? (By the way, there is also afio, which is a command-line tool like tar but compresses one file at a time. The format, of course, isn't compatible with tar, and afio isn't as widely available on rescue disks, other Unices, and such.) Which was mentioned in my original post, and conveniently snipped from what you copied in to your post. ;) Personally I like afbackup. Not too difficult to configure, and once installed you can almost totally forget about it. It also has a file-at-a-time compression scheme so my old 4mm, sans hardware compression, is more usable. Of course I have a small LAN in my home and afbackup is a client-server system well suited to working on a LAN. The trouble to set it up may not be worth it for a stand-alone system. The drawback is that afbackup might not be as portable as even afio and might not fit on a rescue floppy. Neither of which is an issue for me since I use a CD-R and a boot floppy for my rescue needs and I'd have no need to restore the backed up data from my home PC's to an outside system. I've also used dump on a lot of Unix systems. Unfortunately the last time I tried the GNU/Linux version it wouldn't back up FAT partitions and so wasn't suited to my needs. Gary
Re: Tape backup software?
Gary Hennigan [EMAIL PROTECTED] writes: Has anyone tried recovering damaged .tar.bz2 files? Any success / failure? I'd also like to know about this. (By the way, there is also afio, which is a command-line tool like tar but compresses one file at a time. The format, of course, isn't compatible with tar, and afio isn't as widely available on rescue disks, other Unices, and such.) Using it here. No problems yet, though it would be nice to have a self-booting, fully automatic recovery solution. I mean, one that's *free*. I've also used dump on a lot of Unix systems. Unfortunately the last time I tried the GNU/Linux version it wouldn't back up FAT partitions and so wasn't suited to my needs. Dump on Linux is specific to the ext2 filesystem. :-( I'd try it, but I'm using reiserfs on one partition. This came over the reiserfs mailing list a couple times in the last few weeks. It fits nicely into this topic: http://reality.sgi.com/zwicky_neu/testdump.doc.html Jesse -- For by grace you have been saved through faith, and that not of yourselves; it is the gift of God, not of works, lest anyone should boast. http://members.home.net/jmjacobsen1/glc/
Re: Tape backup software?
On Mon, Jul 24, 2000 at 04:43:42PM -0500, Kelly Corbin wrote: Has anyone had much experience w/ tape backup in Linux? I am looking for tape backup software and was wondering if anyone knew which was the best. Any input would be appreciated. It would be for an ATAPI tape backup drive. THANKS! Kelly On the open source side of things, I'm a big fan of Amanda. You can find the original source and stuff at ftp://ftp.cs.umd.edu/pub/amanda, or at http://www.amanda.org/. On the closed source side of things, I'm a HUGE fan of Veritas' NetBackup product. Sadly, the current version supports Linux as a client, not a backup master, or media server. If you've got a lot of things to backup, I like the distributed Veritas scheme of things. It's pretty expensive, though. I've used both extensively, and recommend them. -db dave brookshire chief engineer eAgents.com [EMAIL PROTECTED] (703)383-6740 x120
Re: Tape backup software?
Tar! -chris On Mon, 24 Jul 2000, Kelly Corbin wrote: Has anyone had much experience w/ tape backup in Linux? I am looking for tape backup software and was wondering if anyone knew which was the best. Any input would be appreciated. It would be for an ATAPI tape backup drive. THANKS! Kelly -- -- Kelly Corbin -- [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Tape backup software?
Krzys Majewski [EMAIL PROTECTED] writes: Tar! -chris On Mon, 24 Jul 2000, Kelly Corbin wrote: Has anyone had much experience w/ tape backup in Linux? I am looking for tape backup software and was wondering if anyone knew which was the best. Any input would be appreciated. It would be for an ATAPI tape backup drive. THANKS! With Linux the device doesn't really matter in most cases, so your question boils down to what is a good backup solution. The answer depends on the situation (as always ;-). I'm using tob with afio to backup my users (all ten or so of them). Wrote some simple scripts for monthly full, weekly differential and daily incremental backups and things work just fine. The archives are written to external HD right now, but I may change to CD-RW or MO disk. You may also want to look at dump, taper, kbackup, afbackup and/or amanda. The latter two seemed a bit overkill in my situation. Hope this helps, -- Olaf Meeuwissen Epson Kowa Corporation, Research and Development
RE: Tape backup software?
I have to say that i find that tar covers all bases pretty well ... depends what you're used to I guess. tks Andrew -Original Message- From: Olaf Meeuwissen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2000 10:47 AM To: Krzys Majewski Cc: Kelly Corbin; Debian Userslist Subject: Re: Tape backup software? Krzys Majewski [EMAIL PROTECTED] writes: Tar! -chris On Mon, 24 Jul 2000, Kelly Corbin wrote: Has anyone had much experience w/ tape backup in Linux? I am looking for tape backup software and was wondering if anyone knew which was the best. Any input would be appreciated. It would be for an ATAPI tape backup drive. THANKS! With Linux the device doesn't really matter in most cases, so your question boils down to what is a good backup solution. The answer depends on the situation (as always ;-). I'm using tob with afio to backup my users (all ten or so of them). Wrote some simple scripts for monthly full, weekly differential and daily incremental backups and things work just fine. The archives are written to external HD right now, but I may change to CD-RW or MO disk. You may also want to look at dump, taper, kbackup, afbackup and/or amanda. The latter two seemed a bit overkill in my situation. Hope this helps, -- Olaf Meeuwissen Epson Kowa Corporation, Research and Development -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Tape Backup
Paulo: You'll find dump and restore at http://perso.cybercable.fr/pop;. Dean Hi, where is dump and restore commands (in what package)? Thanks, PH PS: How I mark the tape at its end? Is it necessary? Quoting Ron Farrer ([EMAIL PROTECTED]): Paulo Henrique Baptista de Oliveira ([EMAIL PROTECTED]) wrote: any one has a tape backup to share with me. I tried kbackup software and cant backup using a tape. How about dump and restore? JMHO, Ron -- Email: mailto:[EMAIL PROTECTED] Home: http://www.farrer.net/~rbf/ Alpha Linux Organization: http://www.alphalinux.org Alpha News: http://www.alphanews.net Bellingham Linux Users Group: http://www.blug.org -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Tape Backup
Paulo Henrique Baptista de Oliveira ([EMAIL PROTECTED]) wrote: any one has a tape backup to share with me. I tried kbackup software and cant backup using a tape. How about dump and restore? JMHO, Ron -- Email: mailto:[EMAIL PROTECTED] Home: http://www.farrer.net/~rbf/ Alpha Linux Organization: http://www.alphalinux.org Alpha News: http://www.alphanews.net Bellingham Linux Users Group: http://www.blug.org pgptyc2ypkfTO.pgp Description: PGP signature
Re: Tape Backup
Hi, where is dump and restore commands (in what package)? Thanks, PH PS: How I mark the tape at its end? Is it necessary? Quoting Ron Farrer ([EMAIL PROTECTED]): Paulo Henrique Baptista de Oliveira ([EMAIL PROTECTED]) wrote: any one has a tape backup to share with me. I tried kbackup software and cant backup using a tape. How about dump and restore? JMHO, Ron -- Email: mailto:[EMAIL PROTECTED] Home: http://www.farrer.net/~rbf/ Alpha Linux Organization: http://www.alphalinux.org Alpha News: http://www.alphanews.net Bellingham Linux Users Group: http://www.blug.org
Re: Tape Backup
Paulo Henrique Baptista de Oliveira ([EMAIL PROTECTED]) wrote: where is dump and restore commands (in what package)? dump is the package name for both. PS: How I mark the tape at its end? Is it necessary? usage: dump [-0123456789acMnSu] [-B records] [-b blocksize] [-d density] [-e inode#] [-f file] [-h level] [-s feet] [-T date] filesystem dump [-W | -w] -s and -d are what you would want to use to tell dump how long the tape is. HTH, Ron -- Email: mailto:[EMAIL PROTECTED] Home: http://www.farrer.net/~rbf/ Alpha Linux Organization: http://www.alphalinux.org Alpha News: http://www.alphanews.net Bellingham Linux Users Group: http://www.blug.org pgp9Zu9R4Jj7O.pgp Description: PGP signature
Re: Tape Backup Problem
I had the same problem, but I had a scsi HP and I only tried taper. I was using 2.2.12 with slink. Kevin - Original Message - From: JoeCool [EMAIL PROTECTED] To: debian-isp@lists.debian.org; debian-user@lists.debian.org Cc: [EMAIL PROTECTED] Sent: Tuesday, May 16, 2000 10:18 AM Subject: Tape Backup Problem Hi All, I've been trying to get tape backup working on a server and almost everytime I attempt to backup files to the tape drive the machine goes crazy. The load goes sky high (way over 100.00) and it stops responding to everything. Maybe someone out there has some insight on the problem. Specs: Debian 2.0 with Kernel 2.2.2 running on a Dell with a Quantum DLT4000 tape drive. Details: I attempted to do a test backup a 150meg directory to tape using the tape backup program Taper After about 10min of it running (46% done) the machines load starting going up and up. I tried to stop the program, and kill it but was unable to since machine stop responding to my commands via telnet. The load was very high... -- load average: 246.98, 267.86, 210.28 Then i couldn't even telnet to the machine or anything. Everything appeared to be down, except that I could ping the machine. Finally about 30min later I was able to telnet back into the machine. I noticed several of the following messages in the messages file and also when i typed dmesg -- May 3 14:23:23 taz kernel: SCSI host 0 abort (pid 228089503) timed out - resetting May 3 14:23:23 taz kernel: SCSI bus is being reset for host 0 channel 0. -- So a week later I attempted again with tape backup using a different program. this time i used Tob. I did a small test backup using a 20meg directory. It appeared to work fine. I was able to backup and restore the files. I then attempted to backup a 2gig directory. After about 15min the machine went crazy like last time and load went up and I got locked out so I had to have someone reboot the machine. Didn't see any error messages in any logs or anything. Anyone ever expierance this problem? Anyone have any ideas what might be causing it? I been trying to figure it out for a couple weeks now with no luck. Any help is appreciated. TIA -Joe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Tape Backup Problem
Debian 2.0 with Kernel 2.2.2 running on a Dell with a Quantum DLT4000 tape drive. Details: I attempted to do a test backup a 150meg directory to tape using the tape backup program Taper After about 10min of it running (46% I had the same experience on kernel 2.0.38 with a HP DDS-2 when using taper and/or kbackup. Settled down for plain tar. hth, rw -- / Robert Waldner [EMAIL PROTECTED] | Phone: +43 1 89933 0 Fax x533 \ \KPNQwest/AT tech staff| Diefenbachg. 35 A-1150 Wien /
Re: Tape Backup Problem
On 05/16/00, Robert Waldner addressed Re: Tape Backup Problem: I had the same experience on kernel 2.0.38 with a HP DDS-2 when using taper and/or kbackup. Settled down for plain tar. Plain tar is nice in some ways, but unless there's hardware compression, using compression is risky. I've been using afio, which allows you to compress file-by-file. Like tar, it fits nicely into scripts, and creates reasonably accessible archives. -- Jesse Jacobsen, Pastor [EMAIL PROTECTED] Grace Lutheran Church (ELS) http://www.jvlnet.com/~jjacobsen/ Madison, Wisconsin GnuPG public key ID: 2E3EBF13
Re: Tape Backup And Block Size
Chris Hoover [EMAIL PROTECTED] writes: First, it'd help if you wrapped the lines in your posts. Those long lines make it look like crap in a lot of newsreaders. | Does anyone know how to find out what the proper block size is for a | tape drive? I have an Exabyte 8200 scsi tape drive (8mm 2.5 gig), | that I bought used with no documentation. I've looked at the exabyte | home page, but did not see any mention of block size. | | I've tried to backup with dump, but it is not getting the right | block size. This is causing it to tell me I need multiple tapes when | everything should fit on one. | It's not an issue of block size, you just need to tell dump what the size of your tape is. I don't recall the specifics of the Debian dump command. Some versions of dump simply support specifying how many kbytes will fit on the tape with the C option. On others you have to figure out the correct length (s) and density (d) specifier. So if you have an 8200 I believe the tape capacity is 2.2GB? Here's a snippet out of the IRIX man page for dump that you might find useful: /Begin quote of IRIX dump man page If you do not wish to use the C option, then when using drives with no interrecord gaps (that is, almost every type except 9 track), use the c option and the formula capacity in bytes = 7 * densityvalue * lengthvalue and round down a bit to be conservative (allowing for block rewrites and so on). The density should be kept under 10 to avoid overflows in the capacity calculations. Thus, for a DAT drive with a 90-meter tape (2 * 10^9 capacity), one might use: 20 = 7 * 47619 * 6000 or, rounding down dump 0csd 6000 47000 /End quote of IRIX dump man page That part about the c option may not be relevant to Debian. On IRIX the c option is used to indicate a cartridge type device (e.g., QIC, 8mm, 4mm, etc.). Other arguments may also differ between Debian and IRIX so you'll want to read the man page for dump on Debian to see how that corresponds to the above. | I've been working on this for a while, and haven't gotten it right | yet. And to make matters worse, I lost my 5.1 gig maxtor about 2 | weeks ago w/o a good backup. So I really want to get this figured out | to prevent any more catastrophic data loss. It's rather confusing. Personally, I'd recommend tar. It doesn't have this problem, it just keeps writing to the device until it gets an EOF from that device, and it has the advantage of being portable to other systems running GNU Tar and it's able to backup any type of file system, including DOS FAT, something dump can't do. The other option, with which I'm not that familiar, is cpio. It's also gotten high marks as a backup utility among Linux users. Good Luck, Gary
Re: tape backup regiment
On Wed, 11 Mar 1998, Jens B. Jorgensen wrote: If you want to do a full backup each night the cron job is a snap, just 'dump 0f /dev/tape-device'. As to the restore disk this is something I've Rob Goodwin wrote: I would like to set up a fail-safe backup system for a linux box that i am putting together for a client of mine. Ideally the client will The dump distributed with Debian 1.3 is not reliable. Use other tools. The newer dump in Hamm requires the new libs. This looked like more than a hour project, so I went to cpio backups a'la System V. rob [EMAIL PROTECTED] -- E-mail the word unsubscribe to [EMAIL PROTECTED] TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to [EMAIL PROTECTED]
Re: tape backup regiment
If you want to do a full backup each night the cron job is a snap, just 'dump 0f /dev/tape-device'. As to the restore disk this is something I've wanted to set up for a while. I haven't made it a priority though because I know I can restore by hand. This shouldn't be too hard though: there's a package which creates the boot disk and the main thing you need to do is get 'restore' on the boot disk. Alternatively, you could use tar. Things get more complicated when you consider that if there's a disk crash you'll have to handle the partitioning a file system creation. This would take some pretty fancy logic. Ultimately this is probably not something which can be done perfectly. I think your best bet is to put all the utilities onto the boot disk and assume you'll have to walk the customer through a restore. Better yet, perhaps you could get a boot disk set up which would run a getty and allow you to log in over a modem and do the restore yourself, simply telling the customer when to swap in tapes? Rob Goodwin wrote: I would like to set up a fail-safe backup system for a linux box that i am putting together for a client of mine. Ideally the client will just have to make sure there is a new tape in there every other day and a cron will take care of backing up the entire 2G drive to tape sometime when everyone else is sleeping. In the event of a drive crash I would like to have some kind of a boot disk handy such that once the drive is replaced they can run a script to fdisk/format/restore from tape. Has anyone heard of or done something like this? how? any suggestions on tape hardware? thanks, rob -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- Jens B. Jorgensen [EMAIL PROTECTED] -- E-mail the word unsubscribe to [EMAIL PROTECTED] TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to [EMAIL PROTECTED] .
Re: Tape backup
I am using an iomega jaz removable disk cartridge for backup. I got the scsi internal version for $299 with one disk. The disks aren't cheap: $100 for 1GB, but they are fast and much more convenient than tape and useful for much more than backup. Compare them to $40 for a travan cartrige and there doesn't seem to be much reason to use tape any longer unless you are going to DAT or 8mm with their multi-gigabyte capacity. I've been testing Debian installs by installing the entire system on the jaz cartrige. I also use them for sneakernet to carry 1GB from work to home and back. Bruce -- Bruce Perens K6BP [EMAIL PROTECTED] 510-215-3502 Finger [EMAIL PROTECTED] for PGP public key. PGP fingerprint = 88 6A 15 D0 65 D4 A3 A6 1F 89 6A 76 95 24 87 B3 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Tape backup
On Fri, Jun 13, 1997 at 03:56:00PM -0800, Bruce Perens wrote: I am using an iomega jaz removable disk cartridge for backup. I got the scsi internal version for $299 with one disk. The disks aren't cheap: $100 for 1GB, but they are fast and much more convenient than tape and useful for much more than backup. Compare them to $40 for a travan cartrige and there doesn't seem to be much reason to use tape any longer unless you are going to DAT or 8mm with their multi-gigabyte capacity. I've been testing Debian installs by installing the entire system on the jaz cartrige. I also use them for sneakernet to carry 1GB from work to home and back. Well, a $40 Travan cartridge can store 1.6Gb or 2Gb in the right flavours, and the cartridges are a bit cheaper. The speed would have to be better then the Iomega floppy-controller tape drives though ... Hamish -- Hamish Moffatt, StudIEAust[EMAIL PROTECTED] Student, computer science computer systems engineering.3rd year, RMIT. http://hamish.home.ml.org/ (PGP key here) CPOM: [ ] 47% The opposite of a profound truth may well be another profound truth. --Bohr -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .