Drush back up system for Drupal site

Here is an example of how you can set up a back up system for a Drupal web site with Drush. Daily backups are kept for a week, after which they are deleted, and the weekly, full backups are deleted after 30 days. This script comes with no warranties of any kind, as always, test thoroughly before using it.

Drush commands

To quickly find the most used drush commands, execute this one-liner in your terminal:

history | grep drush | awk '{print $3}' | sort | uniq --count | sort --numeric-sort --reverse | head -30

layout.css.devPixelsPerPx to 1.2

To zoom pages by default in Firefox, open the about:config page via the location/address bar, and change the value of layout.css.devPixelsPerPx to fx 1.2, to zoom in 120% on all pages by default. This will also increase the size of icons and tabs, but this way you don't need an add-on for larger text on all web pages by default.

Firefox add-ons

A few great add-ons for Firefox, which will improve security, download-speed and usability, and block Google WebP images:

qpdfview PDF-reader for Ubuntu

The default PDF-reader in Ubuntu 16.04 is very plain and non-configurable, but it is easy to replace it with a better alternative, such as qpdfview, which is much more configurable.

Custom shortcuts with jumpapp

Custom shortcuts in Ubuntu is a great way to speed up starting up programs, or focusing on them.

Jumpapp is a great tool to use together with custom shortcuts:

Flash install

dr.dk is in the process of phasing out Flash (finally!) and use HTML5 in stead:

Drush make

Drush is a powerful tool for building Drupal web sites. Here is much more information about Drush commands: https://drushcommands.com/

How to install Drush: http://docs.drush.org/en/8.x/install/

UbuntuGNOME Shell Extensions

I always add these GNOME extensions to fix a few annoying quirks in Ubuntu Gnome (20.04), they should be included by default in Ubuntu, in my opinion. Arc Menu requires gnome-tweaks:

New storage Hard Drive

Here are my notes on copying the content of an old storage hard drive over to a new. The label of the old hard drive is "archive" and the label of the new hard drive is "archive_2017". It is assumed that your old hard drive will be mounted at "/archive".