mirror of
https://github.com/rclone/rclone.git
synced 2025-12-16 00:04:40 +00:00
oracleobjectstorage: Support "backend restore" command - fixes #7371
This commit is contained in:
committed by
Nick Craig-Wood
parent
0563cc6314
commit
1045f54128
@@ -771,6 +771,47 @@ Options:
|
||||
|
||||
- "max-age": Max age of upload to delete
|
||||
|
||||
### restore
|
||||
|
||||
Restore objects from Archive to Standard storage
|
||||
|
||||
rclone backend restore remote: [options] [<arguments>+]
|
||||
|
||||
This command can be used to restore one or more objects from Archive to Standard storage.
|
||||
|
||||
Usage Examples:
|
||||
|
||||
rclone backend restore oos:bucket/path/to/directory -o hours=HOURS
|
||||
rclone backend restore oos:bucket -o hours=HOURS
|
||||
|
||||
This flag also obeys the filters. Test first with --interactive/-i or --dry-run flags
|
||||
|
||||
rclone --interactive backend restore --include "*.txt" oos:bucket/path -o hours=72
|
||||
|
||||
All the objects shown will be marked for restore, then
|
||||
|
||||
rclone backend restore --include "*.txt" oos:bucket/path -o hours=72
|
||||
|
||||
It returns a list of status dictionaries with Object Name and Status
|
||||
keys. The Status will be "RESTORED"" if it was successful or an error message
|
||||
if not.
|
||||
|
||||
[
|
||||
{
|
||||
"Object": "test.txt"
|
||||
"Status": "RESTORED",
|
||||
},
|
||||
{
|
||||
"Object": "test/file4.txt"
|
||||
"Status": "RESTORED",
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Options:
|
||||
|
||||
- "hours": The number of hours for which this object will be restored. Default is 24 hrs.
|
||||
|
||||
{{< rem autogenerated options stop >}}
|
||||
|
||||
## Tutorials
|
||||
|
||||
Reference in New Issue
Block a user