wyoming updates, borg manual, fedora kscreen, bambu wifi, vscode pylance, stable diffusion
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
- [Adding a Client](#adding-a-client)
|
||||
- [Installing the Backup Service](#installing-the-backup-service)
|
||||
- [Adding Nextcloud](#adding-nextcloud)
|
||||
- [Manual Client Use](#manual-client-use)
|
||||
|
||||
## Server Setup
|
||||
|
||||
@@ -111,4 +112,48 @@ Rather than creating a client, just set the borg backup location to:
|
||||
backup@borg.reeselink.com:nextcloud
|
||||
```
|
||||
|
||||
Then run the backup. It will generate a pubkey. Copy this into the authorized_keys file.
|
||||
Then run the backup. It will generate a pubkey. Copy this into the authorized_keys file.
|
||||
|
||||
## Manual Client Use
|
||||
|
||||
```bash
|
||||
borg list borg.reeselink.com:home
|
||||
|
||||
# Do not include the first / in the path
|
||||
export PATH_TO_BACKUP=var/home/ducoterra
|
||||
export BORG_REPO=borg.reeselink.com:home
|
||||
|
||||
# If not initialized, do that now
|
||||
borg init --encryption none $BORG_REPO
|
||||
|
||||
# Run backup and timestamp it
|
||||
borg create \
|
||||
--verbose \
|
||||
--filter AME \
|
||||
--list \
|
||||
--stats \
|
||||
--progress \
|
||||
--show-rc \
|
||||
--compression lz4 \
|
||||
--exclude-caches \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.cache" \
|
||||
-e "re:^${PATH_TO_BACKUP}/\.var/app/[^/]+/cache/" \
|
||||
-e "CACHEDIR.TAG" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.local/share/gnome-boxes" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.var/app/org.gnome.Boxes" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.var/app/org.gnome.BoxesDevel" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.local/share/bottles" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.var/app/com.usebottles.bottles" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.local/share/libvirt" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.config/libvirt" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.local/share/containers" \
|
||||
-e "pp:/${PATH_TO_BACKUP}/.local/share/docker" \
|
||||
${BORG_REPO}::$(date +"%F-%H-%M-%S") \
|
||||
/${PATH_TO_BACKUP}
|
||||
|
||||
# Mount a borg archive
|
||||
borg mount $BORG_REPO::2025-05-14-00-44-05 /mnt/
|
||||
|
||||
# Restore a borg archive to a location (dry run)
|
||||
borg extract --dry-run --list --strip-components 1 $BORG_REPO::my-files home/USERNAME
|
||||
```
|
||||
Reference in New Issue
Block a user