mirror of
https://github.com/Derisis13/barusu.git
synced 2025-12-07 03:52:48 +01:00
Update README.md
Added missing markdown
This commit is contained in:
@@ -6,11 +6,11 @@ backup_assistant [opts]
|
|||||||
Options:
|
Options:
|
||||||
`-h --help`: show help and exit
|
`-h --help`: show help and exit
|
||||||
`-d --backup-dir [directory]`: set the directory for the backup/restoration (default is ~/.backups)
|
`-d --backup-dir [directory]`: set the directory for the backup/restoration (default is ~/.backups)
|
||||||
`-r --restore`: run the restoration (from backupdir). You must be root to restore, as you'll install packages. If you are backing up from a directory different from `~/.backup` you need to use the -d/--backup-dir option BEFORE the -r/--restore
|
`-r --restore`: run the restoration (from backupdir). You must be root to restore, as you'll install packages. If you are backing up from a directory different from `~/.backup` you need to use the `-d`/`--backup-dir` option BEFORE the `-r`/`--restore`
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
After downloading run: `python3 setup.py install`
|
After downloading run in the directory you downloaded barusu to: `python3 setup.py install`
|
||||||
|
|
||||||
## Using with cron
|
## Using with cron
|
||||||
|
|
||||||
@@ -30,4 +30,4 @@ restore:
|
|||||||
(you must call the script as root when restoring!)
|
(you must call the script as root when restoring!)
|
||||||
1. It uses `dpkg` to set a list of operations exported in `~/.backup/packagelist.txt` then calls `apt-get` to install them
|
1. It uses `dpkg` to set a list of operations exported in `~/.backup/packagelist.txt` then calls `apt-get` to install them
|
||||||
2. It uses `dconf` to load settings exported in `~/.backup/dconf_out.txt`
|
2. It uses `dconf` to load settings exported in `~/.backup/dconf_out.txt`
|
||||||
It is possible to provide an alternative backup folder using option `-d` or `backup-dir` as with backups, but you need to specify the folder BEFORE the -r/--restore option
|
It is possible to provide an alternative backup folder using option `-d` or `backup-dir` as with backups, but you need to specify the folder BEFORE the `-r`/`--restore` option
|
||||||
|
|||||||
Reference in New Issue
Block a user