Thufir <[EMAIL PROTECTED]> 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

-- 
[EMAIL PROTECTED] mailing list

Reply via email to