kdar

System Software

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

The "KDE Disk archiver" (KDar) is a disk-based archiving and backup utility.

This is the eighth release in the KDar-2.0 series. KDar-2.0.7 fixes a bug in the command export -A option where archive extensions were not trimmed.

Peter Landgren has provided an update of the Swedish translation which corrects some misspellings.

Enjoy,
JB

If you have problems opening an archive, go to the encryption module of the main configuration dialog and make sure that the encryption type matches the one used to create the archive (i.e. "none", or "blowfish").

Encryption detection will be automated in a future KDar release.

See the Changelog for details.

KDar-2.0.7 requires dar-2.2.x or greater (libdar 3.0.x)(2.2.3 recommended) and at least kde-3.4.x (kde-3.3.x might work).

If you experience problems compiling, please check out the kdar-users mailing list archives first.
(kdar-users@lists.sourceforge.net).

The KDar-2.0.7 source is available at
http://sourceforge.net/projects/kdar

Cheers,
JB

Detailed description:

KDar is built around the "disk archive library" by Denis Corbin, and is analogous to the tape archiver shell command "tar", but is more suited for backups onto disk-based media, such as CD-R, DVD, Jazz, Zip, other hard-drives, etc.

KDar can perform full and differential backups with or without compression. Archives can be split to fit various media types.

A filtering mechanism allows you to select which files and directories to backup or restore, and which files to compress.

See http://kdar.sourceforge.net for screenshots, online documentation, and more info.
Last changelog:

15 years ago

KDar-2.0.7:
-Fixed the command export -A option bug (#1293717)
-Swedish translation update (spelling fixes).

KDar-2.0.6:
- Fixed export command bug#1235759 (missing quotes on -c and -R switches)

KDar-2.0.5:
- Fixed bug#1190416, where progress window shows CDR for media type even when splitting archives is turned off.
- Updated Swedish translation courtesy of Peter Landgren.

C

jkerrb

15 years ago

Indeed, a set of user-defined backup profiles would be helpful. This is planned for a future release. See the TODO.

Report

LMCBoy

15 years ago

Hello,

I am using KDar for the first time. I asked it to make 4.7 GB slices, so that I can backup to DVD. However, it just finished the archive, and it's a single slice that is 9 GB in size.
(I have "split archive" checked in the config window, and 4.7 GB for both the slice size and the first slice size...why do we need a separate entry for the first slice? I also checked "pause", but it did not pause when it got to 4.7 GB).

Any idea why it didn't slice it? Can k3b span a single file onto two discs, or will I need to delete it and try again?

thanks,
Jason

Report

C

jkerrb

15 years ago

Hi Jason,

>asked it to make 4.7 GB slices, so
>that I can backup to DVD. However, it
>just finished the archive, and it's a
>single slice that is 9 GB in size.

Looks like you have found a bug in kdar. I think what happened is that the slice size can only be an integer, not a float. I'll have to change this in the next release to only allow integers. The float was probably converted to "0" integer, and a slice size of 0 means "infinitely large" to the dar library.


By the way, according to a DVD-howto, 4.7 GB is not actually 4.7*1024*1024*1024, it is rather 4.7*1000*1000*1000 = 4700000000 Bytes!
The howto called this the salesman's GB.

I have recently bought a DVD burner, and it took awhile to figure out how to actually backup on DVD's:

0) The DVD can store 4700000000 bytes. Some might be able to handle more but I leave it to you to find that out for your drive.

1) ISO9660 filesystems cannot handle files larger than 2GB without patching various code, including the kernel. The ext2 filesystem can handle larger files, so I created a loopback ext2 filesystem with a size of 4700000000 bytes. i.e.
"dd if=/dev/zero of=dvd.ext2 bs=47000000 count=100"
"mke2fs -m 0 -T largefile4 dvd.ext2"
"mount -o loop dvd.ext2 /mnt/dvd"
"rm -r /mnt/dvd/lost+found"

You'll put your slices here (but not all at once!).

2) The dvd filesystem uses some space to store inodes, etc. I guesed that 4.3 GB slices would fit. Indeed they did, with about 70MB left to spare.
Now 4.3*1024=4403.2 MB, so I just put "4400 MB" as the slice sizes in the kdar settings dialog.

3) I had enough room on my HD to store all the dar slices at once, so I unchecked the "pause between slices checkbox".

4) I moved the first slice onto the mounted loopback dvd.ext2 filesystem:
"mv /opt/backups/backup.1.dar /mnt/dvd/."

5) k3b wouldn't burn a non-iso DVD image (I wonder why?) so I did it by hand:
"growisofs -dvd-compat -speed=4 -Z /dev/sr0=dvd.ext2"

6) Then I mounted the DVD ext2 filesystem and diffed the DVD slice and the one on the HD:
"mount /dev/sr0 /mnt/dvd-ext2"
"diff /mnt/dvd-ext2/backup.1.dar /mnt/dvd/backup.1.dar"
If the files are the same then unmount the DVD and remove the slice from the HD:
"umount /mnt/dvd-ext2"
"rm /mnt/dvd/dvd.ext2"

7) Start the process again at step (4) with the next slice if there is one.

If you want the convenience of k3b for burning (although I think the commandline is very convenient), then you'll have to generate 2GB slices and burn only 2 per DVD.

> Any idea why it didn't slice it? Can
>k3b span a single file onto two discs,
>or will I need to delete it and try
>again?

AH! use dar_xform to split the big slice into smaller ones that will fit on your DVD.

If you figure out a way to burn 4700000000-byte slices instead of 4400000000-byte slices, please let me know. I think however, this is about as much as the DVD can handle on the ext2 filesystem.

> thanks,
> Jason

Cheers,
JB

Report

C

jkerrb

15 years ago

In a future release I will add a list of common storage media sizes that users can select from, with an "advanced" option to specify the slice sizes exactly for more experienced users.

JB

Report

zcerza

15 years ago

kdar.cpp:69: error: syntax error before `*' token
kdar.cpp: In member function `void kdar::setupActions()':
kdar.cpp:287: warning: unused variable `KAction*kdarSelect'
kdar.cpp:290: warning: unused variable `KAction*kdarList'
kdar.cpp:293: warning: unused variable `KAction*kdarCreate'
kdar.cpp:299: warning: unused variable `KAction*kdarIsolate'
kdar.cpp: In member function `void kdar::slotArchiveList()':
kdar.cpp:319: error: `theArchive' undeclared (first use this function)
kdar.cpp:319: error: (Each undeclared identifier is reported only once for each
function it appears in.)
kdar.cpp: In member function `void kdar::optionsConfigureKeys()':
kdar.cpp:872: warning: `configureKeys' is deprecated (declared at
/usr/include/kde/kkeydialog.h:381)
kdar.cpp: In member function `virtual void createArchiveThread::run()':
kdar.cpp:1270: error: `crypto_none' undeclared in namespace `libdar'
kdar.cpp:1273: error: cannot convert `bool' to `const std::string*' for
argument `8' to `libdar::statistics libdar::op_create(const libdar::path&,
const libdar::path&, const libdar::path*, const libdar::mask&, const
libdar::mask&, const std::string&, const std::string&, const std::string*,
bool, bool, bool, bool, bool, libdar::compression, unsigned int, const
libdar::infinint&, const libdar::infinint&, bool, bool, const std::string&,
const std::string&, const std::string&, const std::string&, const
std::string&, const std::string&, const libdar::mask&, const
libdar::infinint&, bool, bool, const libdar::infinint&)'
kdar.cpp:1299: error: `crypto_none' undeclared in namespace `libdar'
kdar.cpp: In member function `virtual void populateTreeArchiveThread::run()':
kdar.cpp:1488: error: `get_children_of' undeclared in namespace `libdar'
kdar.cpp: In member function `virtual void openArchiveThread::run()':
kdar.cpp:1514: error: parse error before `*' token
kdar.cpp: In member function `virtual void listArchiveThread::run()':
kdar.cpp:1552: error: `get_children_of' undeclared in namespace `libdar'
kdar.cpp: In member function `virtual void isolateArchiveThread::run()':
kdar.cpp:1625: error: `crypto_none' undeclared in namespace `libdar'

Report

C

jkerrb

15 years ago

You don't have the proper version of libdar.

Look at the kdar-users@lists.sf.net archive.

JB

Report

enine

15 years ago

kdar.cpp:1237: syntax error before `*' token
make[2]: *** [kdar.o] Error 1
make[2]: Leaving directory `/usr/src/kdar-1.0-beta3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kdar-1.0-beta3'
make: *** [all] Error 2

I got the same with beta2 so I noticed beta3 and tried it.

Report

Lenz

15 years ago

Hi,

I have problems in compiling kdar with your ebuild. I think this isn't a problem of your ebuild but of my configuration. Seems that something with my qt is messed up.

The error message is:

checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
died running ./configure, kde_src_compile:configure
*
* Your KDE program installation died while running the configure script
*
* If the error died during the check for Qt, and you have Qt installed, the problem
* is most likely due to your nvidia drivers being configured improperly.
*
* Search forums.gentoo.org for help in setting them up properly. This is NOT a kde bug.
*

!!! ERROR: app-arch/kdar-1.0_beta3 failed.
!!! Function configure_die, Line 154, Exitcode 0
!!! (no error message)


Any idea?


Thanks,
Lenz.

Report

Flameeyes

15 years ago

Please try the new ebuilds pack from today. Should be fixed.

Report

Lenz

15 years ago

Okay, will test it now once again :)

Report

Flameeyes

15 years ago

Ebuild for Gentoo is available at http://flameeyes.web.ctonet.it/, ebuild section.

Report

Lenz

15 years ago

Thanks will test it now :)

Report

Lenz

15 years ago

I always hoped that anybody writes a frontend for kdar.

Unfortunately I don't have a Gentoo ebuild to install it (and I don't know how to write it at my own). Perhaps somebody out there can write an ebuild.

Report

Flameeyes

15 years ago

I'll try it tomorrow... and I'll probably also add an ebuild for it on my page, take a look for it at 20 CET time.

Report

Lenz

15 years ago

This would be great!

Report

15 years ago

KDar-2.0.7:
-Fixed the command export -A option bug (#1293717)
-Swedish translation update (spelling fixes).

KDar-2.0.6:
- Fixed export command bug#1235759 (missing quotes on -c and -R switches)

KDar-2.0.5:
- Fixed bug#1190416, where progress window shows CDR for media type even when splitting archives is turned off.
- Updated Swedish translation courtesy of Peter Landgren.

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
2.0.7
updated Sep 30 2005
added Jan 25 2004
downloads today
0
page views today 4
System Tags app software