Comments (3)
I think that the possibility to specify the config file to use on the command line enables already the possibility to have such a backup strategy:
- create(/copy) one config file per folder which should be backuped in a different backup set
- in your cronjob, call the script by passing each time a different config file
For example (in the cronjob):
test -x /path/to/duplicity-backup/duplicity-backup.sh || exit 0
/path/to/duplicity-backup/duplicity-backup.sh -c /etc/duplicity-backup.foo.conf --backup
/path/to/duplicity-backup/duplicity-backup.sh -c /etc/duplicity-backup.bar.conf --backup
/path/to/duplicity-backup/duplicity-backup.sh -c /etc/duplicity-backup.foobar.conf --backup
Not sure if it's worth to embed such a system in the script logic when it's already simple to do it through config files... Moreover, such a work (of creating different config files) would usually be made once by the user (before the first backup), so I don't think that's such a hassle to do it like that.
I'm still open to counter-arguments and implementation suggestions ;)
from duplicity-backup.sh.
oops, sorry for the close/open, was discovering Github's issues mobile app...
from duplicity-backup.sh.
np ;)
I think this issue can be closed anyway. I didn't think of handling this by using separate config files - which isn't indeed a hassle to do it.
from duplicity-backup.sh.
Related Issues (20)
- VERSION file issues HOT 1
- Hubic Support HOT 3
- Issue with PASSPHRASE and the ` character HOT 2
- Duplicity 0.7.14 generates warning: Option --include-globbing-filelist is pending deprecation and will be removed in a future release. --include-filelist and --exclude-filelist now accept globbing characters and should be used instead. HOT 1
- [feature request] Support dropbox backend
- Swift variables are exported but never unset
- Can't restore file HOT 1
- Possible issue with Cleanup Option HOT 6
- Feature Request: Only backup when connected to a whitelist of networks HOT 2
- bc: command not found
- gpg: WARNING: "--no-show-photos" is a deprecated option HOT 4
- How to restore the last known backup? HOT 1
- Archives Sizes 200MB HOT 2
- syntax error on line 314 breaks script HOT 1
- How to restore after complete data loss HOT 2
- The authorization mechanism you have provided is not supported HOT 5
- This project is unmaintained as of 2019 HOT 2
- Correct place to put extra S3 params HOT 5
- Archive-dir option? HOT 1
- FilePrefixError: /etc/passwd HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicity-backup.sh.