Created
June 21, 2019 14:56
-
-
Save yonixw/8e3797480cf449a42fcda6531a56897f to your computer and use it in GitHub Desktop.
Uploading folder to BlackBlaze B2 using cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET B2CMD=b2 sync --threads 20 --compareVersions "size" | |
SET B2BUCKET=2tb-disk | |
b2 list-unfinished-large-files %B2BUCKET% | |
REM b2 cancel-all-unfinished-large-files 2tb-disk | |
echo Start encrypted | |
%B2CMD% E:\encrypted b2://%B2BUCKET%/encrypted | |
echo Start WindowsImageBackup | |
%B2CMD% E:\WindowsImageBackup b2://%B2BUCKET%/WindowsImageBackup | |
echo Start share | |
%B2CMD% E:\share b2://%B2BUCKET%/share | |
echo Start zip-backups | |
%B2CMD% E:\zip-backups b2://%B2BUCKET%/zip-backups | |
echo Done all! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.backblaze.com/b2/docs/quick_command_line.html