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

Export a VM #2

Open
3 tasks
olivierlambert opened this issue Sep 25, 2014 · 1 comment
Open
3 tasks

Export a VM #2

olivierlambert opened this issue Sep 25, 2014 · 1 comment

Comments

@olivierlambert
Copy link
Member

We need to export a VM in a specific path (like in xo-cli).

Needed arguments:

  • --export (the main one)
  • --compress (by default, compressed)
  •  --timestamp (add a timestamp in the name of all exported VMs. NOT enabled by default. See rotation paragraph for more)

The last arg should be the destination path. By default, the current folder. Because xo-backup will work in batch (or with a selector), there is no sense to give a filename argument (I think?)

About the rotation: because it seems complicated to rotate exported files, maybe the best strategy is to export VMs automatically with their name (without timestamp) and rewrite the old file. Indeed, exporting files is really useful for Disaster Recovery. For rolling backups, snapshots or file-based rsync are more appropriated.

@julien-f
Copy link
Member

Note: To avoid corrupted exports, they should be written on the disk atomically.

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

No branches or pull requests

2 participants