1 |
> Disk ARchiver command line questions |
2 |
> From: Thufir <hawat.thufir <at> gmail.com> |
3 |
> Subject: Disk ARchiver command line questions |
4 |
> Newsgroups: gmane.linux.redhat.fedora.general |
5 |
> Date: 2007-10-17 09:09:22 GMT |
6 |
> |
7 |
> I've been reading the man pages, but command line stuff isn't my forte :( |
8 |
> |
9 |
> I want to backup some data using DAR (Disk ARchive) and here's what I |
10 |
> have so far: |
11 |
|
12 |
|
13 |
<Zipped commands and DAR result> |
14 |
|
15 |
|
16 |
> Starting with the least important questions and increasing in |
17 |
> significance: |
18 |
> |
19 |
> 1.) How can I change the command so the .dar files are named backup. |
20 |
> [n].dar instead of thufir.[n].dar? |
21 |
|
22 |
Add "-c backup" |
23 |
|
24 |
> 2.) As it stands, it's going to take 862 slices to backup this data |
25 |
> without compression? I asked for slices of 690M, why is it only showing |
26 |
> as 106M for this particular slice? |
27 |
|
28 |
Not sure, am guessing it's not going through the directory tree. |
29 |
|
30 |
> 3.) Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc |
31 |
> using, for example, the builti-in nautilus burner? |
32 |
|
33 |
I would suggest writing the *.dar files to disc (CD-R) in the same way as |
34 |
how you'd write normal datafiles. |
35 |
Eg. do NOT treat the *.dar files as ISO-images. Strange things can happen |
36 |
this way. |
37 |
|
38 |
> 4.) How do I get DAR to generate the second slice? |
39 |
|
40 |
Not entirely sure, but the following command works for me: |
41 |
|
42 |
dar -m 256 -y -s 690M -D -R /mnt/VolGroup00/LogVol00/home/thufir/ -c |
43 |
thufir -Z "*.zip" -Z "*.gz" -Z "*.bz2" -Z "*.mp3" -Z "*.jpg" |
44 |
|
45 |
You would probably want to add "--beep --pause" to it. The "-Z" options |
46 |
are there to tell dar not to bother trying to compress already compressed |
47 |
files. (makes it faster) |
48 |
|
49 |
> I know that these questions are answered in the manual, and I've read the |
50 |
> manual, but they still elude me. |
51 |
|
52 |
The manual has alot of examples, I got it working for me by taking the |
53 |
examples and then editing it to suit my needs, rather then trying to build |
54 |
the command myself. |
55 |
|
56 |
Also, the "--tree-format" option isn't in the man-page of dar on my system. |
57 |
|
58 |
Kind regards, |
59 |
|
60 |
Joost Roeleveld |
61 |
|
62 |
-- |
63 |
gentoo-user@g.o mailing list |