Closed abhishek6590 closed 10 years ago
Hi,
Thanks for your quick response. can you please check the command -
./mtglacier restore --config glacier.cfg --dir /home/backup --filter '+myfile.gz +' --vault abfile --journal journal.log --max-number-of-files 1
is it right?
--filter '+myfile.gz +'
will filter all files actually. I am not sure --max-number-of-files 1
will help here,
as filtering does not imply order of files.
Instead try --filter '+myfile.gz -'
.
Try the command with --dry-run
option first.
Hi,
ok i will try it with --dry-run option. it is showing error if i am not using --max-number-of-files.
As i uploaded many files on glacier for example myfile.gz, myfile1.gz, myfile2.gz and i only want to restore myfile.gz right now. in this case --filter '+myfile.gz -' will work?
or i need to mention --filter '+archived id -' .
in this case --filter '+myfile.gz -' will work?
yes, but try with --dry-run
first
It works. thanks a lot. :+1:
Hi,
Please tell me how to restore a particular file uploaded o amazon glacier. Please mention which command i can use for this.
Thanks.