Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: EdelingF on August 20, 2007, 10:55:15 PM

Title: DAR2 backup to USB-disk
Post by: EdelingF on August 20, 2007, 10:55:15 PM
I've managed to connect my USB-harddisk to my SME and created a mountingpoint for the ibay "backup" using mblotwijks HowTo : http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs//mblotwijk/HowToGuides/AddExtraHardDisk.htm (http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs//mblotwijk/HowToGuides/AddExtraHardDisk.htm)
I got this up and running and tried to backup with dmay's DAR2 contrib, backing up to /mnt/BackupHD/ibays/backup/files/Server
But whatever and however I try, nothing seems to create a backup
Did I do something wrong? :???:
Title: Re: DAR2 backup to USB-disk
Post by: steever on August 21, 2007, 10:00:58 AM
I think that as soon as a backup is run, either manually or scheduled, the disk is unmounted automatically.

The dar2 contrib mounts the disk when required, writes the backup to it, and the unmounts it (I guess to keep the data on the backup disk as safe as possible.

To see the backup you have to run the command mount -a which mounts all your file systems again.  You'll see the results of the backup in the expected location.

The older version of the contrib, IIRC, had the option of unmounting after backups or not.  It's probably best to have it unmounted anyway.

I hope this helps.

Steve
Title: Re: DAR2 backup to USB-disk
Post by: dmay on August 21, 2007, 04:47:07 PM
I've managed to connect my USB-harddisk to my SME and created a mountingpoint for the ibay "backup"

For what purpose are you connecting your usb disk? If it is to act solely as a backup device then you made a mistake. We do not mount a drive and connect it to an existing ibay. We simply mount the drive and backup to it. The Disk ARchive panel states:

Quote
If backing up to an attached local drive, enter the target mount point of your drive. Example: [/media/usbdisk]

In your case [/mnt/BackupHD].

Darrell
Title: Re: DAR2 backup to USB-disk
Post by: EdelingF on August 21, 2007, 05:07:59 PM
Quote
For what purpose are you connecting your usb disk?

I wanted to use the USB-disk to backup my SME-server AND a few Win-XP computers. I've tried Backuppc which resulted in a continuous backup of my SME (must have done something wrong I guess).
I should probably let the WinXP machines do their backup to the users home-ibays and then backup the home-ibays using DAR2?

Quote
If it is to act solely as a backup device then you made a mistake. We do not mount a drive and connect it to an existing ibay. We simply mount the drive and backup to it. In your case [/mnt/BackupHD].
Tried that also (/mnt/BackupHD/Server), after removing the mount to the ibay.
Could there be a cron-job stuck or something, I've made a "few" attempts to make a backup.......
Or maybe the mount wasn't removed correctly?