djmaze / resticker

Run automatic restic backups via a Docker container.
https://hub.docker.com/r/mazzolino/restic/
Apache License 2.0
502 stars 68 forks source link

periodic copy #191

Open luckydonald opened 5 months ago

luckydonald commented 5 months ago

Hello, I'd like to implement a pull based backup, and am looking if this can be archived with this.

Basically the command I'd like to run periodically is:

export RESTIC_REST_USERNAME="..." 
export RESTIC_REST_PASSWORD="..." 

restic -r ./repo copy --from-repo rest:https://${RESTIC_HOST}
djmaze commented 5 months ago

The copy operation not supported currently. But I guess it won't be much work to support it.

I am currently not interested in this feature, but would be open for a PR.