* [gentoo-user] Disk ARchiver command line questions
@ 2007-10-27 0:55 Thufir
2007-11-02 15:17 ` Joost Roeleveld
2007-11-13 12:28 ` Alexander Skwar
0 siblings, 2 replies; 4+ messages in thread
From: Thufir @ 2007-10-27 0:55 UTC (permalink / raw
To: gentoo-user
Disk ARchiver command line questions
From: Thufir <hawat.thufir <at> gmail.com>
Subject: Disk ARchiver command line questions
Newsgroups: gmane.linux.redhat.fedora.general
Date: 2007-10-17 09:09:22 GMT
I've been reading the man pages, but command line stuff isn't my forte :(
I want to backup some data using DAR (Disk ARchive) and here's what I
have so far:
arrakis ~ #
arrakis ~ #
arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/
total 24K
drwxr-xr-x 3 root root 4.0K Oct 17 01:55 .
drwxr-xr-x 24 500 500 4.0K Oct 16 22:47 ..
drwx------ 30 500 500 4.0K Oct 16 22:47 thufir
arrakis ~ #
arrakis ~ # dar --create /mnt/VolGroup00/LogVol00/home/thufir/ --slice
690M --tree-format --beep --pause
--------------------------------------------
862 inode(s) saved
with 0 hard link(s) recorded
0 inode(s) changed at the moment of the backup
0 inode(s) not saved (no inode/file change)
0 inode(s) failed to save (filesystem error)
0 inode(s) ignored (excluded by filters)
0 inode(s) recorded as deleted from reference backup
--------------------------------------------
Total number of inode considered: 862
--------------------------------------------
EA saved for 0 inode(s)
--------------------------------------------
arrakis ~ #
arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/total 106M
drwxr-xr-x 3 root root 4.0K Oct 17 01:57 .
drwxr-xr-x 24 500 500 4.0K Oct 16 22:47 ..
drwx------ 30 500 500 4.0K Oct 16 22:47 thufir
-rw-r--r-- 1 root root 106M Oct 17 01:57 thufir.1.dar
arrakis ~ #
arrakis ~ # date
Wed Oct 17 01:58:01 PDT 2007
arrakis ~ #
Starting with the least important questions and increasing in
significance:
1.) How can I change the command so the .dar files are named backup.
[n].dar instead of thufir.[n].dar?
2.) As it stands, it's going to take 862 slices to backup this data
without compression? I asked for slices of 690M, why is it only showing
as 106M for this particular slice?
3.) Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
using, for example, the builti-in nautilus burner?
4.) How do I get DAR to generate the second slice?
I know that these questions are answered in the manual, and I've read the
manual, but they still elude me.
thanks,
Thufir
ps: what's good about DAR, you ask?
DIRECT ACCESS
even using compression dar has not to read the whole backup to extract
one file. This way if you just want to restore one file from a huge
backup, the process will be much faster than using tar.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Disk ARchiver command line questions
2007-10-27 0:55 [gentoo-user] Disk ARchiver command line questions Thufir
@ 2007-11-02 15:17 ` Joost Roeleveld
2007-11-13 6:52 ` [gentoo-user] " Thufir
2007-11-13 12:28 ` Alexander Skwar
1 sibling, 1 reply; 4+ messages in thread
From: Joost Roeleveld @ 2007-11-02 15:17 UTC (permalink / raw
To: gentoo-user
> Disk ARchiver command line questions
> From: Thufir <hawat.thufir <at> gmail.com>
> Subject: Disk ARchiver command line questions
> Newsgroups: gmane.linux.redhat.fedora.general
> Date: 2007-10-17 09:09:22 GMT
>
> I've been reading the man pages, but command line stuff isn't my forte :(
>
> I want to backup some data using DAR (Disk ARchive) and here's what I
> have so far:
<Zipped commands and DAR result>
> Starting with the least important questions and increasing in
> significance:
>
> 1.) How can I change the command so the .dar files are named backup.
> [n].dar instead of thufir.[n].dar?
Add "-c backup"
> 2.) As it stands, it's going to take 862 slices to backup this data
> without compression? I asked for slices of 690M, why is it only showing
> as 106M for this particular slice?
Not sure, am guessing it's not going through the directory tree.
> 3.) Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
> using, for example, the builti-in nautilus burner?
I would suggest writing the *.dar files to disc (CD-R) in the same way as
how you'd write normal datafiles.
Eg. do NOT treat the *.dar files as ISO-images. Strange things can happen
this way.
> 4.) How do I get DAR to generate the second slice?
Not entirely sure, but the following command works for me:
dar -m 256 -y -s 690M -D -R /mnt/VolGroup00/LogVol00/home/thufir/ -c
thufir -Z "*.zip" -Z "*.gz" -Z "*.bz2" -Z "*.mp3" -Z "*.jpg"
You would probably want to add "--beep --pause" to it. The "-Z" options
are there to tell dar not to bother trying to compress already compressed
files. (makes it faster)
> I know that these questions are answered in the manual, and I've read the
> manual, but they still elude me.
The manual has alot of examples, I got it working for me by taking the
examples and then editing it to suit my needs, rather then trying to build
the command myself.
Also, the "--tree-format" option isn't in the man-page of dar on my system.
Kind regards,
Joost Roeleveld
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: Disk ARchiver command line questions
2007-11-02 15:17 ` Joost Roeleveld
@ 2007-11-13 6:52 ` Thufir
0 siblings, 0 replies; 4+ messages in thread
From: Thufir @ 2007-11-13 6:52 UTC (permalink / raw
To: gentoo-user
On Fri, 02 Nov 2007 15:17:59 +0000, Joost Roeleveld wrote:
>> 2.) As it stands, it's going to take 862 slices to backup this data
>> without compression? I asked for slices of 690M, why is it only
>> showing as 106M for this particular slice?
>
> Not sure, am guessing it's not going through the directory tree.
>
>> 3.) Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
>> using, for example, the builti-in nautilus burner?
>
> I would suggest writing the *.dar files to disc (CD-R) in the same way
> as how you'd write normal datafiles.
> Eg. do NOT treat the *.dar files as ISO-images. Strange things can
> happen this way.
>
>> 4.) How do I get DAR to generate the second slice?
>
> Not entirely sure, but the following command works for me:
>
> dar -m 256 -y -s 690M -D -R /mnt/VolGroup00/LogVol00/home/thufir/ -c
> thufir -Z "*.zip" -Z "*.gz" -Z "*.bz2" -Z "*.mp3" -Z "*.jpg"
>
> You would probably want to add "--beep --pause" to it. The "-Z" options
> are there to tell dar not to bother trying to compress already
> compressed files. (makes it faster)
Thank you for the information, I'll post my results :)
-Thufir
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: Disk ARchiver command line questions
2007-10-27 0:55 [gentoo-user] Disk ARchiver command line questions Thufir
2007-11-02 15:17 ` Joost Roeleveld
@ 2007-11-13 12:28 ` Alexander Skwar
1 sibling, 0 replies; 4+ messages in thread
From: Alexander Skwar @ 2007-11-13 12:28 UTC (permalink / raw
To: gentoo-user
Thufir <hawat.thufir@gmail.com> wrote:
> Disk ARchiver command line questions
> From: Thufir <hawat.thufir <at> gmail.com>
> Subject: Disk ARchiver command line questions
> Newsgroups: gmane.linux.redhat.fedora.general
> Date: 2007-10-17 09:09:22 GMT
>
> I've been reading the man pages, but command line stuff isn't my forte :(
>
> I want to backup some data using DAR (Disk ARchive) and here's what I
> have so far:
>
> arrakis ~ #
> arrakis ~ #
> arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/
> total 24K
> drwxr-xr-x 3 root root 4.0K Oct 17 01:55 .
> drwxr-xr-x 24 500 500 4.0K Oct 16 22:47 ..
> drwx------ 30 500 500 4.0K Oct 16 22:47 thufir
> arrakis ~ #
> arrakis ~ # dar --create /mnt/VolGroup00/LogVol00/home/thufir/ --slice
> 690M --tree-format --beep --pause
>
> --------------------------------------------
> 862 inode(s) saved
> with 0 hard link(s) recorded
> 0 inode(s) changed at the moment of the backup
> 0 inode(s) not saved (no inode/file change)
> 0 inode(s) failed to save (filesystem error)
> 0 inode(s) ignored (excluded by filters)
> 0 inode(s) recorded as deleted from reference backup
> --------------------------------------------
> Total number of inode considered: 862
> --------------------------------------------
> EA saved for 0 inode(s)
> --------------------------------------------
> arrakis ~ #
> arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/total 106M
> drwxr-xr-x 3 root root 4.0K Oct 17 01:57 .
> drwxr-xr-x 24 500 500 4.0K Oct 16 22:47 ..
> drwx------ 30 500 500 4.0K Oct 16 22:47 thufir
> -rw-r--r-- 1 root root 106M Oct 17 01:57 thufir.1.dar
> arrakis ~ #
> arrakis ~ # date
> Wed Oct 17 01:58:01 PDT 2007
> arrakis ~ #
>
> Starting with the least important questions and increasing in
> significance:
>
> 1.) How can I change the command so the .dar files are named backup.
> [n].dar instead of thufir.[n].dar?
By using the --create option :) I use:
--create /.backup/2007-11-13
Result: Files named 2007-11-13.1.dar, 2007-11-13.2.dar ... get created
in the /.backup directory.
> 2.) As it stands, it's going to take 862 slices to backup this data
> without compression?
No. What makes you think that?
> I asked for slices of 690M, why is it only showing
> as 106M for this particular slice?
Because all of your data is only 106M "big", after compression.
> 3.) Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
> using, for example, the builti-in nautilus burner?
Yes. If you trust CD-R, that is :)
> 4.) How do I get DAR to generate the second slice?
It does it automatically, as soon as the slice reaches the
specified maximum size.
> I know that these questions are answered in the manual,
Yes.
PS: There's a dar mailing list as well. Dennis, the author of
dar, reads it and very quickly responds there as well; always
very helpful!
Alexander Skwar
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-13 12:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-27 0:55 [gentoo-user] Disk ARchiver command line questions Thufir
2007-11-02 15:17 ` Joost Roeleveld
2007-11-13 6:52 ` [gentoo-user] " Thufir
2007-11-13 12:28 ` Alexander Skwar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox