Copy Vertical backup from local to B2 not working

copy

#1

Hi Guys,

I’m having an issue with using the copy feature to move a Veritical backup from my NAS to B2 using Duplicacy.

Vertical backup is running on my ESXi host and successfully backing up to an NFS datastore provided by my NAS.

I’m then using Duplicacy on a raspberry pi running raspbian and a copy of Duplicacy (version 2.1.2) to copy the backups.

Duplicacy on my Pi is connected to the same NAS repositories using NFS mounts.

I started by init my /root directory with a snapshot id of “Hagrid” on the same repository as my Vertical backups so I can carry out maintenance.

Here, I’m doing a check on a particular backup set to verify everything is ok:

root@hagrid:~# duplicacy check -id "Test ESXI Free Host@BoxroomESXi01"
Storage set to /mnt/Snape_Pool01/Backup/Vertical_Backup/
Listing all chunks
1 snapshots and 3 revisions
Total chunk size is 265,684M in 526385 chunks
All chunks referenced by snapshot Test ESXI Free Host@BoxroomESXi01 at revision 1 exist
All chunks referenced by snapshot Test ESXI Free Host@BoxroomESXi01 at revision 8 exist
All chunks referenced by snapshot Test ESXI Free Host@BoxroomESXi01 at revision 10 exist

I then add my B2 bucket as a second storage.

root@hagrid:~# duplicacy add -e -copy default BackblazeDuplicacyBackup Hagrid b2://BackblazeDuplicacyBackup
Enter Backblaze Account ID:***************                                                                               
Enter Backblaze Application Key:***************
Enter storage password for b2://BackblazeDuplicacyBackup:***************
Re-enter storage password:***************
/root will be backed up to b2://BackblazeDuplicacyBackup with id Hagrid

I then successfully carry out a copy of my vertical backup snapshots.

root@hagrid:~# duplicacy copy -id "Test ESXI Free Host@BoxroomESXi01" -from default -to BackblazeDuplicacyBackup -threads 1
Source storage set to /mnt/Snape_Pool01/Backup/Vertical_Backup/
Destination storage set to b2://BackblazeDuplicacyBackup
Enter Backblaze Account ID:***************
Enter Backblaze Application Key:***************
Enter destination storage password:***************
Chunk 1c3b0844edcbe110edd3ccca143e000021de35c9005a198639f8b78626fa8426 (1/522) copied to the destination
Chunk 5fd101a9964e9e6f779c1421f61232d11226e2f5f50226113d5167aded058250 (2/522) copied to the destination
Chunk b71e7447c6a157c7ec158faf9f237852dd254b3bd1fe19def06d2e7932a8002d (3/522) copied to the destination
Chunk 067ec1d8a8db6a60f742c1a59340387af308b8c093149d7936f5b404cbbe6971 (4/522) copied to the destination
Chunk 1a7950244a21b5145563873d2d50386ed6fb156335b2150da2545ae71fe1ebed (5/522) copied to the destination
Chunk 13103c39c2dc700bacdc740e836e1ed8f3b76580ef9e62e298f9dd4aa09904cb (6/522) copied to the destination
Chunk f99701238613c861d3bcb83dd0dba8e102cbb4670bf8a0ddc535c94a1530a9c5 (7/522) copied to the destination
Chunk f3bf86a989d7994877b4445c96dd230a37f0f75f333a0208df7f986b8da31657 (8/522) copied to the destination
Chunk 63028ace3d9834d716a214b3d5e27974ec70c5990e88f4ace8fc6c196dd55d80 (9/522) copied to the destination
Chunk fcc6c91a76b1e4a336b3b06414d044344d6b931f4e45c48ac9c3668b201763c0 (10/522) copied to the destination
Chunk a095386cee3559905233b4aad8d25065efacece19af0427cfd08c1825efa452d (11/522) copied to the destination
Chunk 6f704c3ef00bd77780db74907389ba4817b4c889a78d64345faf6d2597b3c0aa (12/522) copied to the destination
Chunk 90327ed96f01e3ca79693f885a1d3c2e5a9f987b59672f2139ba9d8bd4692d8e (13/522) copied to the destination
Chunk 24a0fabeb887d210b4f5fd9f7cb68d953258948fce452a2de99136f5b4390596 (14/522) copied to the destination
Chunk 761cf8c3e7f06443ac2928315880d411c1bee517870d749a2a3b2c796ae51540 (15/522) copied to the destination
Chunk 58e947464fc2f55496afcf0537b4d94b9e20df407f87f42a10075195d3d6490a (16/522) copied to the destination
Chunk 02677026ba9eb970c434c00cfb1351a424547307aa28e28bf2e344330cdbf95f (17/522) copied to the destination
Chunk 1a234f16e3d85c828bd2c032c291d3e39b533321eb6e283a83bdc042770efa98 (18/522) copied to the destination
Chunk 748ede0ac6dac7c6524efa418133e11e15601789b06f72bdbd902f461831a50e (19/522) copied to the destination

….

Chunk 3de086dc3ad0c53d8ed69cae61132396cb010601f4cf5ffbb82a0fd862bbbd91 (510/522) copied to the destination
Chunk b725b7762ceb972f3764728bee00301ec6a1ea973d38f287f710259a2540b1af (513/522) copied to the destination
Chunk 3fb4ac3a0d6c93ffd04f6de8feb2269d06e6bb0119c26c8f9c039872ac72224b (515/522) copied to the destination
Chunk d6b26f895a2c1737ea28ee734ffe100c9e4e2a3d855d61a8c319e9d13ef4c547 (511/522) copied to the destination
Chunk 8fb1c370a4797a76e1af1405c77956a798630cc4672cf5baa0275180c8ebea3a (516/522) copied to the destination
Chunk 30835ddd6d2e86856a1ab0b2e521f3046214f3ffe3a84ecb1987521735aacfb0 (518/522) copied to the destination
Chunk 2eba6c746cf7ca78a258bebda20a5dfd1d73750880c82e10a9519f7cf38a4892 (519/522) copied to the destination
Chunk 348ed5805fda4e9a33faf41a24332a0c3a0ca3c8116355ea16a518b5073eb352 (520/522) copied to the destination
Chunk 0b8daf92bf0d9c68673944a0cc8d84d256ef6393c28b37f866a6c66a665ad7d3 (521/522) copied to the destination
Chunk 291d4a4937db8da21b636fdcdc0ae34e44369ca753d4abe3b61d4cec0d6570f5 (522/522) copied to the destination
Chunk 8a9913eb492d719b2a925d4f56f164477b32c7f474659fbd333e6eec6ac9b585 (517/522) copied to the destination
Copy complete, 522 total chunks, 456 chunks copied, 66 skipped
Copied snapshot Test ESXI Free Host@BoxroomESXi01 at revision 1
Copied snapshot Test ESXI Free Host@BoxroomESXi01 at revision 8
Copied snapshot Test ESXI Free Host@BoxroomESXi01 at revision 10

Then I do a check on my newly copied backups but always get these errors:

root@hagrid:~# duplicacy check -all -storage BackblazeDuplicacyBackup
Storage set to b2://BackblazeDuplicacyBackup
Enter Backblaze Account ID:***************        
Enter Backblaze Application Key:***************
Enter storage password:***************
Listing all chunks
Snapshot Test ESXI Free Host@BoxroomESXi01 at revision 1 does not exist

If I delete the snapshot file on B2 for revision 1 then it complains the next snapshot doesn’t exist and so on.

I’m at a bit of a loss to the issue, I used to have this working ok but can’t seem to get to the problem now.

Worth noting that the my local NAS storage is not setup with encryption but my B2 storage is encrypted. But I have used the -copy switch when I added the storage.

Any ideas?


#2

This is likely caused by the spaces in the repository id Test ESXI Free Host. Are you running the latest version (2.1.2) of Duplicacy?


#3

Yes, 2.1.2.

You are probably correct. It’s a recent VM so would explain why I had it working without issue previously.

Thanks, will test.