Rsync: Copy files from and to your server
Rsync is a fast, versatile, remote (and local) file-copying tool.
The rsync command is a very handy and straightforward tool if you want to copy files/folders between your machine and a remote one.
Let’s see some use cases:
Copying local files/folders to a remote computer
Let’s say we have a folder named foo and …Read More
MySQL Backup Databases from shell
While automated backups are important, sometimes you just want to take a quick and dirty MySQL Backup of a database or all databases before making a change to your data. When changing files in Linux, you can simply cp a file to another name, and cp it back if your change …Read More
Backup, Restore and Clone Partition table
Backup, Restore and Clone Partition table
The Problem
Experiment completed, I redefined the partitions using fdisk by entering the values shown in the original fdisk output. I used ntfsclone to restore the Windows Server 2008 partition. No problem with sda1 but linux couldn’t mount the NTFS filesystem in sda2. I tried the …Read More