|
|
# Script Name
|
|
|
|
|
|
xl_backup.sh
|
|
|
[xl_backup.sh](https://gitlab.com/extreme_logic/xl_scripts/blob/master/xl_backup.sh)
|
|
|
|
|
|
# Description
|
|
|
|
|
|
Script to backup a file or a folder to a specified backup directory.
|
|
|
Script to backup a group of files or/and a group of folders to a predefined backup directory.
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
```console
|
|
|
Usage: xl_backup.sh [file or folder to backup]
|
|
|
Usage: xl_backup.sh [files or folders to backup]
|
|
|
|
|
|
Report bugs to: support@extremelogic.ph
|
|
|
```
|
|
|
|
|
|
# Parameters
|
|
|
|
|
|
file or folder - This is the item to backup.
|
|
|
files or folders - Items to backup. It can be either a group of files or/and directories. Wild cards accepted.
|
|
|
|
|
|
# Future Enhancements
|
|
|
|
|
|
Enhancements may take some time, I know it is easy but given that the author is just updating the code on a per need basis. All mentioned enhancements are noted below for future reference so that the author may not forget.
|
|
|
|
|
|
- Accept wildcards
|
|
|
- Accept file and folders mixed
|
|
|
- Use property file |
|
|
\ No newline at end of file |
|
|
- Use property file for backup folder |
|
|
\ No newline at end of file |