1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/bup.md
Vitor Henrique 1ba7fb9460
pages*: add missing mnemonics (#12151)
* pages*: add missing mnemonics

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-19 19:43:42 +05:30

24 lines
776 B
Markdown

# bup
> Backup system based on the Git packfile format, providing incremental saves and global deduplication.
> More information: <https://github.com/bup/bup>.
- Initialize a backup repository in a given local [d]irectory:
`bup -d {{path/to/repository}} init`
- Prepare a given [d]irectory before taking a backup:
`bup -d {{path/to/repository}} index {{path/to/directory}}`
- Backup a [d]irectory to the repository specifying its [n]ame:
`bup -d {{path/to/repository}} save -n {{backup_name}} {{path/to/directory}}`
- Show the backup snapshots currently stored in the repository:
`bup -d {{path/to/repository}} ls`
- Restore a specific backup snapshot to a target dire[C]tory:
`bup -d {{path/to/repository}} restore -C {{path/to/target_directory}} {{backup_name}}`