Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gavinlyonsrepo/backupmenu
Backup program , menu based , CLI TUI utility for Linux distributions using Tar and rsync. Written in bash, CLI program.
https://github.com/gavinlyonsrepo/backupmenu
archlinux backup backup-menu backup-script backup-utility backupmenu bash bash-script cli dd debian linux menu rsync shell tui
Last synced: 2 months ago
JSON representation
Backup program , menu based , CLI TUI utility for Linux distributions using Tar and rsync. Written in bash, CLI program.
- Host: GitHub
- URL: https://github.com/gavinlyonsrepo/backupmenu
- Owner: gavinlyonsrepo
- License: mit
- Created: 2017-12-31T23:18:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-24T13:12:06.000Z (over 2 years ago)
- Last Synced: 2024-11-04T22:37:08.128Z (3 months ago)
- Topics: archlinux, backup, backup-menu, backup-script, backup-utility, backupmenu, bash, bash-script, cli, dd, debian, linux, menu, rsync, shell, tui
- Language: Shell
- Homepage: https://gavinlyonsrepo.github.io/
- Size: 163 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Website](https://img.shields.io/badge/Website-Link-blue.svg)](https://gavinlyonsrepo.github.io/) [![Rss](https://img.shields.io/badge/Subscribe-RSS-yellow.svg)](https://gavinlyonsrepo.github.io//feed.xml) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/paypalme/whitelight976)
Overview
--------------------------------------------
* Name: backupmenu
* Title : Backup Menu TUI
* Description: Backup menu TUI for Linux distributions using
dd, cp, Tar and rsync. Written in bash, CLI program.Table of contents
---------------------------* [Overview](#overview)
* [Table of contents](#table-of-contents)
* [Installation](#installation)
* [Dependencies](#dependencies)
* [Usage](#usage)
* [Files and setup](#files-and-setup)
* [Features](#features)Installation
-----------------------------------------------**Linux Distros built on Ubuntu 22.04 LTS (Jammy JellyFish)**
A Personal Package Archives (PPA) has been created on Ubuntu
package building and hosting section of launchpad site
called backupmenu. Package built on Ubuntu 22.04 LTS (Jammy JellyFish) 64bitTo install this on your system run commands in terminal
```sh
sudo add-apt-repository ppa:typematrix/backupmenu
sudo apt update
sudo apt install backupmenu
```**Linux Arch based Distro**
Package available in the Arch Linux user repo AUR.
**For other linux Distro's**
Download latest fixed release and run the makefile as per
terminal commands below for version 2.3 latest release at time of writing.
The disadvantage of this method is you will not be informed of any updates.```sh
curl -sL https://github.com/gavinlyonsrepo/backupmenu/archive/2.3.tar.gz | tar xz
cd backupmenu-2.3
sudo make install
```Dependencies
-------------------------------------Install dependency bashMultiTool, requires a bash library (Also written by author)
[bashmultitool](https://github.com/gavinlyonsrepo/bashmultitool)
deborphan, curl, awk, cp, tar, rsync, dialog, dd, and other utilities are used but should be already installed on most distros.
Usage
-------------------------------------------type in terminal:
```sh
backupmenu
```Type "backupmenu" in a terminal to run or select the icon.
The program installs an icon in system application menus under system.![icon](https://raw.githubusercontent.com/gavinlyonsrepo/backupmenu/master/desktop/backupmenuicon.png)
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 user 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 in documentation folder.EDITOR
"nano" is used as default text editor for editing config files
IF $EDITOR user environment variable is not set.
```sh
$EDITOR
```Features
----------------------* System backup
1. Destination path as defined in config file or custom path
2. Make copy of MBR or GPT primary partition with dd
3. Make a copy of etc dir using cp
4. Make a copy of home dir using cp
5. Make copy of package lists.(see below)
6. Make tarball of entire file system except tmp dev proc sys run
7. Options 2-6 combined
8. Custom Source directory for tarball
9. Rsync backup option selected from main menuPackage Lists
----------------------Package list backups are available for Debian or Arch based Distros,
see md files in documentation folder for more details.1. [Arch_package_list.md](documentation/Arch_package_list.md)
2. [Debian_package_list.md](documentation/Debian_package_list.md)