Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to set the backup folder. #85

Open
zimbres opened this issue Dec 7, 2023 · 2 comments
Open

Option to set the backup folder. #85

zimbres opened this issue Dec 7, 2023 · 2 comments

Comments

@zimbres
Copy link

zimbres commented Dec 7, 2023

Sometimes might be necessary to specify a folder inside the mounted volume. For example to backup home-assistant backups that is stored in a folder "backups" inside the volume.

Can I push the PR? https://github.com/zimbres/restic-backup-docker

@zimbres
Copy link
Author

zimbres commented Dec 7, 2023

I also added an option to Action in order to build image for multi-platform

@Jumanjii
Copy link

Jumanjii commented Jan 28, 2024

Hi there 👋
I'm just starting to use this project (and so restic), but I was gonna do the exact same modification to be able to leverage the "path" feature.

The benefit would be not to be required to download the full snapshot containing all data of all backups if needed.

@zimbres maybe if you create a PR it will be easier for maintainers to review and merge it 🙏
Also, maybe it is worth mentioning that your BACKUP_SOURCES can receive a list of directories to replicate restic backup folder_1 folder_2.... that end up in

$ restic snapshots                                                                                                                                                           
repository 347b3b35 opened (version 2, compression level auto)
ID        Time                 Host        Tags        Paths
-------------------------------------------------------------------------------------------------------------
6ed7c417  2024-01-28 21:10:40  pc                    /data/folder_1
                                                     /data/folder_2
-------------------------------------------------------------------------------------------------------------

I'm sharing some ideas and hope that maintainers will like them too so I'll be able to use your feature from upstream soon 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants