Failed again after running for about 5 hours
Trying to do this using the CLI, but having difficulty with the list and restore command.
From the Web UI I enter the B2 bucket parameters, on the restore UI I list the backup ID’s in the bucket.
How do I list the available backup ID’s (or are they snapshots?) from the CLI?
After I selected an ID in the Web UI, I list the revisions.
In the CLI it looks like this:
C:\Users\piete\Downloads\Duplicacy>duplicacy -v list -id B2-Backup-Backup
Storage set to b2://ptr727-Duplicacy-Server-1-Backup
Using 16384 iterations for key derivation
[0] URL request 'HEAD https://f002.backblazeb2.com/file/ptr727-Duplicacy-Server-1-Backup/nesting' returned status code 404
Listing revisions for snapshot B2-Backup-Backup
Snapshot B2-Backup-Backup revision 1 created at 2019-09-02 11:26 -hash
Snapshot B2-Backup-Backup revision 28 created at 2019-10-07 00:00
Snapshot B2-Backup-Backup revision 41 created at 2019-11-07 00:00
Snapshot B2-Backup-Backup revision 76 created at 2019-12-12 00:00
Snapshot B2-Backup-Backup revision 83 created at 2019-12-19 00:00
Snapshot B2-Backup-Backup revision 90 created at 2019-12-26 00:00
Snapshot B2-Backup-Backup revision 95 created at 2019-12-31 00:00
Snapshot B2-Backup-Backup revision 96 created at 2020-01-01 00:00
Snapshot B2-Backup-Backup revision 97 created at 2020-01-02 00:01
Snapshot B2-Backup-Backup revision 98 created at 2020-01-03 00:00
Snapshot B2-Backup-Backup revision 99 created at 2020-01-04 00:00
Snapshot B2-Backup-Backup revision 100 created at 2020-01-05 00:01
Snapshot B2-Backup-Backup revision 101 created at 2020-01-06 00:00
In the Web UI I can now select a revision, and then list the files.
In my CLI I can also list the files:
C:\Users\piete\Downloads\Duplicacy>duplicacy -v list -id B2-Backup-Backup -r 101 -files
Storage set to b2://ptr727-Duplicacy-Server-1-Backup
Using 16384 iterations for key derivation
[0] URL request 'HEAD https://f002.backblazeb2.com/file/ptr727-Duplicacy-Server-1-Backup/nesting' returned status code 404
Snapshot B2-Backup-Backup revision 101 created at 2020-01-06 00:100:
...
255834283004 2019-12-30 06:48:02
7d96c2deac5629b9ac26f1a16d51a298faa58088cf69943b5723c77e1963b8c6 Unraid/2019-12-30@03.00/CA_backup.tar.gz
Files: 1636626, total size: 1347710659951, file chunks: 296653, metadata chunks: 164
When I try to restore the file from the CLI, it is using the wrong snapshot (or is it ID?):
C:\Users\piete\Downloads\Duplicacy>duplicacy -v restore -r 101 -stats -threads 8 -overwrite -ignore-owner "Unraid/2019-12-30@03.00/CA_backup.tar.gz"
Storage set to b2://ptr727-Duplicacy-Server-1-Backup
Loaded 1 include/exclude pattern(s)
Using 16384 iterations for key derivation
[0] URL request 'HEAD https://f002.backblazeb2.com/file/ptr727-Duplicacy-Server-1-Backup/nesting' returned status code 404
+Unraid/2019-12-30@03.00/CA_backup.tar.gz
[0] URL request 'HEAD https://f002.backblazeb2.com/file/ptr727-Duplicacy-Server-1-
Backup/snapshots/B2-Backup/101' returned status code 404
Snapshot B2-Backup at revision 101 does not exist
Note it is using snapshot B2-Backup instead of B2-Backup-Backup.
How can I specify what ID / snapshot to use in the restore command?