We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
restic
User can pass optional arguments to the restic backup/restore process via spec.target.args field of BackupConfiguration/RestoreSession.
spec.target.args
Pass args to restic backup command:
apiVersion: stash.appscode.com/v1beta1 kind: BackupConfiguration metadata: name: sample-deployment-backup namespace: demo spec: repository: name: deployment-backup-repo schedule: "*/5 * * * *" target: ref: apiVersion: apps/v1 kind: Deployment name: sample-deployment volumeMounts: - name: source-data mountPath: /source/data paths: - /source/data args: ["--ignore-inode", "--tag=t1,t2"] retentionPolicy: name: "keep-last-5" keepLast: 5 prune: true
Pass args to restic restore command:
apiVersion: stash.appscode.com/v1beta1 kind: RestoreSession metadata: name: sample-deployment-restore namespace: demo spec: repository: name: deployment-backup-repo target: ref: apiVersion: apps/v1 kind: Deployment name: sample-deployment volumeMounts: - name: source-data mountPath: /source/data rules: - paths: - /source/data/ args: ["--tag=t1,t2"]
The text was updated successfully, but these errors were encountered:
very nice, it seems really flexible!
Sorry, something went wrong.
@hossainemruz Is this working for others? I tried to backup a PVC but I can see from my logs the parameter is not passed.
/bin/restic backup /stash-data --quiet --json --host host-0 --cache-dir /tmp/restic-cache --cleanup-cache
Sorry for late replay @aarononeal. You were right. It didn't worked for PVC backup. We have fixed the issue. Now, it should work.
No branches or pull requests
User can pass optional arguments to the restic backup/restore process via
spec.target.args
field of BackupConfiguration/RestoreSession.Pass args to restic backup command:
Pass args to restic restore command:
The text was updated successfully, but these errors were encountered: