I'm pretty new using rclone and looking for some help. Maybe some can tell me the right command to do what I like to or point me into the right direction...
I backup several files from my server with rclone to an s3-service (which is using versioning).
Now I would like to restore a couple of files, filtered by some parameters:
- File-Path / Names (I already did that with a filter-file)
- Presenting only the most recent version of each file (optional: which is at least x days old) (optional: even consider deleted files)
The files should be transfered back to the server, keeping the original file-name and path (and not adding the version-date/time at the end).
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-76-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.5
- go/linking: static
- go/tags: none
idrivee2.com (s3 storage)
rclone --s3-versions copy IDriveE2:xxx/ --include "filelist.txt" "./restorebackup" -P
The command above works pretty well, but does not have the disired filtering options nor does it not alter the filename.
Can anyone help me out? Thanks for the help and best regards!