Categories
Articles Sysadmin

How backup files to a specific external disk automatically when it is connected – [Linux]

A strong backup policy provides to keep an offline (not connect to any kind of device) copy of own files, protecting your data against ransomware, device failure, etc. We can use an external Hard Disk Drive (HDD) to connected every week to our server/workstation and automatically backup files and send an email at the end […]

Categories
Articles Miscellaneous

Convert raw Nikon Electronic Format (NEF) files to JPEG – [Linux]

Some times you need to convert a lot of files from .nef to .jpeg format in a Linux environment.  You can do this jobs easily with UFRaw tool. Requirements: $ sudo apt-get install ufraw Steps: Launch then the terminal, switch to the directory containing NEF files, and run the following command: $ ufraw-batch –out-type=jpeg –out-path=./jpg […]

Categories
Articles Miscellaneous

How to make ISO file from DVD (protected) – [Linux]

I like do a backup of all my DVD’s and play them with VLC from a shared folder. So, how backup them? Requirements: $ sudo apt-get install dvdbackup genisoimage Steps: First you need to retrieve all keys to decrypt the DVD. $ dvdbackup -M After the starting copy of dvdbackup you can stop the execution […]

Categories
Sysadmin

PHP Access To An MSSQL Database From Debian with ODBC And FreeTDS

Note:  on some Ubuntu system you could incur on issues (Data source name not found, and no default driver specified) First install the necessary packages: # apt-get install tdsodbc unixodbc php5-odbc ODBC Driver registration: # nano /etc/freetds/tds.driver.template [FreeTDS] Description = ciao Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so Seteup = /usr/lib/x86_64-inux-gnu/odbc/libtdsS.so Now the edit the DSN file: # nano […]