Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: rwalford on May 28, 2008, 02:18:39 AM

Title: Dar backs up to tmp directory and not to USB disk ?
Post by: rwalford 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...
...
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: janet on May 28, 2008, 10:16:09 AM
rwalford

http://wiki.contribs.org/USBDisks
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: rwalford on May 28, 2008, 10:37:12 AM
rwalford

http://wiki.contribs.org/USBDisks

I am not sure what your point is?
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: janet on May 28, 2008, 10:42:49 AM
rwalford

If you read the article it tells you how to correctly setup your USB disk.
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: rwalford 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?
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: CharlieBrady 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.
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: idp_qbn 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?
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: dmay 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
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: CharlieBrady 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.
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: rwalford 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
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: rwalford 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?
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: byte 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.
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: janet 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.

Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: p-jones 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
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: pherder 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

Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: rwalford on June 02, 2008, 04:14:08 AM
Thanks all for your replies.  I found that we had an earlier version installed and after installing the latest version (as per the instructions in the Wiki) it is now working.

I can also confirm that the backup will fail if the drive is already mounted.  Perhaps as an improvement this behaviour could be changed so that it does not exit and fail if the drive is already mounted?
Title: Re: Dar backs up to tmp directory and not to USB disk ?
Post by: cactus on June 02, 2008, 01:55:23 PM
I can also confirm that the backup will fail if the drive is already mounted.  Perhaps as an improvement this behaviour could be changed so that it does not exit and fail if the drive is already mounted?
Please add New Feature Requests to the bugtracker against the contrib. This way it is most likely to be picked up by the contrib dev, as the dev will receive an automatic e-mail.