Overview
- Name: backupmenu
- Title : Backup Menu TUI
- Description: Backup menu TUI for Debian based Linux distributions using dd, cp, Tar and rsync. Written in bash, CLI program.
- Author : Gavin Lyons
- Communication : github site or [email protected]
- History : See changelog.md in documentation section for version control history
- Copyright : Copyright (C) 2018 Gavin Lyons, See LICENSE.md in documentation section
- Upstream repository: https://github.com/gavinlyonsrepo/backupmenu.
Table of contents
Installation
Two methods.
- Install by PPA
A Personal Package Archives (PPA) has been created on Ubuntu package building and hosting section of launchpad site called backupmenu. Package built on Ubuntu 20.04 LTS (Focal Fossa) 64bit
To install this on your system run commands in terminal
sudo add-apt-repository ppa:typematrix/backupmenu
sudo apt update
sudo apt install backupmenuOR
- Install by makefile
Download latest fixed release and run the makefile as per terminal commands below for version 2.1 latest release at time of writing. The disadvantage of this method is you will not be informed of any updates.
curl -sL https://github.com/gavinlyonsrepo/backupmenu/archive/2.1.tar.gz | tar xz
cd backupmenu-2.1
sudo make installUsage
type in terminal:
backupmenuType "backupmenu" in a terminal to run or select the icon. The program installs an icon in system application menus under system.
Files and setup
| File | Description |
|---|---|
| /usr/bin/backupmenu | The main shell script |
| /usr/lib/backupmenu/modules/* | 2 Module files containing functions |
| /usr/share/doc/backupmenu/README.md | Help file |
| /usr/share/doc/copyright | copyright file |
| /usr/share/pixmaps/backupmenuicon.png | program icon |
| /usr/share/applications/backupmenu.desktop | desktop entry file |
| $HOME/.config/backupmenu/backupmenu.cfg | config file(must be created) |
Config file: The user must create the config file. "DESTX" is the path for backups.(where X is 1 , 2 ,3 ) "rsyncsource" and "rsyncdest" provide the source and destination paths for rsync option in backup menu. The config file can be edited from a main menu option.
backupmenu.cfg file setup example: Just copy and paste this into file and change paths for your setup. alternatively a config file template with dummy values is in documentation folder of the repository.
DEST1="/run/media/$USER/Linux_backup/"
DEST2="/run/media/$USER/iomega_320/"
DEST3="/tmp/"
rsyncsource="$HOME/"
rsyncDest="/run/media/$USER/Linux_backup/foo"
EDITOR "nano" is used as default text editor for editing config files IF $EDITOR user environment variable is not set.
$EDITORFeatures
-
System backup
- Destination path as defined in config file or custom path
- Make copy of MBR or GPT primary partition with dd
- Make a copy of etc dir using cp
- Make a copy of home dir using cp
- Make copy of package lists.(see below)
- Make tarball of entire file system except tmp dev proc sys run
- Options 2-6 combined
- Custom Source directory for tarball
- Rsync backup option selected from main menu
Package Lists
| Index | Contents | Filename |
|---|---|---|
| 1 | All installed | All_PKG |
| 2 | All native, explicitly installed | Exp_PKG |
| 3 | List orphaned packages | noinstall_PKG |
| 4 | Get a dump of the whole system information | stats_PKG |
| 5 | List packages that were recently added to one of the installation sources | Recent_add_PKG |
| 6 | List packages not required by any other package | non-Dep_PKG |
| 7 | List packages installed automatically (as dependencies) | auto_Dep_PKG |
| 8 | Prints a list of all installation source | Info_Source_PKG |
| 9 | List of non-standard repositories in use | non_standard_PKG |
| 10 | List Installed packages by size | install_size_PKG |
| 11 | List packages by install date | Install_date_1_PKG |
| 12 | List packages by install date less data | Install_date_2_PKG |
Commands used by index number in table:
- dpkg --list | grep ^i
- apt-mark showmanual
- deborphan
- apt-cache stats
- aptitude search '~N'
- deborphan -anp1
- apt-mark showauto
- apt-cache policy
- cat /etc/apt/sources.list.d/*.list | grep -v "^#"
- aptitude search "~i" --display-format "%p %I" --sort installsize
- grep installed /var/log/dpkg.log
- grep " install " /var/log/dpkg.log

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
