1 |
Thufir <hawat.thufir@×××××.com> wrote: |
2 |
|
3 |
> Disk ARchiver command line questions |
4 |
> From: Thufir <hawat.thufir <at> gmail.com> |
5 |
> Subject: Disk ARchiver command line questions |
6 |
> Newsgroups: gmane.linux.redhat.fedora.general |
7 |
> Date: 2007-10-17 09:09:22 GMT |
8 |
> |
9 |
> I've been reading the man pages, but command line stuff isn't my forte :( |
10 |
> |
11 |
> I want to backup some data using DAR (Disk ARchive) and here's what I |
12 |
> have so far: |
13 |
> |
14 |
> arrakis ~ # |
15 |
> arrakis ~ # |
16 |
> arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/ |
17 |
> total 24K |
18 |
> drwxr-xr-x 3 root root 4.0K Oct 17 01:55 . |
19 |
> drwxr-xr-x 24 500 500 4.0K Oct 16 22:47 .. |
20 |
> drwx------ 30 500 500 4.0K Oct 16 22:47 thufir |
21 |
> arrakis ~ # |
22 |
> arrakis ~ # dar --create /mnt/VolGroup00/LogVol00/home/thufir/ --slice |
23 |
> 690M --tree-format --beep --pause |
24 |
> |
25 |
> -------------------------------------------- |
26 |
> 862 inode(s) saved |
27 |
> with 0 hard link(s) recorded |
28 |
> 0 inode(s) changed at the moment of the backup |
29 |
> 0 inode(s) not saved (no inode/file change) |
30 |
> 0 inode(s) failed to save (filesystem error) |
31 |
> 0 inode(s) ignored (excluded by filters) |
32 |
> 0 inode(s) recorded as deleted from reference backup |
33 |
> -------------------------------------------- |
34 |
> Total number of inode considered: 862 |
35 |
> -------------------------------------------- |
36 |
> EA saved for 0 inode(s) |
37 |
> -------------------------------------------- |
38 |
> arrakis ~ # |
39 |
> arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/total 106M |
40 |
> drwxr-xr-x 3 root root 4.0K Oct 17 01:57 . |
41 |
> drwxr-xr-x 24 500 500 4.0K Oct 16 22:47 .. |
42 |
> drwx------ 30 500 500 4.0K Oct 16 22:47 thufir |
43 |
> -rw-r--r-- 1 root root 106M Oct 17 01:57 thufir.1.dar |
44 |
> arrakis ~ # |
45 |
> arrakis ~ # date |
46 |
> Wed Oct 17 01:58:01 PDT 2007 |
47 |
> arrakis ~ # |
48 |
> |
49 |
> Starting with the least important questions and increasing in |
50 |
> significance: |
51 |
> |
52 |
> 1.) How can I change the command so the .dar files are named backup. |
53 |
> [n].dar instead of thufir.[n].dar? |
54 |
|
55 |
By using the --create option :) I use: |
56 |
|
57 |
--create /.backup/2007-11-13 |
58 |
|
59 |
Result: Files named 2007-11-13.1.dar, 2007-11-13.2.dar ... get created |
60 |
in the /.backup directory. |
61 |
|
62 |
> 2.) As it stands, it's going to take 862 slices to backup this data |
63 |
> without compression? |
64 |
|
65 |
No. What makes you think that? |
66 |
|
67 |
> I asked for slices of 690M, why is it only showing |
68 |
> as 106M for this particular slice? |
69 |
|
70 |
Because all of your data is only 106M "big", after compression. |
71 |
|
72 |
> 3.) Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc |
73 |
> using, for example, the builti-in nautilus burner? |
74 |
|
75 |
Yes. If you trust CD-R, that is :) |
76 |
|
77 |
> 4.) How do I get DAR to generate the second slice? |
78 |
|
79 |
It does it automatically, as soon as the slice reaches the |
80 |
specified maximum size. |
81 |
|
82 |
> I know that these questions are answered in the manual, |
83 |
|
84 |
Yes. |
85 |
|
86 |
PS: There's a dar mailing list as well. Dennis, the author of |
87 |
dar, reads it and very quickly responds there as well; always |
88 |
very helpful! |
89 |
|
90 |
Alexander Skwar |
91 |
|
92 |
-- |
93 |
gentoo-user@g.o mailing list |