Gentoo Archives: gentoo-user

From: Thufir <hawat.thufir@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Disk ARchiver command line questions
Date: Sat, 27 Oct 2007 01:01:13
Message-Id: bf6b6d5c0710261755k4ca15fdt8929300678bca3c1@mail.gmail.com
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 arrakis ~ #
13 arrakis ~ #
14 arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/
15 total 24K
16 drwxr-xr-x 3 root root 4.0K Oct 17 01:55 .
17 drwxr-xr-x 24 500 500 4.0K Oct 16 22:47 ..
18 drwx------ 30 500 500 4.0K Oct 16 22:47 thufir
19 arrakis ~ #
20 arrakis ~ # dar --create /mnt/VolGroup00/LogVol00/home/thufir/ --slice
21 690M --tree-format --beep --pause
22
23 --------------------------------------------
24 862 inode(s) saved
25 with 0 hard link(s) recorded
26 0 inode(s) changed at the moment of the backup
27 0 inode(s) not saved (no inode/file change)
28 0 inode(s) failed to save (filesystem error)
29 0 inode(s) ignored (excluded by filters)
30 0 inode(s) recorded as deleted from reference backup
31 --------------------------------------------
32 Total number of inode considered: 862
33 --------------------------------------------
34 EA saved for 0 inode(s)
35 --------------------------------------------
36 arrakis ~ #
37 arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/total 106M
38 drwxr-xr-x 3 root root 4.0K Oct 17 01:57 .
39 drwxr-xr-x 24 500 500 4.0K Oct 16 22:47 ..
40 drwx------ 30 500 500 4.0K Oct 16 22:47 thufir
41 -rw-r--r-- 1 root root 106M Oct 17 01:57 thufir.1.dar
42 arrakis ~ #
43 arrakis ~ # date
44 Wed Oct 17 01:58:01 PDT 2007
45 arrakis ~ #
46
47 Starting with the least important questions and increasing in
48 significance:
49
50 1.) How can I change the command so the .dar files are named backup.
51 [n].dar instead of thufir.[n].dar?
52
53 2.) As it stands, it's going to take 862 slices to backup this data
54 without compression? I asked for slices of 690M, why is it only showing
55 as 106M for this particular slice?
56
57 3.) Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
58 using, for example, the builti-in nautilus burner?
59
60 4.) How do I get DAR to generate the second slice?
61
62 I know that these questions are answered in the manual, and I've read the
63 manual, but they still elude me.
64
65 thanks,
66
67 Thufir
68
69 ps: what's good about DAR, you ask?
70
71 DIRECT ACCESS
72
73
74 even using compression dar has not to read the whole backup to extract
75 one file. This way if you just want to restore one file from a huge
76 backup, the process will be much faster than using tar.
77 --
78 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Disk ARchiver command line questions Joost Roeleveld <joost@××××××××××××.uk>
[gentoo-user] Re: Disk ARchiver command line questions Alexander Skwar <listen@×××××××××××××××.name>