Koozali.org: home of the SME Server

How to reduce backup file size with Backup-with-dar?

Offline penguin_bb

  • 10
  • +0/-0
How to reduce backup file size with Backup-with-dar?
« on: December 06, 2008, 05:24:13 AM »
My SME server is solely used for mail server. Our email storage is averaging at 5GB. But the data to backup increases constantly even the email storage is keeping or decreasing. Now I need 3 hours to backup the server and I do not want that. Is there a reason for the increasing backup size, even my actual data has decreased? How could I reduce it? Thanks in advance.

Conrad

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: How to reduce backup file size with Backup-with-dar?
« Reply #1 on: December 06, 2008, 05:32:09 AM »
This topic has been moved to the Contribs section where it is more appropriate.  DAR is a contribution maintained by D. May.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: How to reduce backup file size with Backup-with-dar?
« Reply #2 on: December 06, 2008, 08:10:21 AM »
Backup-with-dar is now included in SME 7.4 base.

Anyhow, what are your backup settings?

Code: [Select]
db configuration show backupwk

Offline tviles

  • ****
  • 197
  • +0/-0
Re: How to reduce backup file size with Backup-with-dar?
« Reply #3 on: December 07, 2008, 03:27:11 PM »
Hijacking this, sorry. OK no I am not.

 ~]# db configuration show backupwk
backupwk=service
    BackupTime=19:36
    Compression=6
    CompressionProg=gzip
    DaysInSet=1
    FullDay=7
    IncNum=0
    IncOnlyTimeout=no
    Login=
    Password=
    Program=dar
    SetNum=0
    SetsMax=1
    SmbHost=localhost
    SmbShare=media/usbdisk1
    Timeout=8
    VFSType=usb
    status=enabled

How do you select WHAT you want to backup? I have symlinks that need to be included. I do like the new feature in 7.4 that mounts the usb drive when attached into the fstab file. New users need to remember that it (usb drive) has to be formatted to an accepted format type for SME.


Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: How to reduce backup file size with Backup-with-dar?
« Reply #4 on: December 07, 2008, 11:22:23 PM »
Selections are controlled using a template. See this wiki page for instructions.

Offline tviles

  • ****
  • 197
  • +0/-0
Re: How to reduce backup file size with Backup-with-dar?
« Reply #5 on: December 08, 2008, 12:44:02 AM »
Thanks I also added in
--go-into opt
and
--go-into /

Offline tviles

  • ****
  • 197
  • +0/-0
Re: How to reduce backup file size with Backup-with-dar?
« Reply #6 on: December 08, 2008, 04:14:05 AM »
Thanks I also added in
--go-into opt
and
--go-into /

I changed it to just /mnt/tracy instead of /

and getting this via email.

Cron <root@shpdserver> /sbin/e-smith/do_backupwk
Parse error on command line (or included files): Cannot add an absolute path

I will try mnt/tracy and try again.




Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: How to reduce backup file size with Backup-with-dar?
« Reply #7 on: December 08, 2008, 08:56:31 AM »
I will try mnt/tracy and try again.
Perhaps you should have done that before posting, as the error messages seems pretty clear to me. Besides opt also has no leading slash and when it still had it's own panel the leading slash needed to be dropped already.
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)