Koozali.org: home of the SME Server

Dar backs up to tmp directory and not to USB disk ?

Offline rwalford

  • *
  • 6
  • +0/-0
Dar backs up to tmp directory and not to USB disk ?
« on: May 28, 2008, 02:18:39 AM »
Hi,

Why does DAR backup to a temp directory on the root filesystem? 
What is the behaviour of DAR if there is no room or not enough room on the root filesystem?
Why doe DAR not write directly to the USB drive?

==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup started at Tue May 27 22:00:03 2008
Backup of mysql databases has been done.
Mounting backup shared directory localhost/media/backup
Backup temp directory /mnt/smb/tmp_dir/pbaserver.pbafm.org.au is mounted and is writable
Using set number 0 of 2
Attempt to full backup
Backup directory pbaserver.pbafm.org.au/set0 created
Backup base file name is full-20080527
Making backup on temporary dir...
...

Offline janet

  • *****
  • 4,812
  • +0/-0
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline rwalford

  • *
  • 6
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #2 on: May 28, 2008, 10:37:12 AM »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #3 on: May 28, 2008, 10:42:49 AM »
rwalford

If you read the article it tells you how to correctly setup your USB disk.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline rwalford

  • *
  • 6
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #4 on: May 28, 2008, 10:51:34 AM »
rwalford

If you read the article it tells you how to correctly setup your USB disk.


Hi, I did read that article and believe that I have setup my USB disk correctly.  It is formatted with an ext3 filesystem and is mounted under /media/backup.

What problem in particular would you suggest that I look for?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #5 on: May 28, 2008, 03:57:44 PM »
Why does DAR backup to a temp directory on the root filesystem? 

Dar backup is not part of base SME server, so you are asking your questions in the wrong place.

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #6 on: May 28, 2008, 08:36:16 PM »
rwalford:
Can you read/write the USB disk if you logon as root at the server (or using PuTTY from a workstation)?
Are you sure it is mounted when the backup is supposed to take place?

Moderator:
can someone move this issue to the Contribs forum?
___________________
Sydney, NSW, Australia

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #7 on: May 28, 2008, 10:17:58 PM »
l
Dar backup is not part of base SME server, so you are asking your questions in the wrong place.

Appears this thread pertains to e-smith-backup with dar. However I agree, he is asking in the wrong place as all bug reports should go in the bug tracker.

Darrell

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #8 on: May 28, 2008, 10:59:07 PM »
Appears this thread pertains to e-smith-backup with dar.

e-smith-backup with dar is not included in the SME 7.3 CD.

Offline rwalford

  • *
  • 6
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #9 on: May 29, 2008, 07:12:48 AM »
rwalford:
Can you read/write the USB disk if you logon as root at the server (or using PuTTY from a workstation)?
Are you sure it is mounted when the backup is supposed to take place?


Yes

Offline rwalford

  • *
  • 6
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #10 on: May 29, 2008, 07:14:06 AM »
l
Appears this thread pertains to e-smith-backup with dar.
Darrell

Yes, I am asking about the workstation backup via dar from the server manager.  I thought this was now part of the base distribution?

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #11 on: May 29, 2008, 07:00:22 PM »
I thought this was now part of the base distribution?

No it's not part of the base.  It's in development (beta) so for all bugs and potential bugs please report in the bug tracker. 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 janet

  • *****
  • 4,812
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #12 on: May 30, 2008, 05:29:36 AM »
rwalford

It says here
http://wiki.contribs.org/Backup_with_dar

This rpm has moved from being a contrib, to testing stage for inclusion in the base install. The latest version of the rpm can be found in the smetest repo at http://mirror.contribs.org/smeserver/releases/7/smetest/i386/RPMS/ and the current version is e-smith-backup-1.15.0-14.el4.sme.noarch.rpm, although this may change due to bug fixes and improvements. Please report any bugs to bugzilla, perhaps using this bug number http://bugs.contribs.org/show_bug.cgi?id=3538 or a new one if the problem is different.

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline p-jones

  • *
  • 594
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #13 on: May 30, 2008, 08:14:50 PM »
This post contains three general questions.

I dont see the words problem, how do I or similiar..... I dont know the answers though
...

Offline pherder

  • *
  • 13
  • +0/-0
Re: Dar backs up to tmp directory and not to USB disk ?
« Reply #14 on: May 31, 2008, 11:23:56 PM »
One thing I found... you can NOT have the USBDISK mounted otherwise the backup will fail!  Don't ask how I know  :oops:

The backup program will mount and unmount the drive and if it cannot mount the drive (because it is already mounted) the backup will fail.

umount the usbdisk (or whatever name you gave it) and see if the backup runs normally.

YMMV