A blog maintain by Paul Labis, a Java developer from cagayan de oro city, who love to share his knowledge about information techno..
| Home | My Account | Directories |
Why You Should Back up Your Data?
Odds are you have hundreds of gigabytes of personal data stored on your home computer including movies, music, games, documents, and photos and unless you are taking the right precautions these files could all be at risk. Data is stored on hard drives and unfortunately these spinning disks are far from perfect, it doesn't take very much to cause a complete failure and often times older hard drives will fail without any warning or trigger. When this happens all of your important personal data wil
Encrypt and decrypt files in Ubuntu with ccrypt
ccrypt is a utility for encrypting and decrypting files and streams. It was based on Rijndael cipher, which was chosen candidate by U.S. government's for Advance Encryption Standard. This cipher is believed to provide a very strong security.1. Install CCrypt from reposudo apt-get install ccrypt2. To encrypt a file, use one of the following command,ccrypt -e file_name or ccencrypt file_name3. It will prompt you for Encryption Phrase aka Password, enter it. for example,ccrypt -e sample.text Enter
How to Backup and Restore PostgreSQL Database
There is an easy way to create backup file and restore your current PostgreSQL database using the Linux terminal. I am not sure though if this is the easiest way. As of the moment I am writing this article, I used the following command to backup and restore my database. Using pg_dump and psql will make your life easier. Below are the terminal command I use to backup and restore my database.Backup : pg_dump -U {user_name} {database_name} -f {backup_file_name}Restore : psql -U {user_name} -d {data