Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alfiosalanitri/backup-to-device
- Owner: alfiosalanitri
- License: mit
- Created: 2022-03-19T17:08:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-08T07:21:19.000Z (about 2 years ago)
- Last Synced: 2023-03-06T21:55:45.793Z (almost 2 years ago)
- Topics: backup, bash
- Language: Shell
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.