This is a discussion on tar backup to tape question within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> Hi all, I'm backupping data in /home to tape using tar. But I get it only working when I ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I'm backupping data in /home to tape using tar. But I get it only working when I backup the whole /home directory with tar -cf /dev/rst0 /home, while I would like to backup not all directories in /home, but only a selection. I tried to use several tar commands in a row with tar -cf /dev/nrst0 ..., but only from the first tar I can restore data What do I do wrong? Or do I ask for something impossible? -- Dimitry Schoenmakers The Netherlands ===+=====+=== Please remove the nospam part from my e-mail when replying directly to me. Thanks. |
| |||
| In article <3faa0949$0$150$e4fe514c@dreader5.news.xs4all.nl >, Dekkers Intermediair wrote: > Hi all, > > I'm backupping data in /home to tape using tar. > But I get it only working when I backup the whole /home directory with > tar -cf /dev/rst0 /home, > while I would like to backup not all directories in /home, but only a > selection. I tried to use several tar commands in a row with tar -cf > /dev/nrst0 ..., but only from the first tar I can restore data > > What do I do wrong? Or do I ask for something impossible? > Hi, first of all have a look at the man-page for other options of tar. Try to run #tar -cf /dev/rst0 /home/dir1 /home/dir2 ... That will do the job. georg |
| |||
| "Georg Klein" <backspace@freenet.de> schreef in bericht news:slrnbqk2uu.b6u.backspace@slacky.gkln.net... > In article <3faa0949$0$150$e4fe514c@dreader5.news.xs4all.nl >, Dekkers Intermediair wrote: > > Hi all, > > > > I'm backupping data in /home to tape using tar. > > But I get it only working when I backup the whole /home directory with > > tar -cf /dev/rst0 /home, > > while I would like to backup not all directories in /home, but only a > > selection. I tried to use several tar commands in a row with tar -cf > > /dev/nrst0 ..., but only from the first tar I can restore data > > > > What do I do wrong? Or do I ask for something impossible? > > > > Hi, > > first of all have a look at the man-page for other options > of tar. > Try to run > #tar -cf /dev/rst0 /home/dir1 /home/dir2 ... > That will do the job. > > georg Oeps...is it that easy...Sorry! I did look at the man pages, but overlooked that option somehow. My apologies for that. Is it also possible to read the directories to be backupped from a textfile? Any good pages about the (im)possibilities of tar backup to tape, outside the tar manpage? What other possibilities/tools to backup to tape are there, besides tar and dump/restore? Thanks again! -Dimitry |
| |||
| See my previous reply to the group, where I asked for possible backup solutions. One I found is: http://www.bacula.org/index.html. Tested on FreeBSD, not ported to OpenBSD ... yet (or at least not reported on the site). Has anyone out there experience with/a port of bacula on/for OpenBSD? Thanks again! -Dimitry |
| |||
| Dekkers Intermediair <ds@nospam.d-i.nl> wrote: >> Try to run >> #tar -cf /dev/rst0 /home/dir1 /home/dir2 ... >> That will do the job. .... > What other possibilities/tools to backup to tape are there, besides tar and > dump/restore? Another option is to combine the mt command with tar or dump/restore. Among other things, mt allows you to write EOF values to the tape, and to seek forward and backward on the tape for EOFs. That lets you put more than one tar or dump on the same tape. For more details see # man mt - Eric |
| |||
| I still have a lot to learn... ....and one of them is how to read... My apologies. -Dimitry "MK" <mkhomo@ostecs.com> schreef in bericht news:bof6kh024cn@enews4.newsguy.com... > Dekkers Intermediair wrote: > > Is it also possible to read the directories to be backupped from a textfile? > > 'tar cvf archive_name -I textfile <other_files_to_archive ...>' > > As indicated in 'man tar'. > > MK > |
| ||||
| Dekkers Intermediair wrote: > See my previous reply to the group, where I asked for possible backup > solutions. > > One I found is: http://www.bacula.org/index.html. > > Tested on FreeBSD, not ported to OpenBSD ... yet (or at least not reported > on the site). > > Has anyone out there experience with/a port of bacula on/for OpenBSD? > Well, it builds cleanly on OBSD 3.1, but I haven't tested it. This is in reasonable alignment with http://www.bacula.org/systems.html. I've used ARCserveIT in the past, but I don't need such a thing at home, so I can't give a fuller report on Bacula than that. |