Linux

How to backup mysql databases (mysqlhotcopy, mysqldump)

There are different possibilities. If you have access to the machine where mysql is running, you should use:
mysqlhotcopy On our RedHat 8 server you just type:
/usr/bin/mysqlhotcopy --user=root --password=sdjksjd journal /path/to/backup/directory Alternatively:
/usr/local/mysql/bin/mysqldump --user=username -p phpgedview >phpgedview The path of the command is specific for the mysql install on a MacOS X machine.

Watching, ripping and converting DVDs (xine, mplayer, mencoder, dvd, iso image)

Both xine and MPlayer can play DVDs directly, but xine has a DVD navigation. In Mplayer you need to specify which movie (VOB file) you want to play:
xine dvd:// mplayer dvd://3 If you just want to temporarily store the DVD on your hard disk it might be sufficient to create a DVD image:
dd if=/dev/dvd of=rosenstrasse.iso The image can be mounted as follows:
sudo mount -o loop rosenstrasse.iso /media/temp/ Xine can play a DVD from an iso image directly (without mouting the image):

Pages