Wyng for Noobs revisions

Go back to topic: Wyng for Noobs

  1. v6 anchor; v6 full version
  2. v5 anchor; v5 full version
  3. v4 anchor; v4 full version
  4. v3 anchor; v3 full version
  5. v2 anchor; v2 full version

Revision #6

Edited on
2024-11-17
Edited by user
behemothwerecat
[user@dom0 ~]$ sudo wyng arch-check [user@dom0 ~]$ sudo wyng arch-check --session=newest
sudo wyng arch-check sudo wyng arch-check --session=newest

Revision #5

Edited on
2024-08-24
Edited by user
behemothwerecat
## Install #### Install
# Lines preceded by a # are a comment
## Configure #### Configure
## Extend metadata space #### Extend metadata space
## Select qubes for backup #### Select qubes for backup
## Plug in your external drive #### Plug in your external drive
## Create a fresh archive #### Create a fresh archive
## Backup, arch-check, monitor #### Backup, arch-check, monitor
## Restore #### Restore
`[user@dom0 ~]$ ~/Documents/backup.sh``[user@dom0 ~]$ ~/Documents/backup.sh` I can only hope that this guide becomes irrelevant because Wyng gets used as the backend of the Qubes OS backup tool. Practically every Qubes OS user I know uses the backup tool far too rarely to be functional in the case of data loss, and it's because people today expect something far faster, like the macOS time machine. So here are my two cents that the Qubes OS community deserves better than the current backup tool, and Wyng is a realistic amount of code to audit and throw a GUI in front of.

Revision #4

Edited on
2024-08-24
Edited by user
behemothwerecat
Every time you do a backup, there are three important operations: prune (get rid of old unnecessary backups), make a new backup, and then verify that this most recent backup session isn't corrupted. Every time you do a backup, there are three important operations: prune (get rid of old unnecessary backups), make a new backup, and then verify that the backup archive isn't corrupted.

Revision #3

Edited on
2024-08-23
Edited by user
behemothwerecat
`````` # Optional: Script the backup/check/monitor In dom0, use vim (or nano) to create the file `~/Documents/backup.sh`, with the following contents: ``` #!/bin/bash echo "Starting backup..." sudo wyng-util-qubes backup --includes echo "Starting check..." sudo wyng arch-check echo "Starting monitor..." sudo wyng monitor --all ``` Then make the file executable: `[user@dom0 ~]$ chmod +x ~/Documents/backup.sh` To backup/check/monitor, you can now simply run: `[user@dom0 ~]$ ~/Documents/backup.sh`

Revision #2

Edited on
2024-08-23
Edited by user
behemothwerecat
Verify the integrity of both of your downloads by following the [instructions provided](https://github.com/tasket/wyng-backup?tab=readme-ov-file#verifying-code). It is best practice to verify a PGP key by comparing its fingerprint to a second source before trusting it: after importing the developer's PGP key, run `gpg -k` to output its fingerprint, and make sure that it matches this [this forum post](https://forum.qubes-os.org/t/ann-wyng-incremental-backup-new-version/4303/33). Verify the integrity of both of your downloads by following the [instructions provided](https://github.com/tasket/wyng-backup?tab=readme-ov-file#verifying-code). It is best practice to verify a PGP key by comparing its fingerprint to a second source before trusting it: after importing the developer's PGP key, run `gpg -k` to output its fingerprint, and make sure that it matches [this forum post](https://forum.qubes-os.org/t/ann-wyng-incremental-backup-new-version/4303/33).
You will see that on your external drive, a directory now exists named `laptop.backup`. Don't manually change the contents of this directory. You will see that on your external drive, a directory now exists named `laptop.backup`. Don't manually alter the contents of this directory.
Before restoring a qube, if you don't want the version currently on your system to be overwritten by the restored backup, CLONE IT BEFORE RESTORING. For the example of a qube named "Offline", first clone it with the name "Offline-clone-1", then you can restore the latest backup of "personal": Before restoring a qube, if you don't want the version currently on your system to be overwritten by the restored backup, CLONE IT BEFORE RESTORING. For the example of a qube named "personal", first clone it with the name "personal-clone-1", then you can restore the latest backup of "personal":