VSBackup

for Visual Studio 2022,2017 & 2019

BACK



Latest Version for Visual Studio 2019 & 2017
4.2.979
Latest Version for Visual Studio 2022
8.0.1201

VSBackup - (Visual Studio Backup) is a Visual Studio extension for backing up and restoring a solution without having to leave Visual Studio. VSBackup is a very useful extension if you are not using any version control or if you are in the prototyping stage. This is not a substitute for source control. Take care of your code files. Only full backups are performed.

In case you are encountering a problem or need to discuss something then you are welcome to contact us by email: support@lonestarsoftworx.com. Alternatively, you can create an issue item here.

All new development for VSBackup will continue in the Visual Studio 2022 version.

***** Looking for Beta Testers *****

We are always looking for beta testers. If you would like to be considered, please send an e-mail to beta.testing@lonestarsoftworx.com. You will receive an Amazon gift card and if you have not purchased the software, you will also get a free license.

Licensing

The license for VSBackup is perpetual which means that the license will never expire and will work for subsequent versions. Includes support that never expires.

The license is per developer and one machine. Multiple machines require multiple licenses.

License cost for VSBackup is as follows:

Visual Studio 2017/2019

Individual License
$25
Registration on a device (for private or commercial use)
Site License
$450
Suitable for a single location of a company, or for companies with only one location
Company License
$750
Suitable for larger companies and organizations

Visual Studio 2022

Individual License
$50
Registration on a device (for private or commercial use)
Site License
$750
Suitable for a single location of a company, or for companies with only one location
Company License
$1,500
Suitable for larger companies and organizations

Please contact sales@lonestarsoftworx for additional information regarding licensing.

Prerequisites

There are no prerequisites.

Known Issues

There are no known issues at this time.

Operation

Backup

To start a backup, either load an existing solution or create one. You will find the commands for VSBackup located in Tools --> VSBackup. Only full backups are performed.

Tools Menu - VSBackup Menu

There are two ways to start the backup process. The first way is to right-click on the solution and then click the VS Backup – Start Backup menu item on the context menu.

VSBackup - Solutions Context Menu - Start Backup

The other way is to click the Start Backup menu command located in the VSBackup menu on the Tools menu. If this is the first backup for the solution, the settings form will be displayed. Either change the location of the backup or accept the default backup location. See the Settings section for instructions. Click the OK button.

Tools Menu - VSBackup Menu - Start Backup

Once the backup process has completed, either success or failure, a message box will be displayed.

If you have selected the Backup Report option in Settings, the report will be diplayed in the output window.

Tools Menu - VSBackup Menu - Start Backup

Viewing Backups

To view a list of backups for the solution, click View -> Other Windows –VSBackups – Backups

VSBackup - View - Other Windows - VSBackup - Backups

A window with the backups associated with the solution will appear.

VSBackup - View - Other Windows - VSBackup - Backups - Backup List

Each backup will have an image next to image denoting the type of backup.

Entries that have this image, will show that the backup was zipped. This image show that the folder was backed up without compression.

You can now sort the backup entries by either the name or by the Backup Date/Time. Click the column you want to sort by and it will sort by ascending or descending order.

To exclude items from the backup process, right-click on any document and select VSBackup - Exclude.

VSBackup - Exclude Item

To include the item in the backup process, right-click on any document and select VSBackup - Include.

VSBackup - Ixclude Item

This feature is not available yet for directories. It will be added in a future release.

Restore

To restore a backup, select the backup from the Backups tool window.

Backups List - Window

Click the button labeled Restore on the Backups tool window, right-click on the selected backup and click Restore, or click the Restore button in the VSBackup menu.

Tools Menu - VSBackup Menu - Restore

When the dialog box appears, select the location where you want to restore the solution to. To make a new location, click the Make New Folder button. Click the OK button.

Restore Location

Once the restore process has completed, either success or failure, a message box will be displayed

Backup Note

You can add a note or edit an existing note to a backup.

Right-Click on the backup you want to enter a note for. Click the Edit Note menu item.

Tools Menu -VSBackup Menu - Edit Note

Enter the text of the note. To save the note, click the Save button. To cancel the save, click the Cancel button.

Tools Menu -VSBackup Menu - Backup Note

The VSBackup Settings - Exclusions Refresh List Button icon will appear next to the backup.

Tools Menu -VSBackup Menu - Note Added

To delete the note, click the Delete Note button.

Tools Menu -VSBackup Menu - Settings

Backup Tag

To add a tag, select the backup and then right-click. Click Add Tag.

View Menu - Other Windows - Backups - Add Tag

This form will be displayed. Enter tag(s) and then end with a semi-colon. Click the Save button to save the tags. To close the form, click the Close button.

View Menu - Other Windows - Backups - Tag Form

To view the tags associated with a backup, the backup will have the [icon] next to it, right-click on the selected backup and click on Add Tag.

To search for backup with a tag or tags, enter the tag(s) in the Search By Tag(s) textbox. Separate each with a comma. Click the Search button to initiate the search.

View Menu - Other Windows - Backups - Search Tags

Backups meeting the criteria will then be listed.

View Menu - Other Windows - Backups - Backups Matching List

To combine the date ranges with the tag search, select the proper operator from the drop-down and then clicking the Search button.

View Menu - Other Windows - Backups - Combine Search

To clear the tag search textbox, click the Clear Filter button.

View Menu - Other Windows - Backups - Clear Tag Filter

Backup Report

Backups that have a report, will have the View Menu - Other Windows - Backups - Backup Report next to it. To view the report, right-click on the selected backup, and then click on View Report.

View Menu - Other Windows - Backups - View Report

The backup report will then open in Notepad.

View Menu - Other Windows - Backups - View Report Notepad

Settings

To change the settings for the backup and restore, click the Settings menu command located in the VSBackup menu.

Tools Menu -VSBackup Menu - Settings

The following form will be displayed.

Backup Settings

Location

VSBackup Settings - Backup Settings

To select a location for the backup, select one of three options:

Compression

To Zip (compress) the backup, enable the Zip Backup option.

VSBackup Settings - Zip Options

To password protect the Zip file, enable the Password Protect Zip File? option. Password must be at least 8 characters in length. To view what you have typed, click the button. To hide what you typed, click the button.

To only back up the solution directory if the folder size is greater than a certain amount, click the Only Zip backup if the solution is greater than option and enter an amount.

To save the settings, click the OK button. To discard any changes or just to exit the form, click the Cancel button.

A form will appear listing the selected and entered options. You can turn this form off and on by going to Tools  Options  VSBackup General Settings and checking or un-checking the Show Backup Summary Options.

Naming

There are three options for naming the backup:

VSBackup Settings - Zip Options

Backup Limit

There are three options when limiting the number of backups:

VSBackup Settings - Backup Limit Options

Exclusions

To exclude items from tha backup process, select Exclusions.

If the Project directory name is changed where the excluded item(s) are located, you must change the path in the data file or it will cause the backup process not to exclude the item(s). The data file can be found here: %AppData%\Roaming\LonestarSoftworx\VSBackup

VSBackup Settings - Backup Limit Options

To expand the view of the list, grab the bottom of the list and pull down.

VSBackup Settings - Exclusion Collapsed View

VSBackup Settings - Exclusion Expanded View

To exclude a file, un-check it. Un-checking a folder will exclude all of those files and subdirectories in that folder.

VSBackup Settings - Exclusions UnCheck Items

To include it back into the backup process, check it.

To filter the list, type your search text into the filter text box.

VSBackup Settings - Exclusions Filter Text Box

To execute the search, click the VSBackup Settings - Exclusions Execute Filter Button button.

VSBackup Settings - Exclusions Execute Filter

To clear the filter and start a new search, click the VSBackup Settings - Exclusions Clear Filter Button button.

VSBackup Settings - Exclusions Clear Filter

To collapse all the list, click the VSBackup Settings - Exclusions Collapse All Nodes Button button.

VSBackup Settings - Exclusions Collapse All Nodes

Click the button to expand all of the nodes.

VSBackup Settings - Exclusions Expand All Nodes

To reset all un-chedked items, click the VSBackup Settings - Exclusions Reset Button button.

VSBackup Settings - Exclusions Reset - Before

VSBackup Settings - Exclusions Reset - After

To refresh the list, click the VSBackup Settings - Exclusions Refresh List Button button

VSBackup Settings - Exclusions Refresh List

To display more of the Exclusions list, you can "PopOut" the list by clicking the VSBackup Settings - Exclusions Pop-Out Button button. The buttons on this form will work the same way as the buttons do on the collapsed exclusions list.

VSBackup Settings - Exclusions Pop-Out

VSBackup Settings - Exclusions Popped Out

To "Pop-In" the exclusions list, click the VSBackup Settings - Exclusions Pop-In button.

Backup Report

To create a backup report, select the Create Backup Report checkbox.

Choose the Info option for basic backup operation information.This is the default. For more detailed backup process information, choose Verbose.

To save the Backup Report for later viewing, click the Save Backup Report checkbox.

VSBackup Settings - Backup Report

Restore Settings

To change the restore settings, click the tab labeled Restore.

Location

VSBackup Settings  - Restore Location

There are three options for setting up the restore location for the backup:

  • Use Default Location                                                The restore will always be stored at this location.

  • Prompt for location on each backup               Displays a prompt for the location of the restore.

  • Use this location                                                           Allows you to either type in a location, select a location by clicking the folder button, Backups Location Select Location or selecting a previously saved restore location by clicking the drop-down arrow.

Options

To access the options for VSBackup, you can click Tools  Options and scroll down to VSBackup or you can select the click the Options menu item on the VSBackup menu.

Tools Menu - Options - VSBackup - Backup Events

Backup Events

Tools Menu - Options - VSBackup - Backup Events

You can now back up your solution when an event fires in Visual Studio. Select either True or False from the drop down for each option and then click the OK button to save your changes.

Data File Backup

To back up the data file, go to ToolsOptionsVSBackup and select the Data File Backup.

Tools Menu - Options - VSBackup - Data File Backup Options

To keep to only a of certain of backups, change the Backups to Keep value by clicking the down or up arrow button.

To change when the data file will be backed up, select an option from the Backup Frequency drop-down. The Daily, Weekly, or Monthly options can only be chosen if a manual backup has been performed first. These backups will occur when the solution closes.


To restore a data file backup, select the backup you want to restore from the list.

Then click the Restore button. You must close then open a solution to reload the backups for that solution.

General Settings

Tools Menu - Options - VSBackup - General Settings

To turn on or to turn off the backup settings summary form, check or un-check the Show Backup Options Summary checkbox.

To initiate automatic backups at a specified interval which are in minutes, select the value from the drop down labeled Automatic Backup Interval. Selecting 0 will turn off the automatic backups.

Leaving Feedback

To leave a suggestion or feedback on how we can improve VSBackup or to rate VSBackup, click the Leave Feedback menu item.

Tools Menu - VSBackup Menu - Leave Feedback

Reporting Issues

To report an issue, click the Report a Problem a Problem menu command. The Report a Problem form will also be displayed if any catastrophic issue arises.

Tools Menu - VSBackup Menu - Report a Problem

Release Notes

8.0.1201.2023 – 04/02/2023
NEWExclusion of files and folders in the backup process.
NEWLimit the number of backups to keep.
NEW Display an icon next to a backup that has a note.
NEW Links for social media sites.

7.0.1054.2022 – 12/03/2022
NEWExclusion of files and folders in the backup process.
NEWLimit the number of backups to keep.
IMPROVEDRobosharp, a .NET wrapper for Robocopy is now used for backup operations.
NEW Display an icon next to a backup that has a note.
NEW Links for social media sites.

6.7.1005.2022 – 03/27/2022
FIXEDInstallation targets were not correct.
FIXEDModified the link for the VSBackup web page.

6.6.1004.2022 – 03/21/2022
FIXEDProblem Report and Feedback submission was not working.

6.5.1003.2022 – 03/21/2022
FIXEDThe purchase link was incorrect.

6.4.1002.2022 – 02/08/2022
FIXEDProblem Report and Feedback submission not working.
FIXEDPurchase link was pointing to the wrong web site.

6.3.999.2022 – 01/24/2022
FIXEDThe Restore location options were not being set correctly.
FIXEDThe Restore process was not working correctly.

6.2.996.2022 – 01/20/2022
FIXEDThe backup location options were not being set correctly.

6.1.995.2022 – 01/18/2022
FIXEDAn error message was displayed when clicking the Report a Problem menu item.

6.0.994.2021 – 01/17/2022
NEWA note can be added to a backup.
NEWBackups list can be filtered by a date range.
NEWThe Options item on the VSBackup menu can take the user directly to the Options page for VSBackup.
NEWThe Help item on the VSBackup menu can take the user to the documentation web page for VSBackup.
IMPROVEDThe backup operation is enclosed in a thread.
NEWAdditional Backup options.
NEWAdditional Restore options.
IMPROVEDRedesigned the Settings form.

5.1.980.2021 – 11/23/2021
FIXEDThe Install Targets were incorrect in the VSIX manifest file..

5.0.979.2021 – 11/20/2021
IMPROVEDConverted to Visual Studio 2022.
FIXEDMinor bug fixes.
SUNSETData File Conversion.

4.2.979.2021 – 11/07/2021
IMPROVEDConverted to Visual Studio 2022.

4.1.974.2021 – 11/01/2021
FIXEDMinor bug fixes.

4.0.944.2021 – 09/13/2021
NEWA context-menu with Hard, Soft, and Restore commands is displayed when a backup item is right-clicked.
NEWWhen the Backups area is right-clicked, a context-menu will display with the Refresh command.
IMPROVEDMenu items are grouped and re-arranged.
NEWBackups can be performed when certain events in Visual Studio are fired.
NEWButtons for Hard Delete, Soft Delete, Restore, and Refresh operations are on the Backups Toolwindow.

3.1.550.2021 – 06/30/2021
FIXEDGoing to Tools --> Options --> VSBackup causes Visual Studio to crash.
FIXEDThe backup location is not saved.
FIXEDThe License Key activation fails.

3.0.340.2021 – 05/10/2021
NEWFeedback, a suggeston, or a rating the extension can be given.
IMPROVEDThe VSBackup menu on the Tools menu.

2.2.352.2021 – 04/03/2021
FIXEDThe name of the backup is the solution directory name instead of the solution name.

2.1.342.2021 – 04/01/2021
IMPROVEDVarious UI modifications.

2.0.340.2021 – 03/26/2021
IMPROVEDVarious UI enchantments and modifications.
NEWIf a backup is selected to be restored and if it does not exist, there is an option to remove it from the backup list.
NEWThe ability to Zip (compress) a solution. A password for the Zip file can be set. Also, an option to Zip the solution when it is greater than a specified amount has been added.
NEWSorting can now be performed on the Backup Date/Time and Name columns in the Backups list.
NEWAn icon will appear next to the backup denoting the type of backup, directory or Zip.
NEWThere is 30-day trial period of the extension. When the trial period ends, backups can no longer be performed.
NEWData file format change.

1.5.102.2021 – 01/21/2021
FIXEDWhen the extension failed to load in Visual Studio 2017 due to an assembly reference issue.

1.4.101.2021 – 01/12/2021
FIXEDWhen opening a solution in Visual Studio 2019 using the Open Recents dialog, the Visual Studio events would not fire causing the backup settings and backups not to load. Nor could a backup profile be created.

1.3.100.2021 – 01/06/2021
NEWLogging.

1.2.99.2021 – 01/06/2021
IMPROVEDUpgraded for Visual Studio 2019

1.1.93.2021 – 01/01/2021
FIXED>When submitting a Problem Report, leaving a required field empty and then filling it in would result in a loop when re-submitting the Problem Report.

1.0.87.2020 – 12/24/2021
Initial Release