Koozali.org: home of the SME Server

dungog Backup on 7.x

Offline jimgoode

  • **
  • 40
  • +0/-0
dungog Backup on 7.x
« on: April 10, 2009, 05:45:49 PM »
I have used dungogbackup since SME 5.5 and currently have it running on 6.0.1-01. I like the flexibility it provides.

I need to upgrade to 7.4 and want to use dungogbackup. If I upgrade from 6 to 7.0 to 7.4, my version of dungogbackup (0.1-7) remains working. If I install 7.4 fresh (which several of the forum contributors recommend as the preferred option) and then reinstall dungogbackup it does not work. I get all the web panel support and can appear to set up the backups, but they do not run.

Has anyone else been successful with this approach?

Yes, I see I can purchase a membership to dungog for several hundred dollars, but I work for a non-profit that has trouble finding money for normal everyday supplies.

TIA,
Jim

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: dungog Backup on 7.x
« Reply #1 on: April 11, 2009, 03:53:16 AM »
jimgoode

Since sme 5.5 to now the location of the databases changed from /home/e-smith to /home/e-smith/db

Perhaps that's the source of your problem, ie the old install uses the old path & therefore works.

You really need to look at the logs to see why the backup is not working in a fresh install of sme7.4

Apart from that the old package may simply be incompatible or may need other dependencies that are not in a fresh 7.4
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: dungog Backup on 7.x
« Reply #2 on: April 11, 2009, 08:52:10 AM »
I have used dungogbackup since SME 5.5 and currently have it running on 6.0.1-01. I like the flexibility it provides.
Since this is a propriety product of dungog.net you are best of to ask them for support, please visit their site: http://www.dungog.net/wiki/Contact
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: dungog Backup on 7.x
« Reply #3 on: April 12, 2009, 04:38:43 AM »
There is a concession rate for non-profits, see http://www.dungog.net/wiki/Purchase#Concession

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: dungog Backup on 7.x
« Reply #4 on: April 13, 2009, 03:03:29 AM »
jimgoode

You might also consider using the standard built in backup or other freely available add on backup tools.
There have been a lot of improvements since the days of sme 5.5 and 6.x

The standard backup used in server manager now includes incremental daily  backups.
There is also the very good Affa contrib.
As well there is the DAR2 contrib

Also see
http://wiki.contribs.org/Category:Backup
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: dungog Backup on 7.x
« Reply #5 on: April 13, 2009, 01:36:37 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: dungog Backup on 7.x
« Reply #6 on: April 14, 2009, 06:40:26 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!

Dungog backup is not contrib software. It's proprietary software of dubious legality (e-smith-lib and e-smith-backup are GPL).

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: dungog Backup on 7.x
« Reply #7 on: April 14, 2009, 07:44:58 PM »
Dungog backup is not contrib software. It's proprietary software of dubious legality (e-smith-lib and e-smith-backup are GPL).

a bit OT but. Charlie, could you please explain why? thank you

Ciao
Stefano

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: dungog Backup on 7.x
« Reply #8 on: April 14, 2009, 09:15:12 PM »
a bit OT but. Charlie, could you please explain why?

Explain what? e-smith-lib and e-smith-backup are GPL software. They are only licensed to be used co-mingled with other GPL software.

I am making the assumption that dungog backup uses e-smith-lib and e-smith-backup. Apologies if that is not the case.

Offline jimgoode

  • **
  • 40
  • +0/-0
Re: dungog Backup on 7.x
« Reply #9 on: April 14, 2009, 09:44:03 PM »
Update on progress to date.

1) dungogbackup 0.1-7 appears to be incompatible with SME 7.4. I can clean up all errors resulting from directory changes in the perl scripts, but the change in database usage (from config to ConfigDB) is the killer. I've had no response from dungog.net, yet.

2) The standard backup/restore that comes with SME 7.4 is, as clearly documented, only a disaster recovery tool. You get all or nothing. In 15 years as a system administrator I have never needed to do a complete restore of a system. I do find it interesting that the recommendation is to restore only to a freshly installed base system. To me, this implies that the tool should only be used for upgrades.

I must be the only administrator who has customers who inadvertently delete, or destroy, a file and then come ask me to restore the copy that was backed up last night, or the night before, or last weekend. dungogbackup allowed me to quickly expand a .tgz file and then use drag-n-drop to restore a requested file.

3) DAR2 appears to give me more flexibility, however. If I create a full backup and use the verbose option for the generated email, I can do the following to restore one or more files:
- Supply the archive date
- Leave Disaster Recovery 'Disabled'
- Place 'home/e-smith/files/users/testone/home/file2' in Restore, as an example
- Use '/' in Restore
then click Perform which will restore the one file I want.
I can create partial backups of certain ibays, for example, so DAR2 gives me some of the flexibility I want. I don't see where repetitive archives will be incremental, however, similar to the standard backup.

My next task will be to research/use Affa to see how it works. Thanks for your input and advise.

Jim

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: dungog Backup on 7.x
« Reply #10 on: April 14, 2009, 10:05:13 PM »
jimgoode

Quote
The standard backup/restore that comes with SME 7.4 is, as clearly documented, only a disaster recovery tool.

You can do selective restores (manually) by expanding the backup file and extracting the file(s) required to be restored.


Affa requires another sme server to be designated as a backup server, it can be a server dedicated only to Affa, or an existing sme server being used in a multi purpose role (in the second case it would not be wise/appropriate to use the Affa --rise feature).

Affa can be set to create many incremental copies with ageing as required ie daily, weekly monthly, yearly etc, so you can access/restore a particular file created say even a year ago.

Quote
I must be the only administrator who has customers who inadvertently delete, or destroy, a file and then come ask me to restore the copy that was backed up last night, or the night before, or last weekend

There are many new features in sme7.x, you should familiarise yourself more.
You should also be looking at Shadow Copy
http://wiki.contribs.org/ShadowCopy

and Recycle Bin
http://wiki.contribs.org/RecycleBin
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: dungog Backup on 7.x
« Reply #11 on: April 14, 2009, 10:05:52 PM »
Quote
I must be the only administrator who has customers who inadvertently delete, or destroy, a file and then come ask me to restore the copy that was backed up last night, or the night before, or last weekend. dungogbackup allowed me to quickly expand a .tgz file and then use drag-n-drop to restore a requested file.
in this case, try BackupPC, it's the killer application to do  what you are talking about.

HTH
Stefano

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: dungog Backup on 7.x
« Reply #12 on: April 15, 2009, 12:21:49 AM »
dungog-backup is useful for selective backups
to restore you use command line tools you could with any tgz file

Quote
- selective restore
check existence and path

tar -ztf sample.tgz |grep netlogon
home/e-smith/files/samba/netlogon/
home/e-smith/files/samba/netlogon/netlogon.bat

extract a file
tar -zxvf sample.tgz home/e-smith/files/samba/netlogon/netlogon.bat

*-*

0.1-* versions won't work with later versions of SME
for reasons mary gave in her first reply

*-*

our panels have the same style as SME panels ie
it uses perl and calls the sme library

*-*
I'm sorry Jim we didn't recieve your email

fwiw, I use the built in e-smith-backup which uses dar
it has a very nice selective restore from the panel

Offline jimgoode

  • **
  • 40
  • +0/-0
Re: dungog Backup on 7.x
« Reply #13 on: April 15, 2009, 04:51:52 PM »
snoble,

I totally missed the selective restore option in the standard SME 7.4 backup or restore panel. The standard backup/restore, along with the RecycleBin add-on, will provide what I need.

Thank you all for the valuable input.

Jim