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

Add support for export and import snapshot to/from local directory #763

Open
fabionitto opened this issue Feb 3, 2023 · 0 comments
Open
Labels
drakrun/setup Issues related to draksetup command and the overall sandbox initialization/configuration process. enhancement New feature or request
Milestone

Comments

@fabionitto
Copy link

fabionitto commented Feb 3, 2023

My use case would benefit from exporting and importing minimal snapshots from local directories. To make minimal impact, export should follow the same pattern for snapshot export to minio, that is:

draksetup snapshot export_local --name <NAME> --dir <DIR>

would save cfg.template install.json and disk.img to <DIR>/<NAME>

Similarly,
draksetup snapshot import_local --name <NAME> --dir <DIR>

would read from <DIR>/<NAME> and import the snapshot.

Implementation should be simply moving and coping vm-0 snapshot files, and import method would probably be the same as importing from minio (only different file origin)

With this feature, I can install vm-0 previously and create a snapshot on my storage disk. When replicating my drakvuf VM, I can just plug the disk with the snapshot and import from there.

@fabionitto fabionitto added the enhancement New feature or request label Feb 3, 2023
@BonusPlay BonusPlay added the drakrun/setup Issues related to draksetup command and the overall sandbox initialization/configuration process. label Feb 3, 2023
@BonusPlay BonusPlay added this to the v0.19.0 milestone Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drakrun/setup Issues related to draksetup command and the overall sandbox initialization/configuration process. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants