Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alfiosalanitri/backup-to-device

backup custom directories and mysql databases to an external device
https://github.com/alfiosalanitri/backup-to-device

backup bash

Last synced: about 1 month ago
JSON representation

backup custom directories and mysql databases to an external device

Awesome Lists containing this project

README

        

# NAME
backup-to-device - backup directories and mysql databases to external device.

# DESCRIPTION
This script copy one or more directories listed into the include.txt file and create a tar archive. Then it copy the archive to external usb device. Supports directories exclusion listed into the exclude.txt file. Also it can backup all databases if https://github.com/alfiosalanitri/backup-mysql is installed.

# INSTALLATION
- rename include-example.txt to include.txt
- edit .include.txt with one or more directories (one for line)
- rename exclude-example.txt to exclude.txt
- edit .exclude.txt with one or more directories (one for line)

# USAGE
- `cd /path/to/backup-to-device`
- `./backup-to-device --help`

# TIPS
## How to create a desktop icon application launcher?
If you want launch the backup from GUI:
- rename backup-to-device.desktop.example to backup-to-device.desktop
- edit the file and change Exec line with your path and Icon Line
- `sudo cp backup-to-device.desktop /usr/share/applications`
- `sudo chown root:root /usr/share/applications`

# AUTHOR:
backup-to-device.sh is written by Alfio Salanitri www.alfiosalanitri.it and are licensed under the MIT License.