ddcommand, and using the
status=progressI was only able to see how much has been transferred, how long the command has been running, and the speed. The only thing that was missing was a estimate of how long it would take to complete. Additionally, a progress bar would have been nice. While waiting for the process to complete I looked for a tool that would provide what I was missing.
Create a Backup DriveThe first and obvious thing to do is BACKUP YOUR DATA.
What is Duplicity?Duplicity is a command line tool used for incremental backups to local or remote storage, which supports Amazon S3, Rackspace Cloud, Dropbox, Google Docs, rsync, ssh, FTP, FTPS, and webdav.
- duply (optional)
Generating GPG KeysAlthough duplicity uses GPG by default, this can be skipped by adding the --no-encryption option to the command.
# gpg —gen-key or # gpg --full-generate-keyDepe
cryptsetupis a command line tool that interfaces with the
dm_cryptkernel module that creates, access, and manages encrypted devices.
- Debugging The
--debugoption does not leak the passphrase, however, using
- Backups Always have a fresh backup before attempting anything, especially if you plan on reencrypting a device.
- Cloning Do not distribute cloned encrypted devices because the clone will al
- Debugging The
The Logical Volume Manager uses a device mapper framework which creates an abstract layer of virtual devices to manage phyical devices with greater flexibility. Device mappers is not only for LVM, but is also used for software RAID, disk encryption, and features such as snapshots. Other features provided by a device mapper are:
When runing the mysqldump command there's a possibility that you will receive the error message:
mysqldump: Couldn't execute 'show create table `table`': Out of resources when opening file './database/table.MYD' (Errcode: 24 "Too many open files") (23)
There are several possibilities as to why this error is occuring. Before changing the number of open files allowed, you can try using the --single-transaction command line option.
[mariadb] log-bin server_id=1 log-basename=master #skip-networking bind-address=192.168.1.100
- log-bin causes the server to keep a log of all changes to the databses, both data and structure, as well as how long each statement took to execute.
- The server_id is a integer 1 to 4,294,967,295. This ID must be unique for each server in a relication group.
- log-basename=master specifies the basename of the log files.
Versions prior to Apache v2.2.12 and OpenSSL v0.9.8j required a dedicated IP address for each certificate. With Server Name Indication (SNI) there is no need to request a new IP every time a certificate needs to be installed for a domain.
SNI can secure:
- Multiple Apache sites with a single certificate
- Multiple subdomains of a domains with multiple certificates
- Multiple domains from a single IP address
With that said, you don't have to request a dedicated IP address for sites that use SSL certificates.