Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: wsmeurope on October 28, 2005, 06:44:17 PM

Title: DVD Burning
Post by: wsmeurope on October 28, 2005, 06:44:17 PM
Hello,


I use SME Server 7.0beta5 and I would like to burn DVDs with my optical IDE drive (hdc) from a file directory in an i-bay. I already test some contribs but it doesn't work.

Is someone have a good idea or have already burn DVD?

Thanks
Title: DVD Burning
Post by: fpausp on October 28, 2005, 07:11:22 PM
Hi,

I use this Script:

http://www.netztechnik.at/download/VCSBackup.zip on SME6.0.1, the comments are in German.

I have it from http://www.bytewise.at but there is no download anymore.

regards
fpausp
austria
Title: Re: DVD Burning
Post by: CharlieBrady on October 28, 2005, 11:11:39 PM
Quote from: "wsmeurope"

I use SME Server 7.0beta5 and I would like to burn DVDs with my optical IDE drive (hdc) from a file directory in an i-bay.


Read "man growisofs", or look here:

http://linuxcommand.org/man_pages/growisofs1.html
Title: DVD Burning
Post by: wsmeurope on October 29, 2005, 06:20:47 AM
fpausp : I'm new in Linux world, the only command I know is MC and install contribs. I don't know about scripts.

CharlyBrady : You mean all the tools are already installed in sme, the "only" things to do is enter command lines to burn DVD.

Thanks to everybody.
Title: DVD Burning
Post by: fpausp on October 29, 2005, 11:53:34 PM
OK, for sme6:

1. download the script.

2. copy the files to your server, the location on the server is:

/usr/local/etc/VCSBackup.conf
/usr/local/etc/VCSBackup.ex
/usr/local/etc/VCSBackup.in
/usr/local/sbin/VCSBackup

if you use windows you can use the tool "WinSCP", you must activate the remote access in the server-manager.

3. On the server search for your dvd-device with "cdrecord --scanbus" for example my device is 0,0,0 , if you use windows you can use the tool "putty" or direct from the console.

4. In the VCSBackup.conf Set "TARGET="DVD" and "DVD_DEVICE=0,0,0" , you can exclude or include the files that you want to backup in "VCSBackup.ex and VCSBackup.in"

5. use the crontab contrib for schedule your backup´s.


regards
fpausp
austria
Title: DVD Burning
Post by: wsmeurope on October 30, 2005, 05:56:46 PM
Thanks fpausp,

Steps 1,2,3 and 4 are OK, but I prefer backup on demand than planned with crontab. Do you have an idea about command line to use for burning.

Thanks
Title: DVD Burning
Post by: fpausp on October 30, 2005, 07:04:04 PM
Hi,

Just start the script with the command:

/usr/local/sbin/VCSBackup



regards
fpausp
Title: DVD Burning
Post by: wsmeurope on October 31, 2005, 07:24:58 AM
Doesn't works, maybe I make a mistake in config files :
Code: [Select]

[root@wsmserver ~]# /usr/local/sbin/VCSBackup
-bash: /usr/local/sbin/VCSBackup: Permission non accordée
[root@wsmserver ~]#
Title: DVD Burning
Post by: fpausp on October 31, 2005, 11:27:18 AM
Hi,

Maybe you do not have the permission to start the script, try "chmod 777 /usr/local/sbin/VCSBackup" to have full rights.

fpausp
Title: DVD Burning
Post by: CharlieBrady on November 01, 2005, 01:38:37 AM
Quote from: "fpausp"

Maybe you do not have the permission to start the script, try "chmod 777 /usr/local/sbin/VCSBackup" to have full rights.


No, this is bad advice. No file or directory should ever be set with 777 permissions.
Title: DVD Burning
Post by: wsmeurope on November 01, 2005, 10:17:29 AM
Maybe 755 is OK ?