Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: cfarrier on September 23, 2007, 01:37:28 PM

Title: Dar2 Plugin for Midnight Commander
Post by: cfarrier on September 23, 2007, 01:37:28 PM
I have installed the Backup with Dar Contrib found here http://wiki.contribs.org/Backup_with_dar (great work) and I was wondering if there is a plugin for Midnight Commander to open backups made with DAR. This would allow you to copy files or folders back to any location from the backups.

Thanks in advance for your help.
Title: Re: Dar2 Plugin for Midnight Commander
Post by: Jáder on September 23, 2007, 03:20:28 PM
That plugin is available on /opt/dar2-mc when using the Darrel May package smeserver-dar2.

EDITed: As reported below the correct directory is /opt/dar2-mc!
Title: Re: Dar2 Plugin for Midnight Commander
Post by: cfarrier on September 23, 2007, 03:40:34 PM
Thanks........that did the trick

Regards
Title: Re: Dar2 Plugin for Midnight Commander
Post by: Jáder on September 23, 2007, 03:58:58 PM
You're welcome.

May I ask you to give a positive feedback using o "good advice" link close to my name on left panel ?

Thank you.

Jáder
Title: Re: Dar2 Plugin for Midnight Commander
Post by: slords on September 23, 2007, 04:32:45 PM
May I ask you to give a positive feedback using o "good advice" link close to my name on left panel ?

Only developers or global moderators are able to do this.
Title: Re: Dar2 Plugin for Midnight Commander
Post by: Jáder on September 23, 2007, 08:29:16 PM
Hum... nice to know about it!

Thanks

Jáder
Title: Re: Dar2 Plugin for Midnight Commander
Post by: byte on September 23, 2007, 10:59:11 PM
That plugin is available on /op/dar2-mc when using the Darrel May package smeserver-dar2.

The correct directory is /opt/dar2-mc  8)
Title: Re: Dar2 Plugin for Midnight Commander
Post by: judgej on October 04, 2007, 10:22:18 PM
I need to restore a directory from a backup and have installed the dar2 addon to mc. The thing is - what now? How do I actually use the thing? I can view the contents of the archive, but I can't see a function anywhere for extracting files or folders from it. Any ideas?


Edited: I just used the command line instead:

Code: [Select]
# dar -R / -x 2007.10.03 -v -g "home/e-smith/files/ibays/ibay_name/files/folder/etc"
Where '2007.10.03' was the base name of the backup (2007.10.03.1.dar, 2007.10.03.2.dar, etc.) I did this from the /media/usbdisk/{domain_name}/{backup_name} folder. All the restored files were owned by root, so I expect there is some opttion I need to add.
Title: Re: Dar2 Plugin for Midnight Commander
Post by: cactus on October 04, 2007, 10:44:11 PM
I need to restore a directory from a backup and have installed the dar2 addon to mc. The thing is - what now? How do I actually use the thing? I can view the contents of the archive, but I can't see a function anywhere for extracting files or folders from it. Any ideas?
Normal MC command like with any archive or folder... select files (Insert) and copy (F5) them to the other directory specified in the other window...