DELETE Promoted Files on multiple servers

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

Moderator: SourceGear

Post Reply
ejhansen71
Posts: 61
Joined: Thu Nov 13, 2014 10:12 am
Location: Lake in the Hills, IL

DELETE Promoted Files on multiple servers

Post by ejhansen71 » Thu Nov 13, 2014 10:30 am

System: Linux (Red Hat)
Connection via Windows CLC over Samba

Scenario:
In the development area I create a script, add it to the repository and promote it via CLC to PRODServer. Later we decide the script is no longer needed. I select the file in the GUI, right click, select DELETE and check the option to "Delete file from working folder". This removes the file from the development environment.

Problem: The file still exists on PRODServer. The deletion did not cascade to the PRODServer. I want Vault to delete all copies of that script in all servers it promotes to.

For auditing purposes, only the vault user can write to the PRODServer. So those files will remain on the filesystem forever unless vault can delete them. I don't want my great grandchildren to see my sloppy coding 40 years from now - so can you help me out?
Thanks!

Eric

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: DELETE Promoted Files on multiple servers

Post by Beth » Fri Nov 14, 2014 4:59 pm

In order for the delete to happen on the production server, one needs to perform a Get on the production server and use the -performdeletions switch. See the documentation on Get: http://download-us.sourcegear.com/misc/ ... lc.htm#GET.
Beth Kieler
SourceGear Technical Support

Post Reply