Backing up modified files

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
robe070
Posts: 176
Joined: Wed Feb 06, 2008 7:42 pm

Backing up modified files

Post by robe070 » Mon Jan 12, 2009 8:59 pm

Hi,

I was wondering if there was a way to copy files that are currently modified to a backup directory?

I imagine this would be most useful as a right-click option in the Pending Change Set panel. Whatever files are selected are copied to some specified (remembered) destination, maintaining the directory structure.

regards

Rob Goodridge
regards

Rob Goodridge
LANSA Pty Ltd
Software Made Simple
Vault 5.0.3

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Backing up modified files

Post by lbauer » Tue Jan 13, 2009 8:57 am

I've logged feature request 13914 for this functionality.

Note: If a Get or other operation overwrites a locally modified file, Vault does make a backup and stores it in the .sgvbak folder, which by default is located in the local working folder.
Linda Bauer
SourceGear
Technical Support Manager

robe070
Posts: 176
Joined: Wed Feb 06, 2008 7:42 pm

Re: Backing up modified files

Post by robe070 » Tue Jan 13, 2009 8:04 pm

Thanks, but note the .sgvbak directory is not what I need. This is about backing up my changes to another disk drive so that if the disk drive crashes I have a backup.

The issue I have is that I can't check the changes in as they have not been unit tested yet and the changes are quite large taking 2 weeks or more. Of course I am backing them up, but its tedious and error prone keeping my backup list in sync with the pending change set.
regards

Rob Goodridge
LANSA Pty Ltd
Software Made Simple
Vault 5.0.3

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Backing up modified files

Post by lbauer » Wed Jan 14, 2009 9:21 am

Thanks, but note the .sgvbak directory is not what I need.
Understood. The specific functionality you want is not in Vault at this time. I logged a feature request for the abilitly to backup to another disk location.

Also coming in Vault 5.0 will be a feature called "shelve" which will allow you to store changes in the Vault database without needing to commit them to the production tree.
Linda Bauer
SourceGear
Technical Support Manager

robe070
Posts: 176
Joined: Wed Feb 06, 2008 7:42 pm

Re: Backing up modified files

Post by robe070 » Thu Jan 15, 2009 5:44 pm

I presume that when you Shelve a set of changes the current state of the working directory gets set back as if the changes had not been made - probably back to the baseline or maybe the tip. As I actually need to continue working on the files I don't think that Shelve will meet my need. (I've read the Shelve blog)
regards

Rob Goodridge
LANSA Pty Ltd
Software Made Simple
Vault 5.0.3

shannon

Re: Backing up modified files

Post by shannon » Thu Jan 15, 2009 6:28 pm

Actually, you'll have a choice to undo the changes in your working folder or leave them there when you perform the shelve.

robe070
Posts: 176
Joined: Wed Feb 06, 2008 7:42 pm

Re: Backing up modified files

Post by robe070 » Thu Jan 15, 2009 8:06 pm

In that case Shelve may meet my need. I presume overwriting a Shelve is easy to do?
regards

Rob Goodridge
LANSA Pty Ltd
Software Made Simple
Vault 5.0.3

shannon

Re: Backing up modified files

Post by shannon » Thu Jan 15, 2009 9:41 pm

Absolutely, you'll just give it the same name and we'll ask if you want to replace the old shelveset with the new shelveset.

Post Reply