Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Btrfs snapshot/clone #292

Closed
wants to merge 7 commits into from
Closed

Btrfs snapshot/clone #292

wants to merge 7 commits into from

Conversation

tjheeta
Copy link

@tjheeta tjheeta commented May 30, 2014

"vagrant lxc snapshot -s test" will create snapshots of all machines in the current directory in the form "s_machine1_test", "s_machine2_test".

To create a machine based off this snapshot, the snapshot_suffix variable needs to be set and it will search for the snapshot when doing a "vagrant up"

From the code comments on the btrfs creation logic:

  •      # Treat btrfs as follows:
    
  •      # If a snapshot suffix is specified, search for a container name with that suffix
    
  •      # If no snapshot is found, look for the box to make a clone. 
    
  •      # If that is not found, setup the box to be cloned. 
    
  •      # Create the clone based on whatever snapshot was found
    

@tjheeta tjheeta changed the title Lxc snapshot Btrfs snapshot/clone May 30, 2014
@fgrehm
Copy link
Owner

fgrehm commented Jun 4, 2014

Thanks a lot! The functionality looks good to me!

I just need some time to properly test it and write some automated tests before merging it in, I'm planning to do some FOSS work this weekend and I'll let you know if I run into any issue.

@fgrehm
Copy link
Owner

fgrehm commented Sep 23, 2014

Sorry this PR has been open for so long. Unfortunately this is a feature that I won't be using on a daily basis and I'm not sure I'll have enough cycles to support it

I'm cutting a 1.0.0 final release today and unfortunately this is not coming in now. Some cloning / snapshoting functionality is likely to be in place for a future release though and I'll definitely look into this PR for ideas and inspiration, please do not delete that branch if possible :-)

@globin globin added this to the post-1.2.0 milestone Sep 8, 2015
@fgrehm fgrehm added the ignored label Nov 17, 2022
@fgrehm
Copy link
Owner

fgrehm commented Nov 17, 2022

Hey, sorry for the silence here but this project is looking for maintainers 😅

As per #499, I've added the ignored label and will close this issue. Thanks for the interest in the project and LMK if you want to step up and take ownership of this project on that other issue 👋

@fgrehm fgrehm closed this Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants