Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: cvl on May 08, 2007, 10:57:03 AM
-
Hi all
I'm running SME 7.1.3 and read somewhere that the REV is natively supported by this version of SME. I see that the drive is seen as a USB mass storage device but I can't seem to backup to it through the console or via Tape Backup in the server manager. Is there something else that I need to configure? I've searched the forums but the only posts about the REV drive are for earlier versions of SME.
Thanks in advance!
-
USB Rev works, search the forums for alternative backup contribs that can write to USB devices.
-
I'm interested too...I seek on the forum but I can't find this topic. Can someone provide a link. Thank you!
-
USB Rev works, search the forums for alternative backup contribs that can write to USB devices.
The console now contains an option to backup to a USB device. If that doesn't work, then a bug report should be filed via the Bug Tracker.
-
The USB REV-drive for me is: /dev/scd0 and originally got automagically mounted as: /media/cdromX (with me: /media/cdrom1)
I think generally backup-programs do not consider a cdrom writable for backup. After altering your fstab so that the REV-drive gets mounted as an usbdisk e.g.:
/dev/scd0 /media/usbdisk auto pamconsole,exec,noauto 0 0
You should be able to use it. You should use usbdisk1 or usbdisk2,3,... if you already got a line in fstab with usbdisk.
-
The USB REV-drive for me is: /dev/scd0 and originally got automagically mounted as: /media/cdromX (with me: /media/cdrom1)
I think generally backup-programs do not consider a cdrom writable for backup.
That's probably true in general, and also true in particular for the SME server console backup feature.
If any of you wants this to change for SME server, the only way that will happen is if you provide details via the Bug Tracker.
-
Okay, editing fstab worked and I was able to backup through the server console. How would I add the drive as an usbdisk permanently because it reverts after reboot? Is there any way that I can automate a nightly backup using this method? I guess a cron job would do the task.
-
Added nfr in bugtracker: http://bugs.contribs.org/show_bug.cgi?id=2972
-
Thanks for adding it, was going to after fiddling with smeserver-dar2 but that didnt work out either.
-
Thanks to jester and the author of smeserver-dar2 this problem has been solved. For me anyway...
I'll summarise things so that others can take advantage of the work/research by jester. It worked for me but there is always the possibility that it won't work for you.
1) Create a file called usb-rev35-drive.fdi in the /usr/share/hal/fdi/95userpolicy directory, populate it with the code below.
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="storage.bus" string="usb">
<match key="storage.vendor" string="Iomega">
<match key="storage.model" string="RRD">
<merge key="storage.policy.desired_mount_point"
type="string">usbdisk</merge>
</match>
</match>
</match>
</device>
</deviceinfo>
NOTE: If you have other USB disks attached you might have to change the part where is says usbdisk to something like usbdisk2 or usbdisk3. Check fstab for this.
2) Install smeserver-dar2, follow the instructions of wjhobbs found at http://forums.contribs.org/index.php?topic=34041.0. Just update file versions/names or it won't work. Check http://mirror.contribs.org/smeserver/contribs//dmay/smeserver/7.x/ for those.
3) Create your backup under smeserver-dar2, the backup target should be /media/usbdisk or what you have changed it to (/media/usbdisk3), no need to add a username or password.
4) Insert a cartridge/tape and run a test. All should be well. There is no need to manually mount or umount the drive because smeserver-dar2 does that for you.
All the above is thanks to those mentioned, I just followed instructions and took it upon myself to summarise it for others.
SME 7.13
-
Watch out in the code above for the broken line due to wrapping, it should be:
<merge key="storage.policy.desired_mount_point" type="string">usbdisk</merge>
If i'm correct you should not have to change the "storage.policy.desired_mount_point" if you have multiple usb-disks, only note where the REV-drive is automagically mounted (usbdisk1, usbdisk2, ....) and use this as the target drive for you backup program.
-
If i'm correct you should not have to change the "storage.policy.desired_mount_point" if you have multiple usb-disks, only note where the REV-drive is automagically mounted (usbdisk1, usbdisk2, ....) and use this as the target drive for you backup program.
I'll give it a go, it does work when you change it so I would imagine that there will be no harm done.