I executed the following command
xbcloud get --storage=s3 --s3-endpoint=[endpoint-address] --s3-access-key=[access-key] --s3-secret-key=[secret-key] --s3-bucket=[bucket-name] --s3-region=us-east-1 --parallel=10 [backup-file-name] /tmp > download.log
and the result is following image
but i don`t know where is downloaded files, The files are not even in /tmp
Hi @pmmChobo .
xbcloud prints the content of the chunk to STDOUT. You are redirecting STDOUT to download.log, meaning the chunks are been saved to the flat file download.log.
You should use xbcloud in conjunction with xbstream to reassembly the chunks into proper files:
xbcloud ... | xbstream -x -C /path/to/save/the/files
thank you for your reply
I executed the following command
xbcloud get --storage=s3 --s3-endpoint=[value] --s3-access-key=[value] --s3-secret-key=[value] --s3-bucket=[value] --s3-region=us-east-1 --parallel=10 [backup-file-name] > /tmp/download.log | xbstream -x -C /tmp --parallel=10
but nothing in /tmp
only download.log in /tmp
when I executed the following command
xbcloud get --storage=s3 --s3-endpoint=[value] --s3-access-key=[value]--s3-secret-key=[value]--s3-bucket=[value]--s3-region=us-east-1 --parallel=10 [backup-file-name] | xbstream restore -x -C --directory=/tmp/backup-restore262779438 --parallel=10
i excepted > download.log
and the result is
I executed the following command
xbcloud get --storage=s3 --s3-endpoint=[value] --s3-access-key=[value]--s3-secret-key=[value]--s3-bucket=[value]--s3-region=us-east-1 --parallel=10 [backup-file-name] | xbstream restore -x -C /tmp/restore --parallel=10
this command is solution!
i found it!
thank you so much
@Marcelo_Altmann