![]() ![]() -n "CUSTOM_SNAPSHOT_NAME" or -name "CUSTOM_SNAPSHOT_NAME" - Customise name for a snapshot.If argument is not provided, defaults to 3. If 0 is provided - deletes all snapshots leaving just the latest one. 2 snapshot are ignored via -i/ -ignore, 3 snapshots specified for -r/ -retain, resulting number of preserved snapshots will be 5. When used with -i/ -ignore, counts only those snapshots, that are NOT ignored. Replace NUMBER with a number between 0 (incl.) and 1000 (incl.). -r NUMBER or -retain NUMBER - Number of latest snapshots to retain.-v or -verbose - script will become more verbose (will produce more textual output).Not using double quotes may lead to abnormal behaviour if name contains whitespaces. "VIRTUAL_MACHINE_NAME" - Virtual Machine (VM) name enclosed in double quotes ("). ![]() NOTE Without specifying this parameter, script will fail to run. Usage: VirtualBox Snapshotter "VIRTUAL_MACHINE_NAME " Positional parameter Install the requirements file and wait for it to complete:.Within terminal, navigate into the project directory.Installation guide on Youtube: Installation To avoid making this readme enormous, its up to a user to sort out the virtual environment for Python. Please use Python virtual environment (venv) for a best practice. Usually, this is not a best practice as it may cause module conflicts in a long run. WARNING This guide shows how to install modules, required by this script, into ROOT of the Python. In order to function, this script relies on VirtualBox SDK Installation process Moreover, it provides and ability to customise snapshot details. It uses circular logic aka "oldest snapshot out, newest snapshot in" with an ability to customise total amount of snapshots to retain. Python script to automate Virtualbox snapshotting process. Guide on how to contribute to this repository is described within CONTRIBUTING.md Description ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |