Backup function explained
parent
560293687e
commit
c20b2f7f26
2 changed files with 30 additions and 8 deletions
25
Home.md
25
Home.md
|
|
@ -77,8 +77,8 @@ Updating can also be done by running:
|
|||
```
|
||||
---
|
||||
### Backing up
|
||||
Backing up pulls all important files, folders & configuration and compresses an archive, which by default is stored in `$HOME/.apps/Helium/assets`
|
||||
- Backup to default path
|
||||
Backing up, by default, pulls all important files, folders & configuration and compresses an archive, which is stored in `$HOME/.apps/Helium/assets`
|
||||
- Default backup | equal to `./helium_helper.sh -b full /home/<USER>/.apps/Helium/assets/backup`
|
||||
```sh
|
||||
./helium_helper.sh -b
|
||||
```
|
||||
|
|
@ -87,6 +87,27 @@ Backing up pulls all important files, folders & configuration and compresses an
|
|||
./helium_helper.sh -b </PATH/TO/DESTINATION>
|
||||
```
|
||||
**NOTE:** The backup path specified won't be overridden within the script yet. Working on it...
|
||||
- Backup specific content
|
||||
```sh
|
||||
./helium_helper.sh -b <CONTENT>
|
||||
```
|
||||
| Option | Description |
|
||||
| :----: | :---------- |
|
||||
| `full` | Backup everything app related |
|
||||
| `app` | Backup app only |
|
||||
| `script` | Backup script(s) only |
|
||||
| `config` | Backup launcher and config folder |
|
||||
|
||||
- Backup with specific compression
|
||||
```sh
|
||||
./helium_helper.sh -b <COMPRESSION>
|
||||
```
|
||||
| Option | Description |
|
||||
| :----: | :---------- |
|
||||
| `pbzip2` | Multi-thread bz2 compression (fastest) |
|
||||
| `gzip` | gz compression (medium) |
|
||||
| `bzip2` | bz2 compression (slowest) |
|
||||
| `zip` | zip compression (medium) |
|
||||
|
||||
**Since this script is interactive, it doesn't keep logs.**
|
||||
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
4. Check for temporary directory, remove if present && exit
|
||||
|
||||
## Install process
|
||||
## Install process -i
|
||||
1. Check for Helium executable
|
||||
|
||||
1\. **TRUE** | try to update helium
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
8. Check for temporary directory, remove if present && exit
|
||||
|
||||
## Update process
|
||||
## Update process -u
|
||||
1. Check local and remote version tags
|
||||
|
||||
1\. **TRUE** | proceed
|
||||
|
|
@ -56,14 +56,15 @@
|
|||
10. Update Launcher (version number) `sed`
|
||||
11. Check for temporary directory, remove if present && exit
|
||||
|
||||
## Removal process
|
||||
## Removal process -r
|
||||
1. Check presence of Helium folder
|
||||
|
||||
1\. **TRUE** | ask for removal confirmation && proceed or exit
|
||||
2\. **FALSE** | tell && exit
|
||||
|
||||
2. Remove Helium folder
|
||||
2. Remove Helium install folder
|
||||
3. Remove launcher if present
|
||||
4. Remove alias if present
|
||||
|
||||
5. Remove script if present
|
||||
6. Remove Helium config folder
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue